Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6619

Re: restore backups fails with setting_by_name_not_found

$
0
0

by Iván Yivoff.  

Regarding the "questionbank" thing:

In the error I see:

applying restore defaults
Unknown setting: questionbank
setting controller status to 400

Later on it says, reading the trace:

Error code: setting_by_name_not_found
$a contents: enrol_migratetomanual !!
!! Stack trace: * line 124 of /backup/util/plan/base_plan.class.php: base_plan_exception thrown
* line 97 of /backup/util/plan/base_task.class.php: call to base_plan->get_setting()
* line 159 of /home/ubuntu/moosh/Moosh/Command/Moodle29/Course/CourseRestore.php: call to base_task->get_setting()
* line 285 of /home/ubuntu/moosh/moosh.php: call to Moosh\Command\Moodle29\Course\CourseRestore->execute()

I see that the setting_by_name_not_found exception is thrown on get_setting(), and that is thrown because "questionbank" setting is not found, hence my thought that that could be involved.


Viewing all articles
Browse latest Browse all 6619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>