Error: Request Entity Too Large
-
@baris said in Error: Request Entity Too Large:
You can test changes to your nginx config by
nginx -t
to make sure there are no errors.nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful
-
@baris said in Error: Request Entity Too Large:
You need to restart mongodb, https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#restart-mongodb, to check for mongodb errors you can look at the file in
/var/log/mongodb/mongod.log
Sir you're my hero
sudo service mongod start
worked for me, the site is backThanks a lot for your quick reply and your help
-
Is it safe to post this information in this file?
I don't think that file contains any sensitive info, but you can double check before posting.
Glad the site is back. If mongodb was down due to lack of memory you might have to upgrade your server or it might happen again.
-
@baris said in Error: Request Entity Too Large:
Is it safe to post this information in this file?
I don't think that file contains any sensitive info, but you can double check before posting.
Glad the site is back. If mongodb was down due to lack of memory you might have to upgrade your server or it might happen again.
I have digitalocean and I did poweroff command so I could take snapshot.
Maybe mongodb shuts down if I use power off, of doesn't it?