-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
None
-
3.7.4
-
MOODLE_37_STABLE
-
4
-
International 4.0 - Sprint 4
On a server running Windows, data export request processing fails where I'm getting the following error:
PHP Warning: ZipArchive::close(): Read error: No such file or directory in C:\inetpub\wwwroot\imaster\lib\filestorage\zip_archive.php on line 224
|
|
Warning: ZipArchive::close(): Read error: No such file or directory in C:\inetpub\wwwroot\imaster\lib\filestorage\zip_archive.php on line 224
|
Export complete
|
... used 316 dbqueries
|
... used 9.078125 seconds
|
Adhoc task failed: tool_dataprivacy\task\process_data_request_task,Cannot read file. Either the file does not exist or there is a permission problem. (C:\inetpub\moodledata\imaster/localcache\6a937499-8769-4f0f-8643-964fb4ce755d\c070a4ea-f59f-4397-b7ff-e3f087f6db51/expor
|
t.zip)
|
Debug info:
|
C:\inetpub\moodledata\imaster/localcache\6a937499-8769-4f0f-8643-964fb4ce755d\c070a4ea-f59f-4397-b7ff-e3f087f6db51/export.zip
|
Backtrace:
|
* line 348 of \lib\filestorage\file_system_filedir.php: call to file_system->validate_hash_and_file_size()
|
* line 1794 of \lib\filestorage\file_storage.php: call to file_system_filedir->add_file_from_path()
|
* line 1323 of \lib\filestorage\file_storage.php: call to file_storage->add_file_to_pool()
|
* line 128 of \admin\tool\dataprivacy\classes\task\process_data_request_task.php: call to file_storage->create_file_from_pathname()
|
* line 331 of \lib\cronlib.php: call to tool_dataprivacy\task\process_data_request_task->execute()
|
* line 198 of \lib\cronlib.php: call to cron_run_inner_adhoc_task()
|
* line 121 of \admin\tool\task\cli\adhoc_task.php: call to cron_run_adhoc_tasks()
|
I've made sure that the "moodledata" folder can be written by everyone but the problem still occurs. So this eliminates the permissions issue.
- Discovered while testing
-
MDL-66245 GDPR data request export not usable when using special characters (invalid file paths)
-
- Closed
-