Installed NodeBB but cookies issue and DB questions
-
Hi,
I have installed NodeBB but I think, I made some mistakes during the setup process... How can I reinstall without doing the entire procedure cause ./nodebb setup doesn't work anymore and do not prompt the steps to configure?
In fact, as link, I put the domain URL in addition of the port 4567 so I presume, I made a mistake because my website is only reachable by using this port lol...
Additionnaly, for the DB, I write "redis" but I don't know if I have to use a specific DB I made or redis as noted on some procedures?Can someone give me a example of its website to replicate and tell me how do I setup again?
Anyway, I don't know if I can modify what I did and I don't know which command to use to give more details about my config.jsonThis is the URl to my website: http://www.just4game.fr:4567
This is the error I get when I browse or try to log in:Thanks for your help guys cause I'm totally blocked...
-
If you delete the
config.json
file, you can then use./nodebb setup
again.You do need to setup a database you made first, and if this is your first time setting up NodeBB, I would definitely recommend Mongo over Redis.
The url is going to be just your domain
http://www.just4game.fr
, and you will need to setup nginx as a reverse proxy to forward requests fromhttp://www.just4game.fr
to your internal port 4567. This is detailed in the docs here https://nodebb.readthedocs.io/en/latest/configuring/proxies/nginx.html -
Hi, I use Litespeed actually for my other domains and they are on the same server so can I delete the config.json file in this case?
Do I have to use Ngynx in addition of Litespeed?
I already have a database but where do I have to specify it during the setup?
How do I delete the config.json file?My apologies but it becomes hard to follow... I followed a tuto on Youtube by entering some commands via SSH but this becomes hard to do so if someone can paste an exemple, it will be great and it will help.
Otherwise, I have no choose to go elsewhere because NodeBB is hard to configure... My apologies guys but NodeBB is hard to install for newbie like me...
-
-
Ok
-
What about my above questions? I use Litespeed... Take the time to read the entire post before posting a stupid link to the doc I already read.
I give up... I will install Discourse instead of NodeBB.Thanks to Yari for trying to help me.
-
@guts I meant no offense, I was just quickly providing a resource in the case that you hadn't looked at it before. Also, the docs that @yariplus linked are the outdated ones, whereas the ones I linked are more up-to-date.
Hi, I use Litespeed actually for my other domains and they are on the same server so can I delete the config.json file in this case?
I don't know anything about lightspeed, but I can tell you that config.json is completely separate from the reverse proxy you decide to use. config.json is generated by
./nodebb setup
and is located in the nodebb directory.Do I have to use Ngynx in addition of Litespeed?
Probably not, but you'll have to look up how to do the same things that nginx does when using our example config files and apply that to Lightspeed.
I already have a database but where do I have to specify it during the setup?
If you run
./nodebb setup
after deleting config.json, it will ask you for settings for your database.How do I delete the config.json file?
rm /path/to/nodebb/config.json
My apologies but it becomes hard to follow... I followed a tuto on Youtube by entering some commands via SSH but this becomes hard to do so if someone can paste an exemple, it will be great and it will help.
An example for what? Unfortunately it's difficult to reduce installation into quick examples.