I'm running into a problem. We are running Moodle 3.9.4+ (Build: 20210226)
Server resources look fine. When I try to backup or restore a course, I'm getting a 502 bad gateway error.
I should also mention that our upgrade to 3.10 has not gone well. It has failed multiple times and I've restored to backups. By failed, I mean that it seems to not complete. One day it seemed that it was just going ridiculously slowly. I noticed in the documentation that this was possible. After 12 hours the students revolted and I restored back to 3.9.
I've tried to work with the hosting company, but they say that I should roll back to 3.9.3. We've been having sporadic 502 errors for months...but those were just occasional. This is almost steady. I was able to get in and make a backup of one class the other night without the error, so I know it isn't 100% of the time.
Error log shows:
2021-03-02 06:34:30 UTC [nginx][error] 95471#0: *475429 openat() "/home/whatever/www/mysite.com/public_html/.well-known/dnt-policy.txt" failed (2: No such file or directory), client: 126.96.36.199, server: mysite.com, request: "GET /.well-known/dnt-policy.txt HTTP/1.1", host: "mysite.com"
Not seeing any other errors on the site. I've removed almost all of the plugins, but still have Edwiser to connect us to WordPress and one Atto plugin...that I know I'm probably going to need to remove, but I've been holding off because it is customized for my users. I can provide more details if needed.
PHP is 7.3.27 and the server meets all of the requirements. Looking at our stats, we haven't maxed out anything.
I'm not sure where to begin troubleshooting this. The hosting company says this is a software error and won't help. I thought 502 was always server??? And since it comes and goes (although right now it seems to have come to roost), doesn't that also lend credence to this being a server issue?
I'm taking recommendations for vps hosting companies that don't panic when I say Moodle, by the way.
I'm not a hardware person, but I don't even know where to start at this point.
Thanks in advance for any help.