Trouble after upgrading to 5.0.4

Hey,

after upgrading to 5.0.4 i cant login in to the web console.
it says in the browser:
Interner Server-Fehler: Der Dienst ist momentan nicht erreichbar!
The Univention Management Console Server could not be reached. Please restart univention-management-console-server or try again later.
After trying to start the web console via ssh (systemctl start univention-portal-server.service
) this is comming up:
Failed to start univention-portal-server.service: Interactive authentication required.
What can i do?

yours sincerly and many thanks for every help

Stefan

What says the log? And what says the selfcheck and joinstatus?

univention-run-diagnostic-checks
univention-check-join-status

Hi,
this is the diagnostic:

Administrator@ucs-dc:~$ sudo univention-run-diagnostic-checks
Traceback (most recent call last):
File “/usr/bin/univention-run-diagnostic-checks”, line 168, in
sys.exit(CLIClient.main())
File “/usr/bin/univention-run-diagnostic-checks”, line 74, in main
client = Client(None, args.username, args.password)
File “/usr/lib/python3/dist-packages/univention/lib/umc.py”, line 412, in init
self.authenticate(self.username, self.password)
File “/usr/lib/python3/dist-packages/univention/lib/umc.py”, line 426, in authenticate
return self.umc_auth(username, password)
File “/usr/lib/python3/dist-packages/univention/lib/umc.py”, line 548, in umc_auth
return self.request(‘POST’, ‘auth’, data)
File “/usr/lib/python3/dist-packages/univention/lib/umc.py”, line 578, in request
return self.send(request)
File “/usr/lib/python3/dist-packages/univention/lib/umc.py”, line 607, in send
raise HTTPError(request, umc_response, self.hostname)
univention.lib.umc.ServiceUnavailable: 503 on ucs-dc.slit.intranet (auth): {‘status’: 503, ‘message’: ‘The Univention Management Console Server could not be reached. Please restart univention-management-console-server or try again later.’}

this is the join status (but i dont think, this is the problem, because it appears since 1 year, without any troubles - i deinstalled opsi one year ago)
Warning: ‘opsi4ucs’ is not configured.
Error: Not all install files configured: 1 missing

this is from the log management-console-join.log (suicide??):
24.06.23 18:55:56.554 MODULE ( PROCESS ) : Module socket initialized.
24.06.23 18:55:56.596 MODULE ( PROCESS ) : Setting user LDAP DN ‘uid=Administrator,cn=users,dc=slit,dc=intranet’
24.06.23 18:55:56.596 MODULE ( PROCESS ) : Setting auth type to None
24.06.23 18:55:56.596 MODULE ( PROCESS ) : Initializing module.
24.06.23 19:05:57.697 MAIN ( WARN ) : Shutting down all open connections
24.06.23 19:05:57.697 MAIN ( WARN ) : Shutting down all open connections
24.06.23 20:07:38.386 DEBUG_INIT
24.06.23 20:07:39.602 MODULE ( PROCESS ) : Setting user LDAP DN: ‘uid=Administrator,cn=users,dc=slit,dc=intranet’
24.06.23 20:07:39.602 MODULE ( PROCESS ) : Setting auth type: None
24.06.23 20:07:39.602 MODULE ( PROCESS ) : Received request ‘/univention/command/join/joined’: (‘Administrator’, None, None, ‘de’)
24.06.23 20:07:39.603 MAIN ( WARN ) : Locale ‘de.UTF-8’ is not available: unsupported locale setting
24.06.23 20:07:39.603 MAIN ( WARN ) : Could not set language. Resetting locale.
24.06.23 20:07:39.625 MODULE ( PROCESS ) : Received request ‘/univention/command/join/scripts/query’: (‘Administrator’, None, None, ‘de’)
24.06.23 20:17:39.626 MODULE ( PROCESS ) : Committing suicide

