Sorry to hear that, it sounds like you will need to restore your forum from backup
What is being denied? When you try to read the file? Did you try
sudo nano /etc/mongod.conf?
@yariplus Thanks, i dont use sudo.
But when try mongo -u your_username -p your_password --authenticationDatabase=admin it says login failed. but I've changed with the username and password that I have. So when try to setup nodebb it says cant connect to database
@pxnji You might find the database is not actually running.
$ sudo service mongod start $ sudo service mongod status
Solve that first and the rest should go well.
I have the same problem
the manual says this
Enable database authorization in the MongoDB configuration file /etc/mongod.conf by appending the following lines:
What exactly is there to do here? the manual does not say
@arranka the manual says exactly what to do:
Enable database authorization in the MongoDB configuration file /etc/mongod.conf
Means "edit the file"
by appending the following lines
Means "add the following lines to the end of the file"
Did you do that?
I did not find the way, I'm using putty
@arranka if you don't know how to edit files from the command line, you're going to have a bad time. Luckily, it's easy to learn with a simple web search.
edit that file you do from putty or from ubuntu?
@arranka putty connects to ubuntu through ssh. If you edit the file through putty, you're editing from ubuntu.
Use vi or nano to edit the file. Nano is probably going to be easier for you.