When I try to duplicate (x2) an activity/resource, I get the following error message:
error/cannot_empty_backup_temp_dir
The duplication process does work. When I go back to the course I see the duplicated item.
I've checked folder permissions, and it should be able to delete the temp folder.
The Apache error log contains this:
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: Default exception handler: error/problem_deleting_old_backup_temp_dirs Debug: , referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 151 of \\backup\\util\\helper\\backup_helper.class.php: backup_helper_exception thrown, referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 38 of \\backup\\moodle2\\backup_stepslib.php: call to backup_helper::delete_old_backup_dirs(), referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 34 of \\backup\\util\\plan\\backup_execution_step.class.php: call to create_and_clean_temp_stuff->define_execution(), referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 153 of \\backup\\util\\plan\\base_task.class.php: call to backup_execution_step->execute(), referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 148 of \\backup\\util\\plan\\base_plan.class.php: call to base_task->execute(), referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 105 of \\backup\\util\\plan\\backup_plan.class.php: call to base_plan->execute(), referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 296 of \\backup\\controller\\backup_controller.class.php: call to backup_plan->execute(), referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
[Fri Sep 09 16:20:37 2011] [warn] [client x.x.x.x] mod_fcgid: stderr: * line 65 of \\course\\modduplicate.php: call to backup_controller->execute_plan(), referer: /moodle/course/mod.php?duplicate=102490&sesskey=dGZJhZvhEk&sr=0
|
Replication steps:
- Create a resource
- Click the x2 icon
- error/cannot_empty_backup_temp_dir appears on the screen
if you check /moodledata/temp/backup you'll see that it could not delete the temporary folder
- will be (partly) resolved by
-
MDL-27790 Temporary course remains after restore
-
- Closed
-