Facing some issue while doing Restore the course using CLI comment as below.
php C:\xampp\htdocs\vc2-moodle\admin\cli\restore_backup.php --file=C:\Nilesh\backup\backup3.mbz --categoryid=1 -s
I am using Moodle 4.1.+
If simple course with one quiz or page then it restore successfully. and I can see course as it is. But If course backup having H5P package then it showing me error as
* line 105 of \admin\cli\restore_backup.php: moodle_exception thrown
!!! Exception - error/restore_not_executable_awaiting_required !!!
!!
Error code: generalexceptionmessage !!
!! Stack trace: * line 105 of \admin\cli\restore_backup.php: moodle_exception thrown
!!
And it showing as course as restoration in progress
and some time it restore with all content but H5p Not working, and showing error as
I have checked php.ini file and configurable all setting required
excultion time
max time upload
upload size
Done purge caches number of time after and before running Commends
Run cli CRON before and after running commends
Please suggest what wrong with this.