by Doug Smith.
I do have moodledata/temp/backup with 777 file/folder permissions.
Here is the error again with debugging messages. "not zip archive". You can also see that moodle took the backup.mzb file and put it in the temporary backup folder. I'm also attaching a screenshot from my server showing that the backup folder is there along with a temp file. Perhaps the .mbz file is somehow corrupt.
Not a zip archive.: /home/dryfly/moodledata/temp/backup/184de46e7d20cc34fbbe79500f8a7130
- line 133 of /lib/filestorage/zip_archive.php: call to debugging()
- line 281 of /lib/filestorage/zip_packer.php: call to zip_archive->open()
- line 106 of /lib/filestorage/mbz_packer.php: call to zip_packer->extract_to_pathname()
- line 325 of /backup/util/ui/restore_ui_stage.class.php: call to mbz_packer->extract_to_pathname()
- line 297 of /backup/util/ui/restore_ui_stage.class.php: call to restore_ui_stage_confirm->extract_file_to_dir()
- line 108 of /backup/restore.php: call to restore_ui_stage_confirm->process()
1. Confirm / ► 2. Destination / ► 3. Settings / ► 4. Schema / ► 5. Review / ► 6. Process / ► 7. Complete
Error code: tmp_backup_directory_not_found
$a contents: [tempdir]/backup/d4f7c9ebb503388116bc58cc4430271a
$a contents: [tempdir]/backup/d4f7c9ebb503388116bc58cc4430271a
Stack trace:
- line 140 of /backup/util/helper/convert_helper.class.php: convert_helper_exception thrown
- line 316 of /backup/util/helper/backup_general_helper.class.php: call to convert_helper::detect_moodle2_format()
- line 369 of /backup/util/ui/restore_ui_stage.class.php: call to backup_general_helper::detect_backup_format()
- line 153 of /backup/restore.php: call to restore_ui_stage_confirm->display()