Posts made by Alain Raap

Picture of Particularly helpful Moodlers
Yesterday I tested a backup of another large course, this backup finished correctly. Only the time of the backup went from 1:10 hours (production) to 7:30 hours (Moodle 4.0). Anyone who has had the same experiences with Moodle 4.0 automated backups? Caching (Redis) is enabled on both environments, the difference is RHEL7 / PHP 7.2 (production) and RHEL8 / PHP 7.4 (Moodle 4.0).
Picture of Particularly helpful Moodlers
I found out that the record of the large course in the backup_controllers table is missing. It looks like that this large course gets in conflict with the automated backup cron script that runs the same backup script and in the same time slot. Probably the automated backup cleans up the backup_controllers table at the end?
Picture of Particularly helpful Moodlers

I am testing our automated backup process for Moodle 4.0 on a Redhat 8 environment (Apache 2.4/PHP 7.4/Mariadb 10.3), and our largest course that normally runs 9 hours outside our Moodle cron fails to complete. I'm getting this error now:

== Performing backup... ==
!!! error/backup_controller_dbops_nonexisting !!!

The other courses end normally after the automated course backup has finished. 

Average of ratings: -
Picture of Particularly helpful Moodlers
I found these settings of Redis in my phpinfo page:

redis.session.lock_expire 0 0
redis.session.lock_retries 10 10
redis.session.lock_wait_time 2000 2000
redis.session.locking_enabled 0 0

These are (default) values of the phpredis extension, how should they be configured for Moodle (besides
the settings in config.php of Moodle)?
Average of ratings: Useful (1)