Thanks for the suggestion, it worked!
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
Then I got this:
Should I ignore the warning? Why it says "Killed"?
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
I would try reinstalling MongoDB if possible...
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?