@MJ https://docs.nodebb.org/configuring/scaling/#use-a-proxy-server-to-serve-static-assets
You can post your config if its easier
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 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.