Specific error when backing up:
For context, I just a jr network administrator that took over moodle. The course I am trying to backup is probably our biggest course, but I don't know the exact size. I feel like the smaller courses have less issues when backing up. The larger ones always fail. Let me know if I need to post any more info.
The issue shouldn't be storage because there is more than enough available. The issue isn't SQL permissions because small courses can be backed up.
- Windows 10
- Moodle version 3.8.2+ build 20200428
- free storage on the VM ~350gb
[Wed Mar 24 16:32:57.084736 2021] [php7:notice] [pid 3268:tid 1156] [client 192.168.128.83:60578] Default exception handler: Can not create local file pool file, please verify permissions in dataroot and available disk space. Debug: \r\nError code: storedfilecannotcreatefile\n* line 392 of \\lib\\filestorage\\file_system_filedir.php: file_exception thrown\n* line 1794 of \\lib\\filestorage\\file_storage.php: call to file_system_filedir->add_file_from_path()\n* line 1323 of \\lib\\filestorage\\file_storage.php: call to file_storage->add_file_to_pool()\n* line 359 of \\backup\\util\\helper\\backup_helper.class.php: call to file_storage->create_file_from_pathname()\n* line 2062 of \\backup\\moodle2\\backup_stepslib.php: call to backup_helper::store_backup_file()\n* line 34 of \\backup\\util\\plan\\backup_execution_step.class.php: call to backup_store_backup_file->define_execution()\n* line 181 of \\backup\\util\\plan\\base_task.class.php: call to backup_execution_step->execute()\n* line 178 of \\backup\\util\\plan\\base_plan.class.php: call to base_task->execute()\n* line 119 of \\backup\\util\\plan\\backup_plan.class.php: call to base_plan->execute()\n* line 375 of \\backup\\controller\\backup_controller.class.php: call to backup_plan->execute()\n* line 136 of \\backup\\util\\ui\\backup_ui.class.php: call to backup_controller->execute_plan()\n* line 175 of \\backup\\backup.php: call to backup_ui->execute()\n, referer: http://192.168.23.17/moodle/backup/backup.php
[Wed Mar 24 16:32:57.100360 2021] [php7:notice] [pid 3268:tid 1156] [client 192.168.128.83:60578] Potential coding error - existing temptables found when disposing database. Must be dropped!, referer: http://192.168.23.17/moodle/backup/backup.php