mod_imscp
Exception - DirectoryIterator::__construct(/srv/moodle2_beta_data/159/moddata/resource/19746): failed to open dir: No such file or directory
More information about this error
Stack trace:
* line 130 of /mod/imscp/db/upgradelib.php: UnexpectedValueException thrown
* line 130 of /mod/imscp/db/upgradelib.php: call to DirectoryIterator->__construct()
* line 89 of /mod/imscp/db/upgradelib.php: call to imsc_migrate_get_old_files()
* line 50 of /mod/imscp/db/install.php: call to imscp_20_migrate()
* line 461 of /lib/upgradelib.php: call to xmldb_imscp_install_recovery()
* line 294 of /lib/upgradelib.php: call to upgrade_plugins_modules()
* line 1270 of /lib/upgradelib.php: call to upgrade_plugins()
* line 260 of /admin/index.php: call to upgrade_noncore()
The path /srv/moodle2_beta_data/159/ exists but not always moddata/ underneath it, and I have had this error for a lot of courses, at least 50 so far, and sometimes repeatedly for the same course (so resource/11111, resource/22222 etc).
The whole /srv/moodle2_beta_data folder is chown'd to www-data with 777 permissions.
I can hit F5 and it moves on to the next error, but I'm not sure how many there will be! ;)
Have upgraded the codebase to Preview 3 with almost the same error (although the stack trace is a little different so obviously some work's gone on there). It may be worth adding to the Tracker? (Although I am wary of adding thing unnecessarily.)
Exception - DirectoryIterator::__construct(/srv/moodle2_beta_data/36/moddata/resource/27212): failed to open dir: No such file or directory
* line 130 of /mod/imscp/db/upgradelib.php: UnexpectedValueException thrown
* line 130 of /mod/imscp/db/upgradelib.php: call to DirectoryIterator->__construct()
* line 89 of /mod/imscp/db/upgradelib.php: call to imsc_migrate_get_old_files()
* line 42 of /mod/imscp/db/install.php: call to imscp_20_migrate()
* line 489 of /lib/upgradelib.php: call to xmldb_imscp_install()
* line 294 of /lib/upgradelib.php: call to upgrade_plugins_modules()
* line 1275 of /lib/upgradelib.php: call to upgrade_plugins()
* line 260 of /admin/index.php: call to upgrade_noncore()