Enrolment with external database - error when syncing users 3.7.3

Enrolment with external database - error when syncing users 3.7.3

by Raymond Stevenson -
Number of replies: 0

Hi,

I’m running Moodle 3.7.3 and syncing to an external SQL database for user enrolment.

When I try to run :
php /var/www/moodle/enrol/database/cli/sync.php –v

I get the following error for all 1500+ users:
error: skipping unknown user username 'username_is_here' in course '7'

Is there a way in for me to overwrite the existing users or even delete all current users and re-import from the external database?

It was working on 2.8.3 but does not seem to work in 3.7.3.

Any advice welcome.

Average of ratings: -