I’m wondering if anyone else is experiencing problems with their Virtualbox installation of ERPNext? Everything has been working fine for months. Just this morning, I couldn’t log in. I checked our server, and it was running. I tried resetting Virtualbox, and ERPNext started working again. But it only worked for a few minutes and then stopped again. This cycle repeats. I can’t think of what might have changed other than the calendar year! Nothing has changed on our server (that I’m aware of). The server is working fine, it’s just ERPNext.
I’m just throwing this out there hoping someone else is experiencing the same thing (well not really “hoping”, I don’t wish troubles on anyone!), and that they know why it would be doing it. I’m not even really sure what to check for. There’s not much of a cookie crumb trail - it just stops working and resetting it temporarily fixes it.
The OS is fine. I can log into bench and things are responsive. Just the web interface to ERPNext goes down. Doesn’t matter if I’m connecting from the local machine or from a different machine, the result is the same - ERPNext doesn’t respond.
I did try bench update (I was a couple minor releases back). It didn’t immediately resolve anything - locked up again soon after. But strangely the problem seems to have resolved itself. It’s been up for a couple hours now. I’m curious if ERPNext has any external dependencies that it must be able to connect to? I did see once a URL that it showed in the browser status area that it was trying to connect to which had nothing to do with ERPNext (sorry, I don’t have more details as I didn’t catch it quick enough at the moment - it had “Google” somewhere in it).
ERPNext does have external dependencies and depending on your host OS , things like node , yarn , python libraries etc can fall out of sync. Keeping you OS upgraded or upgrading the dependency binaries could be helpful, though in this case it is difficult to tell what happened.
I had issues before where ERPNext backup cron went a bit crazy and creates infinite backup. I think it was because my server time was out of sync with the data (I imported data from other instance back then for testing).
Also make sure the redis servers are running fine, I had issues also where when I suspend the VM, it went back up but redis process became a zombie. Bench start tried to restart the redis server but it couldn’t as the PIDs were being used.