3.7 to 4.1 Course Restore Users not restoring

3.7 to 4.1 Course Restore Users not restoring

by Rekha C -
Number of replies: 5

To move from 3.7.8 to 4.1.15 , i did a fresh install of 4.1.15 because upgrades were failing.

1) I Backed up a course in 3.7.8 with users and user data. The course restored. 

Enrolled users and user data have not restored to the Restored course.

The new site has no users other than site admin. Must i restore users before course+users restore? How may i successfully restore the courses with data?

2) Also, users restore did not restore time data such as first access.

Average of ratings: -
In reply to Rekha C

Re: 3.7 to 4.1 Course Restore Users not restoring

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

The upgrade failed because you cannot jump from 3.7 to 4.1.  You need to check the release notes which state that you have to be at 3.9 to upgrade to 4.1.    Not sure why the users would not be restoring - is it possible you don't have the same authentication method in the new site - are you sure you selected restore user data?  No errors?

In reply to Emma Richardson

Re: 3.7 to 4.1 Course Restore Users not restoring

by Rekha C -
Hi, i installed a lower version 4.0.12 and Restored a course with user data. OK.
I have done a fresh install of 4.0.12 and shall Restore courses Downloaded from 3.7.8. I shall do fresh Settings, add Plugins, and a Theme to 4.0.12.
Thereafter, i suppose I can upgrade to higher versions of 4 from 4.0.12.
In reply to Rekha C

Re: 3.7 to 4.1 Course Restore Users not restoring

by Rekha C -
I found the reason. Users and user data are not restoring with the theme Adaptable. They are restoring with the Boost theme.
In reply to Rekha C

Re: 3.7 to 4.1 Course Restore Users not restoring

by Rekha C -
User data is not restoring with Boost now. A day before they restored with Boost.
In reply to Rekha C

Re: 3.7 to 4.1 Course Restore Users not restoring

by Ken Task -
Picture of Particularly helpful Moodlers

Sounds like you need to turn on debugging - all the way to developer - and leave it on until reasons for course restore failures are discovered and fixed.

One reason course restores can fail is a missing setting for PHP.

Please see:

https://moodledev.io/general/releases/4.0

Server Requirements .... in particular: 'max_input_vars' setting.

And since you plan to upgrade, please see:

http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases

https://docs.moodle.org/405/en/Upgrading

and something to check before each hop in the march of upgrading ... Site Admin -> Server -> Environment Check.

Update the component then set the drop down pick list for Moodle version to each version higher than what it shows you are running to see what issues you will need to address before going t that version.

'SoS', Ken