and this is from management-console-server.log:
24.06.23 18:55:41.267 MODULE ( PROCESS ) : Setting auth type to None
24.06.23 18:55:43.174 MAIN ( PROCESS ) : LDAP bind for user ‘uid=Administrator,cn=users,dc=slit,dc=intranet’.
24.06.23 18:55:50.793 MAIN ( PROCESS ) : LDAP bind for user ‘uid=Administrator,cn=users,dc=slit,dc=intranet’.
24.06.23 18:55:51.833 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m updater -s /run/univention-management-console/1033-1687625751833.socket -d 2 -l de_DE.UTF-8
24.06.23 18:55:54.569 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m udm -s /run/univention-management-console/1033-1687625754569.socket -d 2 -l de_DE.UTF-8
24.06.23 18:55:54.583 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m join -s /run/univention-management-console/1033-1687625754583.socket -d 2 -l de_DE.UTF-8
24.06.23 18:55:54.703 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m appcenter -s /run/univention-management-console/1033-1687625754703.socket -d 2 -l de_DE.UTF-8
24.06.23 19:05:57.140 MAIN ( WARN ) : Socket died (module=udm)
24.06.23 19:05:57.140 MAIN ( WARN ) : Module process udm died (pid: 31820, exit status: -1, signal: -1, status: -1)
24.06.23 19:05:57.140 MAIN ( WARN ) : Cleaning up requests
24.06.23 19:05:57.140 MAIN ( WARN ) : Remove inactivity timer
24.06.23 19:05:57.140 MAIN ( PROCESS ) : ModuleProcess: stopping 31820
24.06.23 19:05:57.140 MAIN ( WARN ) : Socket died (module=udm)
24.06.23 19:05:57.763 MAIN ( WARN ) : Socket died (module=join)
24.06.23 19:05:57.763 MAIN ( WARN ) : Module process join died (pid: 31821, exit status: -1, signal: -1, status: -1)
24.06.23 19:05:57.763 MAIN ( WARN ) : Cleaning up requests
24.06.23 19:05:57.764 MAIN ( PROCESS ) : ModuleProcess: stopping 31821
24.06.23 19:05:57.764 MAIN ( WARN ) : Socket died (module=join)
24.06.23 19:05:57.829 MAIN ( WARN ) : Socket died (module=appcenter)
24.06.23 19:05:57.829 MAIN ( WARN ) : Module process appcenter died (pid: 31823, exit status: -1, signal: -1, status: -1)
24.06.23 19:05:57.829 MAIN ( WARN ) : Cleaning up requests
24.06.23 19:05:57.829 MAIN ( PROCESS ) : ModuleProcess: stopping 31823
24.06.23 19:05:57.829 MAIN ( WARN ) : Socket died (module=appcenter)
24.06.23 19:06:14.571 MAIN ( WARN ) : Socket died (module=updater)
24.06.23 19:06:14.571 MAIN ( WARN ) : Module process updater died (pid: 31791, exit status: -1, signal: -1, status: -1)
24.06.23 19:06:14.571 MAIN ( WARN ) : Cleaning up requests
24.06.23 19:06:14.571 MAIN ( WARN ) : Remove inactivity timer
24.06.23 19:06:14.571 MAIN ( PROCESS ) : ModuleProcess: stopping 31791
24.06.23 19:06:14.571 MAIN ( WARN ) : Socket died (module=updater)
24.06.23 19:06:19.652 MAIN ( WARN ) : Shutting down all open connections
24.06.23 19:06:19.654 MAIN ( WARN ) : Shutting down all open connections
24.06.23 19:38:11.383 DEBUG_INIT
24.06.23 19:38:27.750 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:38:36.579 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:38:57.138 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:39:13.191 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:39:38.087 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:40:25.317 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:40:38.579 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:40:49.118 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:41:24.484 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:41:33.601 MAIN ( PROCESS ) : Got SIGUSR1
24.06.23 19:49:37.970 MAIN ( WARN ) : Shutting down all open connections
24.06.23 19:49:39.770 DEBUG_INIT
24.06.23 20:07:34.629 MAIN ( PROCESS ) : LDAP bind for user ‘uid=Administrator,cn=users,dc=slit,dc=intranet’.
24.06.23 20:07:38.047 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m join -s /run/univention-management-console/25580-join-1687630058047-3d4c5f48-9476-42cf-8288-7.socket -d 2 -l de_DE.UTF-8
24.06.23 20:07:38.078 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m updater -s /run/univention-management-console/25580-updater-1687630058078-014e3699-52b1-49bd-ae0.socket -d 2 -l de_DE.UTF-8
24.06.23 20:07:38.123 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m udm -s /run/univention-management-console/25580-udm-1687630058122-bbc49a68-21ae-44f2-a9f9-13.socket -d 2 -l de_DE.UTF-8
24.06.23 20:07:38.775 MAIN ( PROCESS ) : running: /usr/bin/python3 /usr/sbin/univention-management-console-module -m appcenter -s /run/univention-management-console/25580-appcenter-1687630058775-e29a4128-4b85-4c4a-a.socket -d 2 -l de_DE.UTF-8
24.06.23 20:17:39.754 MAIN ( PROCESS ) : ModuleProcess: child 26663 (join) exited with 0 (success)
24.06.23 20:17:40.410 MAIN ( PROCESS ) : ModuleProcess: child 26665 (udm) exited with -14 (SIGALRM)
24.06.23 20:17:45.532 MAIN ( PROCESS ) : ModuleProcess: child 26664 (updater) exited with 0 (success)
24.06.23 20:17:45.749 MAIN ( PROCESS ) : ModuleProcess: child 26673 (appcenter) exited with 0 (success)
24.06.23 21:14:24.085 MAIN ( WARN ) : Shutting down all open connections

Ok, there is something really damaged. What says

systemctl restart univention-management-console-server
systemctl status univention-management-console-server

and

journalctl -r -u univention-management-console-server

since last reboot.

… and the update was finish without error? Can rollback the VM or an Backup?

the same as written higher above:

Administrator@ucs-dc:~$ systemctl restart univention-management-console-server
Failed to restart univention-management-console-server.service: Interactive authentication required.
See system logs and ‘systemctl status univention-management-console-server.service’ for details.

But this looks quite good:
Administrator@ucs-dc:~$ systemctl status univention-management-console-server.service
● univention-management-console-server.service - Univention Management Console Server
Loaded: loaded (/lib/systemd/system/univention-management-console-server.service; enabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/univention-management-console-server.service.d
└─dependencies.conf
Active: active (running) since Mon 2023-06-26 19:47:56 CEST; 1min 30s ago
Main PID: 27040 (/usr/bin/python)
Tasks: 1 (limit: 4915)
Memory: 50.8M
CGroup: /system.slice/univention-management-console-server.service
└─27040 /usr/bin/python3 /usr/sbin/univention-management-console-server

And when trying to login in again in web console, it works!!!
I dont know why, i did nothing. But ok, if it works now, all good.

Thanks a lot

1 Like
Mastodon