Totara Learn Open Discussions

Course Backup Error

 
Fabian Eickhoff
Course Backup Error
von Fabian Eickhoff – Monday, 30 September 2024, 1:16 AM
 

Hi,

after Upgrading to T18 i've now 2 course backups that fail cause of:

Exception: setting_by_name_not_found hvp_libraries


I don't have any clue. Maybe someone can point me in the right direction.


Greetings

Schlagworte:
Craig Eves
Re: Course Backup Error
von Craig Eves (Totara Support) – Monday, 30 September 2024, 3:31 PM
Gruppe Totara

Hi Fabian

Your course probably has a H5P activity in it with a content type (interactive video) not supported by Totara.

We have a recent fix TL-40907 to upgrade the H5P activity in Totara 18.9 so upgrading to this version should resolve this.

If you aren't ready for upgrading then backing up without the H5P activity should let you continue with the course (without the problem activity) ad the H5P can be restored when you have upgraded.

regards

Fabian Eickhoff
Re: Course Backup Error
von Fabian Eickhoff – Friday, 4 October 2024, 12:38 AM
 

Hi Craig Eves,

Thank you for your response. Since we're unable to update at the moment, how can I prevent H5P from being included in backups? When I create a manual backup of the course, I can deselect H5P, and the backup completes successfully. However, how can I disable H5P for automatic backups?


Thank you,

Fabian

Craig Eves
Re: Course Backup Error
von Craig Eves (Totara Support) – Sunday, 6 October 2024, 1:11 PM
Gruppe Totara

Hi Fabian

Unfortunately Automated backup settings only have the options of selecting all or no activities and resources.

A possible workaround is when the course backup is set to run hide the courses with H5P courses and select the skip hidden courses option and run the automated course backup and do the manual course backup and unhide the courses.

If this isn't feasible then possibly a site backup can be completed or a code customisation could be done to achieve this.

Regards

Tabitha
Re: Course Backup Error
von Tabitha Parker – Tuesday, 15 October 2024, 6:31 PM
 

We have issues with course backups for courses with H5P. We would really like to see improvements with H5P if this is core Totara.

Craig Eves
Re: Course Backup Error
von Craig Eves (Totara Support) – Tuesday, 15 October 2024, 7:04 PM
Gruppe Totara

H Tabitha

There was an option added 18.0 in the course backup interface to Include H5P libraries - if unticked this will greatly reduce the time for backing up.

If you have an earlier version then commenting out $CFG->mod_hvp_backup_libraries in the config.db file will have the same effect.

regards