Moodle 3.1 LDAP Sync Issues

Moodle 3.1 LDAP Sync Issues

by Eric Ward -
Number of replies: 0
Hello!


I have had a few issues since we upgraded to 3.1


1.  When switch from the old LDAP Sync to the scheduled task method, a sync went from a few minutes to well over an hour and consumes all available CPU

1a. Old - /usr/bin/php /var/www/html/moodle/auth/ldap/cli/sync_users.php -d log_errors=1 -d error_reporting=E_ALL -d display_errors=0 -d html_errors=0 -d memory_limit=256M

1. New - /usr/bin/php /var/www/html/moodle/admin/tool/task/cli/schedule_task.php --execute=\\auth_ldap\\task\\sync_task


The above has been on going and not allowed me sync during the day, but we managed for awhile with out.


Today, an Instructor reported they were missing new hires to enroll.

1. I discovered these new users did not sync during sync_task.

2. There is now the following Error -

Updating user preese id 927

PHP Notice:  Undefined property: stdClass::$profile_field_DepartmentName in /var/www/html/moodle/auth/ldap/auth.php on line 1029

PHP Notice:  Undefined property: stdClass::$profile_field_JobTitle in /var/www/html/moodle/auth/ldap/auth.php on line 1029

PHP Notice:  Undefined property: stdClass::$profile_field_WhenCreated in /var/www/html/moodle/auth/ldap/auth.php on line 1029

PHP Notice:  Undefined property: stdClass::$profile_field_YearofHire in /var/www/html/moodle/auth/ldap/auth.php on line 1029


Please! Any advice would be wonderful!


Thanks in advance!
Eric 



 

 

Attachment tap.jpg
Average of ratings: -