Setup info:
Moodle 3.3
MSSQL
PHP v7
Windows 2012 server
I upgraded to Moodle 3.3 today. I was so pleased as everything seemed to be working PERFECTLY after the upgrade but I did run into a couple of problems when I was trying to clean up a bunch of test courses.
Problem 1
I cannot delete any courses. When I attempt to do so I get the following error info:
-------------------------------------------------------------------------------------------------------------
error/file_not_writable
Error code: file_not_writable
$a contents: [tempdir]/backup/e0fc0725dd522be47738b34bccec09ba.log
- line 40 of \backup\util\loggers\file_logger.class.php: base_logger_exception thrown
- line 65 of \backup\util\factories\backup_factory.class.php: call to file_logger->__construct()
- line 109 of \backup\controller\backup_controller.class.php: call to backup_factory::get_logger_chain()
- line 119 of \admin\tool\recyclebin\classes\category_bin.php: call to backup_controller->__construct()
- line 185 of \admin\tool\recyclebin\lib.php: call to tool_recyclebin\category_bin->store_item()
- line 4823 of \lib\moodlelib.php: call to tool_recyclebin_pre_course_delete()
- line 67 of \course\delete.php: call to delete_course()
Problem 2
I cannot use restore to import a .mbz file to restore a course. When I do so I get the following error message:
-------------------------------------------------------------------------------------------------------------
error/file_not_writable
Error code: file_not_writable
$a contents: [tempdir]/backup/b97763aae1e647d1b0a672db07e88389.log
- line 40 of \backup\util\loggers\file_logger.class.php: base_logger_exception thrown
- line 65 of \backup\util\factories\backup_factory.class.php: call to file_logger->__construct()
- line 111 of \backup\controller\restore_controller.class.php: call to backup_factory::get_logger_chain()
- line 62 of \backup\restore.php: call to restore_controller->__construct()
It does allow me to create a new course without any problem. If I try to delete the course I just created it will not allow me to delete it and I get the error as listed above for Problem 1.
Prior to the upgrade to v3.3 neither of these problems were present when using Moodle 3.2. I'm guessing I have a file permissions error somewhere? Anyone have any suggestions?