After upgrade to 4.4, "instance not properly configured" error for some courses

After upgrade to 4.4, "instance not properly configured" error for some courses

by Patty G -
Number of replies: 3

We recently changed hosts, updated our moodle from 4.1.8 to 4.4. We've updated everything we can and worked out most of the bugs, but are unable to figure out this one.

For a handful of our courses, we are receiving the following error:

error/The instance is not properly configured, invalid path.

1. We duplicated a course to try and see if a new course would work, but when we try and change the title and save, get the above error.

2. When we log in as a teacher/student, and try and view courses, we get the exact same error.

3. For some courses, if we try and view a course, we get the same error.

I am thinking that something was missed in the migration? But if someone could direct me as to what to check, I can poke around.

The host sent us this debug, but we cannot figure out why or what is causing this issue. They seem to think that it is related to the plugin File System, but we are not sure anyone is using that functionality.  Any ideas how we can track down what this could be?

error/The instance is not properly configured, invalid path.
Debug info:
Error code: The instance is not properly configured, invalid path.
$a contents:
Stack trace:
line 653 of /repository/filesystem/lib.php: repository_exception thrown
line 570 of /repository/filesystem/lib.php: call to repository_filesystem->get_rootpath()
line 672 of /lib/filestorage/stored_file.php: call to repository_filesystem->sync_reference()
line 786 of /lib/filestorage/stored_file.php: call to stored_file->sync_external_file()
line 698 of /mod/folder/lib.php: call to stored_file->get_timemodified()
line 746 of /mod/folder/lib.php: call to folder_get_recent_activity()
line 7721 of /lib/moodlelib.php: call to folder_print_recent_activity()
line 213 of /blocks/recent_activity/block_recent_activity.php: call to component_callback()
line 74 of /blocks/recent_activity/block_recent_activity.php: call to block_recent_activity->get_modules_recent_activity()
line 337 of /blocks/moodleblock.class.php: call to block_recent_activity->get_content()
line 231 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 1231 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1289 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 377 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 4237 of /lib/outputrenderers.php: call to block_manager->region_has_content()
line 50 of /theme/boost/layout/drawers.php: call to core_renderer->blocks()
line 1483 of /lib/outputrenderers.php: call to include()
line 1408 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 307 of /course/view.php: call to core_renderer->header()
Average of ratings: -
In reply to Patty G

Re: After upgrade to 4.4, "instance not properly configured" error for some courses

by Patty G -
let me check that out - our new host may have missed it in the migration/updates

I appreciate the guidance - fingers crossed
In reply to Patty G

Re: After upgrade to 4.4, "instance not properly configured" error for some courses

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Specifically check that the repository subfolder in Moodledata was copied from the old host to the new one.

Average of ratings: Useful (2)