Error installation on ubuntu
-
@Ted Try
npm install
in your nodebb folder.EDIT: I've not used a Mongo server before, so my knowledge is pretty limited. You could also try running
./nodebb setup
again and just confirming through all the steps. Then when it gets to the end, it may install any missing depencies.If those don't work, I'd wait for our resident mongo expert to pop in.
-
After a new npm install and ./nodebb setup, i have always the same error.
@a_5mith Thanks, but this morning i have tried an installation with redis and i have the same error, i don't think mongodb is in question.
For information friday, i have tried an installation (with the same environment VM on ESX and ubuntu) and she was ok, but the registration or some forms didn't works.
-
Just to be clear, are you following install instructions found here:
https://docs.nodebb.org/en/latest/installing/os/ubuntu.htmlI use ubuntu servers with those instructions and never have an issue like the one you've described.
-
I see no error on console, i have made a screencast to illustrate
My config.json :
{ "base_url": "http://10.1.148.242", "port": "4567", "secret": "key", "bind_address": "10.1.148.242", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "nodebb", "password": "nodebb", "database": "nodebb" }, "bcrypt_rounds": 12, "upload_path": "/public/uploads", "use_port": false, "relative_path": "" }
-
Is your DB hosted locally?
Looks like there's a connection timing out when you try to access it. -
@nweber said:
Bind address is where you would place the IP of your server (like you already have) when using a domain. This would allow you to set a URL such as http://example.com in base_url.
If you'll start NodeBB and leave it running, I'll see if I can can connect to it and register a profile
-
@Ted said:
If you'll start NodeBB and leave it running, I'll see if I can can connect to it and register a profile
I can't this server is not open on internet, only in local.