Glad to hear it! 😄
Error installation on ubuntu
-
I see you there @a_5mith, any ideas? I haven't ran into this yet.
-
@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.
-
@nweber, I'd listen to him, he fixes most of what I break
-
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.
-
Yes i have used this doc.
I will try a new installation
-
I have made a new installation and it's ok, no more error on startup.
But the application didn't work well, i have the same problems like friday:
- i can't add user
- i can't creat a new post
I can only navigate in menu with the admin user
-
@nweber Any errors if you run nodebb dev and try to create a user or new post?
-
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. -
Yes mongoDb is hosted on the same server.
In dev mode i don't see logs on console and nothing in logs directory.
What mean the "bind_adress" parameter ?
-
@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
-
@nweber Set your bind address to 0.0.0.0. Also, unless you have nginx or apache configured, set use port to true.
You might also want to edit out your secret key from your config.json post above.
-
I have tried to change bind_address and use_port like in your post.
But no change after reloading app.
-
@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.