My ERPNext server was running just fine all day, then suddenly very slow at the end of the day, then ERPNext stopped working altogether. I’m running in production mode on an Ubuntu 14.04 server. I ran some quick diagnostics (netstat, status checks on nginx & supervisor) but everything looked like it was working properly. I got on the forums here and found some previous posts with similar issues, so I first tried running a bench update, and I had issues with that telling me that I had unsaved changes to my version of ERPNext, so I wound up doing bench update --reset instead and that seemed to go through without any errors. After the update completed, I was still unable to connect to ERPNext, and now I only get a page saying:
We will be back soon.
Don’t panic. It’s not you, it’s us.
Most likely, our engineers are updating the code, and it should take a minute for the new code to load into memory.
Try refreshing after a minute or two.
After researching on here, I tried some of the solutions offered in other posts, but nothing has worked for me. I checked to make sure supervisor was running, and it is. I checked nginx, that is also running. I tried restarting both, but that didn’t work either. I then found a post that suggested to reconfigure by running a bench setup production command. When I did that, I was presented with messages saying that I was going to overwrite the existing nginx and supervisor conf files, and I proceeded. Now I don’t see my site folder anymore in the frappe-bench folder, and I still can’t access anything. I really need help to get back up and running in the next few hours if at all possible. Can anyone out there help me out with this?