Re: [lmn] openlml - neue Version von lib.php zum Testen
Hallo Frank, da ich das gleiche oder ein ähnliches Problem wie Steffen und Veit habe, habe ich mich jetzt auch an diesen Thread gehängt. Ich habe bei mir die auth.php neu gepatcht und Deine neue lib.php nach Moodle hochgeladen. Gerade habe ich den Cronjob im Debuglevel laufen lassen. Das ist natürlich sehr lang, abe rich schicke es mal komplett: erver Time: Fri, 18 Mar 2016 15:52:49 +0100 Execute scheduled task: openlml enrolment sync ... started 15:52:49. Current memory use 3.2MB. ++ [ENROL OPENLML] sync_enrolments... started 15:52:49 ++ * line 201 of /enrol/openlml/lib.php: call to debugging() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] ldap_get_grouplist... started 15:52:49 ++ * line 482 of /enrol/openlml/lib.php: call to debugging() * line 202 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->ldap_get_grouplist() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] ldap_get_grouplist... ldap_connect 15:52:49 ++ * line 487 of /enrol/openlml/lib.php: call to debugging() * line 202 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->ldap_get_grouplist() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] ldap_get_grouplist... ldap_connected 15:52:49 ++ * line 490 of /enrol/openlml/lib.php: call to debugging() * line 202 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->ldap_get_grouplist() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] ldap_get_grouplist... ldap_close 15:52:49 ++ * line 528 of /enrol/openlml/lib.php: call to debugging() * line 202 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->ldap_get_grouplist() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] ldap_get_grouplist... ldap_closed 15:52:49 ++ * line 531 of /enrol/openlml/lib.php: call to debugging() * line 202 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->ldap_get_grouplist() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] get_cohort_id(teachers)... started 15:52:49 ++ * line 643 of /enrol/openlml/lib.php: call to debugging() * line 205 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->get_cohort_id() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] ldap_get_group_members(teachers)... started 15:52:49 ++ * line 551 of /enrol/openlml/lib.php: call to debugging() * line 206 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->ldap_get_group_members() * line 412 of /enrol/openlml/lib.php: call to enrol_openlml_plugin->sync_enrolments() * line 61 of /enrol/openlml/classes/task/openlml_sync_task.php: call to enrol_openlml_plugin->enrol_openlml_sync() * line 74 of /lib/cronlib.php: call to enrol_openlml\task\openlml_sync_task->execute() * line 81 of /admin/cron.php: call to cron_run() ++ [ENROL OPENLML] ldap_get_groupmembers... ldap_connect 15:52:49 ++ * line 558 of /enrol/openlml/lib.php: call to debugging() * line 206 of /enrol/openlml/lib.php:
Re: [lmn] openlml - neue Version von lib.php zum Testen
HAllo Frank, da war keine Datei dran und die Mail danach enthält nur "code". VIele Grüße Holger ___ linuxmuster-user mailing list linuxmuster-user@lists.linuxmuster.net https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
Re: [lmn] openlml - neue Version von lib.php zum Testen - "lib.php" yEnc
=ybegin line=128 size=50379 name=lib.php fi���4YYJ~���JJ��JJ��Jw�JWJdYY��X���Y4YY4YYJw�J��JJdJ���J���JJ��J���Y��J��4Y YJ��J�J���J�J��J���JqxJq��Jz�Jv��J��J�J��4YYJ���Jp���J}���Jp�VJ��J���J]J��J���J v��VJ��4YYJR��JJ��SJ���J�J���X4YY4YYJw�J��J���J��J���JJJ��JJ��J��V4YYJ���J�s~ry ~Jkx�J�k||kx~�eJ���JJ���J���JJ��4YYJwo|mrkx~klsvs~�J��Jps~xo}}Jpy|JkJzk|~smvk|Jz|zy}oXJJ}��J���4YYJqxJq�� Jz�Jv��J���JJ���X4YY4YYJ���J��JJJ�JJ��J���JqxJq��Jz�Jv��4YYJ�JJw��� ��XJJs�J���VJ���JfdYY���X���X���YYhX44YTT4JTJy���JvwvJ�J��J��X4JT4JTJ~���J��J��� �J�J���J�JJ�Jy���JvwvJ��X4JT4JTJj����4JTJj��J���4JTJj��JpJ}���枞�J� J��JJ��Js�ۋ��Jk��4JTJj�JJ[cccJ���Jw�JnJ�jJdYY��X4JTJj�JJ\Z[ZJs�ۋ��Jk�� Jfj���X�X���h4JTJj�JJ\Z[]JpJ}���枞�Jfj�WX��h4JTJj���dYY ���X���X���YY���XJqxJqzvJ�]J��J�4JTY44���RQwyynvo�sx~o|xkvQSJ��J���RSe44�JJ���J J�4�JN�JgJQ�Qe4�JN���JgJQ�ox|yvJyzoxvwv�JQe4�JN� JgJQ��Qe4�JN��JgJQQe4�JN�gkRSe4� JNe4�JN���e4�JN�e44YTT4JTJ���J�J���_4JTY4��J J���RSJ�4��JNmpqe4RNmpqWh��JXJQY�X���QSe4RNmpqWh ��JXJQY���X���QSe4RNmpqWh��JXJQY�X���QSe4RNmpqWh��JXJQYX ���QSe4RNmpqWh��JXJQY���Y���X���QSe4RNmpqWh���JXJQY�Y���X���QSe4 RNmpqWh���JXJQY��Y���X���QSe4RNmpqWh���JXJQYYYX���QSe4�� ��RNmpqWh���JXJQY��Y���X���QSe44NWh���RSe4YYJw���JJ��J���JJJ ���JJ��X4NWh��WhJgJNWh��RQQVJQ���WbQSe4NWh��Wh�� ���JgJNWh��RQ�QVJQ���QSe44N��JgJRSe4NWh� �Wh��JgJN���NWh��Wh��e4�RN��Se44N���JgJ� ���RSe4YYJ��JJ��J��J���J�XJn���J���JWh��RS4YYJJ��J��JJ��J�J���JZJ���J�� ���J��J���X4���JRN���J��JN���JghJN�SJ�4YYJ�J���JWJZVJ�J���J���J��J���VJ��J�� J���Q�J���JNWh��RSX4��JRK�RNWh��Wh�NSJ��JNWh��Wh�NJggJQQSJ�4 NWh��Wh�NJgJN��NWh��Wh��e4�4�4�44YTT4JTJs�J��JJ��J�� J�JJ���JJsi4JT4JTJj�J��JN4JTJj��J4JTY4��JJ� ��RNSJ�4��JRKRQ���QSSJ�4��Je4�44��J�e4JJ JJ�444YTT4JTJp�J���J��JJ��J���J���JJ�J4JTJJy���JvwvJ��X4JTJs�J�� �J���VJ���J���J���JY���J��J��X4JT4JTJjJnlVmpq4JTJj�J��JNJJ�� 4JTJj��J4JTY4��JJRNSJ�4��JNnlVNmpqe44YYJ��JJ�J�� ��Ji4��JRNWhJKgJQQSJ�4��Je4�44YYJm��J���J��J �X4N���JgJNWh��RNWhSe4N���JgJNWh��RNWh�� ��Se4���JRN���J��JN�JghJN�SJ�4��JRK�RNN��SSJ�4N� ���JgJNWh�RN�Se4�RNVJNWh��Se4��RN��� �Wh���XL�JLXNWh��XLJ��J��JLXNSe4�4�44���JRN���J��JN��SJ�4JJJ J��JRKRN��WhVJN���SSJ�4RN��Wh��VJNWh��Se4JJJ J�RL���JLXNWh��XLJJ��JLXN��Wh��Se4��JRKNnlWh�RQ��QVJ �RQQghN��Wh��SSSJ�4RNSe4��RL���J
Re: [lmn] openlml - neue Version von lib.php zum Testen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo Frank, Am 18.03.2016 um 13:10 schrieb Frank Schütte: > Die aktuelle Version hänge ich an. Testergebnisse bitte wieder hier > anhängen. Es geht immer um die letzten Zeilen, bevor Moodle einen > "Fatal error" meldet und die Beschreibung dieses Fehlers. ich habe gerade nochmal cron.php mit Developer Debuglevel und deiner neuen lib.php laufen lassen. Es lief die Aktualisierung der LDAP User, aber beim Enrolment kommt nur - --- Keine Nutzerkonten zum Hinzufügenfinished. Running enrol crons if required... Running cron for enrol_manual... Verifying manual enrolment expiration... ...manual enrolment updates finished. manual enrolment expiry notifications were already sent today at Freitag, 18. März 2016, 06:21. Running cron for enrol_self... Verifying self-enrolments... ...user self-enrolment updates finished. No expired enrol_self enrolments detected self enrolment expiry notifications were already sent today at Freitag, 18. März 2016, 06:21. Starting activity modules - --- Also keine Fehlermeldung, kein Versuch, enrol_openlml auszuführen. Kann natürlich immer noch daran liegen, dass das nur 1x pro Stunde läuft. Viele Grüße Steffen - -- Wir sind nicht nur nett, wir sind sogar linuxmuster.net Mein System: - - virtualisiert mit Proxmox 3.4 - - linuxmuster.net 6.1 - - IPFire 2.17 Core 97 - - Linbo 2.2.16-0 - - Ubuntu 12.04-Client - - Erweiterungen: Chillispot, Pykota, MRBS und OpenSchulportfolio - - Moodle extern (Belwue) per ldaps angebunden Note: No Microsoft programs were used in the creation or distribution of this message. If you are using a Microsoft program to view this message, be forewarned that I am not responsible for any harm you may encounter as a result. - Diese E-Mail ist mit OpenPGP signiert. Der öffentliche Schlüssel zur Überprüfung der Signatur ist hier hinterlegt: pool.sks-keyservers.net - -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJW6/LCAAoJEBhc6lDKYVtJvW4IALqTWygfDdtrRVdQRk5jtvZq BvMSwg6aUCYffiiy0nwR1yWYtgI9k9cZv3vJOKwlLZY33d4Yw8VJ4soOh+LwLj+7 Q7VsQu89Sd4WH8yr4pxdi81H6I6bliqwj72ZdL2NcuCAZJNGY6PHTDEHFfMVkjY8 84WUJTQdTuFPQLrnKs8XORugVs7+47I74Ku+pWZhw1jQo/YVrAhiaL5JjbWllxKS ihl3iai4VzRzRjlGvm7XCdT9oc4k2UApRvJPU3wjac9CUauZK+CfYGy8i895zsEd HSm0np1hrmVxTc3uUcnm2ZnZp0hICMCGIY9qz1gIT5tK2QEcxYi4Uw6XXpN2ib4= =L4Sr -END PGP SIGNATURE- ___ linuxmuster-user mailing list linuxmuster-user@lists.linuxmuster.net https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
Re: [lmn] openlml - neue Version von lib.php zum Testen
Hallo, > > da ich das gleiche oder ein ähnliches Problem wie Steffen und Veit habe, > habe ich mich jetzt auch an diesen Thread gehängt. > Ich habe bei mir die auth.php neu gepatcht und Deine neue lib.php nach > Moodle hochgeladen. Gerade habe ich den Cronjob im Debuglevel laufen > lassen. Das ist natürlich sehr lang, abe rich schicke es mal komplett: Ich habe aufgrund deiner und der Meldungen von Veit noch einmal eine neue Version erstellt. Bei Steffen bin ich auch der Meinung, dass der openlml-cron noch nicht wieder dran ist, sonst müsste man zumindest eine Startmeldung sehen. Bitte probiert die angehängte lib.php aus. Gruß, Frank ___ linuxmuster-user mailing list linuxmuster-user@lists.linuxmuster.net https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
[lmn] openlml - neue Version von lib.php zum Testen
Hallo, ich versuche mal, die Probleme von Steffen und Veit in einem Thread zusammenzufassen. Es geht um die gleiche Problematik, Unregelmäßigkeiten in der Moodle-Datenbank, die vom Skript nicht abgefangen werden. Die aktuelle Version hänge ich an. Testergebnisse bitte wieder hier anhängen. Es geht immer um die letzten Zeilen, bevor Moodle einen "Fatal error" meldet und die Beschreibung dieses Fehlers. Gruß, Frank <> ___ linuxmuster-user mailing list linuxmuster-user@lists.linuxmuster.net https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
Re: [lmn] openlml - neue Version von lib.php zum Testen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo Veit, Am 19.03.2016 um 09:41 schrieb Veit Botsch: > Hallo Steffen, > > nach einem Fehler beim cronjob des enrolment-jobs wird dieser für > einen ganzen Tag ausgesetzt (Spalte Fehlerverzögerung). Ich > bearbeite dann einmal den enrolment job und gebe als Minuten die > derzeitige Minutenzahl (+1 oder 2) an. Wenn du dann den cronjob > über den Browser startest wird auch der openlml enrolment job > gestartet. das klappt leider nicht. - --- Running auth crons if required... Running cron for auth/ldap... Running enrol crons if required... Starting activity modules - --- Viele Grüße Steffen - -- Wir sind nicht nur nett, wir sind sogar linuxmuster.net Mein System: - - virtualisiert mit Proxmox 3.4 - - linuxmuster.net 6.1 - - IPFire 2.17 Core 97 - - Linbo 2.2.16-0 - - Ubuntu 12.04-Client - - Erweiterungen: Chillispot, Pykota, MRBS und OpenSchulportfolio - - Moodle extern (Belwue) per ldaps angebunden Note: No Microsoft programs were used in the creation or distribution of this message. If you are using a Microsoft program to view this message, be forewarned that I am not responsible for any harm you may encounter as a result. - Diese E-Mail ist mit OpenPGP signiert. Der öffentliche Schlüssel zur Überprüfung der Signatur ist hier hinterlegt: pool.sks-keyservers.net - -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJW7Sc9AAoJEBhc6lDKYVtJ4PoIALeaii/RVcD5ZF5uWQkh44Bb 7OkmtMERsPOD1uV4E9sdm36PVgIcLM6kpaZ6aEyIq7nEqLK3Wq1brm1CEc3PGdFw kVlN+9KtvxoRiNrWNWEhffJs8QqNRb2Z4utSyfzfzHfu5AY1qqtQD26fkIgbZdLI bjSqL+Hh0pzwPiwfhwRRkb8kbWVtyQtL2hM1fWC/K/FuAphiNX9wep3Qixeyd9f1 PKO/d4Me1liEixNSHNYh0ZTVdNVWCJP+2cvt4KPrtvDiOwrOFEFC+Edku5MPY+3D P4t2NWDrPZyT8x5f04rwhGfO+g0Wd7m2fjI3fNgcw4Yw8CRDxMWuhq6zo7GCM/0= =KIaj -END PGP SIGNATURE- ___ linuxmuster-user mailing list linuxmuster-user@lists.linuxmuster.net https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
Re: [lmn] openlml - neue Version von lib.php zum Testen
Hallo Steffen, nach einem Fehler beim cronjob des enrolment-jobs wird dieser für einen ganzen Tag ausgesetzt (Spalte Fehlerverzögerung). Ich bearbeite dann einmal den enrolment job und gebe als Minuten die derzeitige Minutenzahl (+1 oder 2) an. Wenn du dann den cronjob über den Browser startest wird auch der openlml enrolment job gestartet. Gruß Veit PS: mit der neuesten lib.php von Frank läuft jetzt alles bei mir. ___ linuxmuster-user mailing list linuxmuster-user@lists.linuxmuster.net https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user