Run NodeBB on shared host uberspace


  • Did you setup Redis on your server already? Make sure it's updated to the latest version?


  • Redis is already setup on the server but it is the version 2.6.10...i can't update redis on my own, because i don't have the rights. is there maybe another solution? i'll ask the host if he can update redis. thanks for the help.

  • GNU/Linux Admin

    Hey @mono, your redis version should be fine. NodeBB should work with even Redis 2.4.

    Can you make sure that your redis instance is running?


  • my redis instance is running. my host told me now that i have to adress redis through the socket, didn't know that.

  • GNU/Linux Admin

    Right-o, then instead of putting 127.0.0.1 as the host, just use the socket address.


  • yep. that worked 🙂

  • GNU/Linux Admin

    (clap) enjoy your new NodeBB!


  • Yep. Now it's installed. But still have some issues with the htaccess file.

    I don't really get that. What do I have to write into the htaccess file?

    Right now I have:

    RewriteEngine On
    RewriteRule ^nodebb/(.*) http://localhost:65532/$1 [P]

    And I get this and the links don't work.

    Bildschirmfoto 2013-12-27 um 13.59.21.png


  • @mono Have you been able to solve the last issue? Right now I' trying to install nodebb on uberspace, too. I got it working until I get to the output which is shown in your screenshot. It looks like the nodebb task can find the stylesheet etc:

    25/11 13:45 [19111] - info: NodeBB Ready
    25/11 13:45 [19111] - info: Enabling 'trust proxy'
    25/11 13:45 [19111] - info: NodeBB is now listening on: 0.0.0.0:61111
    25/11 13:45 [19111] - verbose: [hotswap] Router with id `plugins` replaced successfully
    25/11 13:45 [19111] - verbose: [plugins] All plugins reloaded and rerouted
    25/11 13:45 [19111] - verbose: [hotswap] Router with id `auth` replaced successfully
    25/11 13:45 [19111] - verbose: [meta/css] stylesheet.css committed to disk.
    25/11 13:45 [19111] - warn: Route requested but not found: /
    25/11 13:45 [19111] - warn: Route requested but not found: /stylesheet.css?181d247a-2130-4c3e-aae2-d8524b85dbad
    25/11 13:45 [19111] - warn: Route requested but not found: /plugins/nodebb-plugin-markdown/styles/railscasts.css
    25/11 13:45 [19111] - warn: Route requested but not found: /nodebb.min.js?181d247a-2130-4c3e-aae2-d8524b85dbad
    25/11 13:45 [19111] - warn: Route requested but not found: /nodebb.min.js?181d247a-2130-4c3e-aae2-d8524b85dbad
    

    Did you find a solution?

    Thanks
    Chrissss


  • I got it to work... I changed the .htaccess to

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^forum.example.com
    RewriteRule ^(.*)$ http://localhost:61111/$1 [NC,P,L]
    

    and the config.json to

    {
        "url": "http://forum.example.com",
        "port": "61111",
        "secret": "###",
        "database": "redis",
        "redis": {
            "host": "/home/###/.redis/sock",
            "password": "",
            "database": "0"
        }
    }
    

Suggested Topics

| |