We have been wrestling with this problem for a few weeks now
I may have narrowed the problem (hopefully) to H5P
System: Moodle 3.9.5+ on LAMP Ubuntu ApacheMariaDB on Azure RDS PHP 7.4)
I created a simple 2 item course.
- WITHOUT H5P activity ticked/included - the backup works in 3 seconds
- WITH H5P activity ticked/included - the backup fails and result in Internal Server Error after 5mins 30 secs
Apache Logs centre around:
[proxy_fcgi:error] [...] AH01071: Got error 'PHP message: setting controller status to 1000PHP message: saving controller to db', referer: https://moodle-domain-name/backup/backup.php
We have done the usual - increase various timeouts, verify space, ownerships/permissions, raise extra memory, etc. (Other large courses backup no problems - just the one/s with H5P). Also these problematic courses backup fine on their original Moodle 3.5 (vanilla LAMP) and also backup no problem when we use an internal database (instead of external Azure RDS)
Can anyone suggest a route to explore? TIA
Thanks!!