Hello everyone's favorite 'SoS' guy. I hope someday that I can help as much as you do.
I've got an issue you might be able to help with. I already took your suggestion and increased the max_allowed_packet size. In fact I increased it by a factor of 10x. No luck.
I’m running a test Moodle server on a Synology NAS with the following setup.
Apache HTTP Server 2.4
PHP 7.0
Moodle 3.9.7
MariaDB 10
The problem I’m having is that as soon as a Course gets to a particular size, I get a 504 Gateway Time-out – nginx error. I just ran a test with one of my handmade courses. I only ticked the USER DATA box and unchecked everything else. There are NO users. So my questions are:
1. Is there a DB setting on my Apache server or something in my MariaDB that would allow for the process to complete without hanging up with that 504 error?
2. Is there something in the PHP code that would alleviate this issue?
3. Are there things in the Course itself that I could leave out of the backup that would allow me to easily restore everything done by students in case of a crash?
Ideally I’d like to be able to back up a Course, regardless of size. I have plenty of storage.
Any help anyone can provide will be greatly appreciated. Thanks in advance for your help.
Rgds,
Ray