by Gabriel Rigg.
We are encountering a strange situation. We have two sites with some overlapping users. We have backed up course COURSE1 from SITE1, and are trying to restore into SITE2. We are getting the "Trying to restore user XXXXX from backup will cause conflict" error.
- We have confirmed that the accounts are not site admin accounts.
- We have spot checked several users, to ensure their username and emails in SITE2 match the values in users.xml from the backup mbz.
- We have tried not restoring enrolment methods, and enrolling in to the manual enrolment instance in the new course
- We have tried restoring enrolment methods
- We have tried restoring without maintaining roles
Note that we are restoring as a NEW course, not merging into an existing course, or replacing an existing course.
Also note that these users probably do NOT share the exact same Moodle user ID value (the value from {user}.id in the database), but the documentation indicates that it will match on username and email alone.
Is there another reason these users would conflict?