External database enrolment ok but not with sync.php

External database enrolment ok but not with sync.php

by Rafael Rodriguez -
Number of replies: 0

Hi there

We started enrolling users by external db and it worked ok. The external db is mssql.

Now we're using sync.php to synchronize enrolments with a db view, containing about 20000 roles.

Sometimes (not always) when I run sync.php, it unenroles all the users from one or two random courses and when I restart the script, everybody is immediately enrolled again...

Don't know what's going on here...

Are 20000 roles too much for sync.php?


Average of ratings: -