Because of budget issues, I would like to install nodebb on shared hosting only. I have access to shell. I guess I can install if i have access to shell. Could you please say procedure as I can't find anywhere. Namecheap shared hosting uses cloudlinux OS and gives users to access shell
I am stuck on Step 5 through 7 of Installation using MongoDB
During my installation, I had issues with Step 5, 6, and 7 that are listed here on the manual: https://docs.nodebb.org/en/latest/configuring/databases/mongo.html
- I tried to follow this:
Then I got this:
Should I ignore the warning? Why it says "Killed"?
- I proceed after those warning, then went on Step 7.
That is where I got stuck.
First of all, do I run $ mongo in the current directory, or I have to go to my home directory then run it? I did the latter. Then I went to the other step of :# nano /etc/mongodb.conf then couldn't figure out how to modify the file as they say on the manual.
I got the following screen when I ran : sudo nano /etc/mongodb.conf
Can someone help? Thanks
As @markkus said, it seem that your mongodb installation has not completed normally. I would reinstall mongo too. The file /etc/mongodb.conf should contain text with configuration of the database server. As it is empty it seems not installed properly.
You could try first to setup nodebb without mongodb authentication and then enabling it, editing the mentioned file, and the configuration file of nodebb.
...the installation manual may be outdated. The file in question on Step 7 is mongod.conf instead of mongodb.conf.
Can @psychobunny or whoever in charge of the Doc double check this and make the proper correction?