+++ This bug was initially created as a clone of Bug #47236 +++ Admin and machine connections are cached in ucsschool/importer/utils/ldap_connection.py. When the machine accounts credentials change, uldap tries to reconnect using the old credentials. Invalidate the connection caches when the password files change.
Gunicorn is now restarted when the machine account password changes. Cache refresh inside the running Python instance (to not restart it) is not required, as the process does not perform any critical operation. The import is run within Celery instances. [4.2] 1de022965 Bug #47237: restart Gunicorn when machine account password changes [4.2] 5189484c9 Bug #47237: advisory ucs-school-import (15.0.3-59)
Changelog: OK Advisory: OK Gunicorn restarts after machine password change: REOP The script /usr/lib/univention-server/server_password_change.d/gunicorn_ucs-school-import does not get executed since it misses the executable bit. After chmod +x /usr/lib/univention-server/server_password_change.d/gunicorn_ucs-school-import it works as intended
[4.2] 8e35cf945 Bug #47237: add missing executable flag to machine account change script [4.2] 418c8ba9c Bug #47237: advisory update
Changelog: OK Advisory: OK Gunicorn restarts after machine password change: OK
UCS@school 4.2 v10 has been released. https://docs.software-univention.de/changelog-ucsschool-4.2v10-de.html If this error occurs again, please clone this bug.