by Chris Loweth.
Thank you, Ray, however we are not upgrading any Moodle instance. We are migrating courses (by backup and restore process using web interface) from 2.7 to 3.6.
We think we might understand the problem. It might be related to the restore process not matching user data to existing users.
Our 2.7 has user authentication via AD LDAP (usernames are in the format S12345678 and id123456 for students and staff respectively) whereas our 3.6 uses Office 365 (username is email address).
The problem, we believe, is that the 2.7 backups can't create/enrol users because they can't be found on our 3.6 and they can't be created because the users' email addresses are already in use on our 3.6. Ultimately all this might surround usernames.
Question: if we were to change all the users on 2.7 so their username matches their respective email address (as on our 3.6) would this be all that would be required to successfully match users? We're concerned that differences in unique user IDs (internal
Moodle user table) will cause user matching to still fail... Or are we overthinking?
Thank you
From: Ray Hinton (via Moodle.org) <noreply@moodle.org>
Sent: Thursday, January 9, 2020 9:22:55 PM
To: Chris Loweth <Chris.Loweth@bcu.ac.uk>
Subject: Moodle in English: Re: 2.7.20 course restore to 3.6.7 enrolled users and user data missing
Sent: Thursday, January 9, 2020 9:22:55 PM
To: Chris Loweth <Chris.Loweth@bcu.ac.uk>
Subject: Moodle in English: Re: 2.7.20 course restore to 3.6.7 enrolled users and user data missing
Re: 2.7.20 course restore to 3.6.7 enrolled users and user data missing
| |
I hope that you're able to find a cause or solution for this seemingly intricate problem, but just in case it is possibly something this simple: are you trying to go directly from 2.7.x to 3.6.x? My understanding is that "you
can only upgrade to Moodle 3.6 from Moodle 3.1 or later. If upgrading from earlier versions, you must upgrade to 3.1 as a first step." In your case, probably upgrading the old 2.7 site to 3.1, then using that data to migrate to your new 3.6 site. If you're already doing that, then just disregard me.
Given the pattern you are describing, though, I wonder if there was some change in the database structure for course access records, role assignments, etc.
|
You can reply to this via email.
Reading this in an email? Download the mobile app and receive notifications on your mobile device.