Run NodeBB on shared host uberspace
-
I'm trying to install NodeBB on a uberspace. I don't know what I'm doing wrong
All I get is this:
info: NodeBB v0.1.1 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: NodeBB Setup Triggered via Command Line
info: Welcome to NodeBB!
info: This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
info: Press enter to accept the default setting (shown in brackets).
URL of this installation (http://stube.grus.uberspace.de)
Port number of your NodeBB (4567)
Use a port number to access NodeBB? (y)
Please enter a NodeBB secret (5bb8eb18-1e3d-45fb-9727-d30081f425ef))
IP or Hostname to bind to (0.0.0.0)
Which database to use (redis)
Host IP or address of your Redis instance (127.0.0.1)
Host port of your Redis instance (6379)
Password of your Redis database
Which database to use (0..n) (0)
info: Configuration Saved OKinfo: Populating database with default configs, if not already set...
error: undefined
warn: NodeBB Setup Aborted.Does someone know whats going on? I'm new to node...
-
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.
-
@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" } }