Univention Bugzilla – Bug 53125
4.4 Systems may hang when trying to install DefaultPackagesMaster on 5.0 Primary
Last modified: 2021-05-27 20:21:49 CEST
The UMC commands changed in 4.4 -> 5.0. Therefore, a 5.0 system does not accept a connection from 4.4. But... 4.4 does not open a connection correctly, bypassing the version check that would tell the 4.4 system that it should not continue. Instead, it continues. And fails. Now you see a lot of: 20.04.21 00:06:13.822 MODULE ( WARN ) : master30.intranet.wiesenthal.de: appcenter/progress returned an error: 422 on master30.intranet.wiesenthal.de (command/appcenter/progress): {u'status': 422, u'message': u'1 Fehler aufgetreten', u'traceback': None, u'location': u'https://master30.intranet.wiesenthal.de/univention/command', u'result': {u'0': {u'progress_id': u'Argument erforderlich'}}} in the 4.4's umc-appcenter.log. The backend does not know to to handle that and retries indefinitely. Also this is there: 20.04.21 00:06:13.915 MODULE ( WARN ) : Exception during install fetchmail: not enough arguments for format string We have to fix the error handling in 4.4
(In reply to Dirk Wiesenthal from comment #0) > 20.04.21 00:06:13.915 MODULE ( WARN ) : Exception during install > fetchmail: not enough arguments for format string This is: MODULE.error('%s: Remote App Center cannot be contacted for more than %d seconds. Maybe just a long Apache Restart? Presume failure! Check logs on remote machine, maybe installation was successful.' % number_failures_max)
After patching my server, I now get: 20.04.21 00:52:19.116 MODULE ( ERROR ) : master30.intranet.wiesenthal.de: Remote App Center cannot be contacted for more than 20 seconds. Maybe just a long Apache Restart? Presume failure! Check logs on remote machine, maybe installation was successful. 20.04.21 00:52:19.116 MODULE ( ERROR ) : master30.intranet.wiesenthal.de: Unable to install [u'univention-fetchmail-schema'] on master30.intranet.wiesenthal.de. Check /var/log/univention/management-console-module-appcenter.log on the host and this server. All errata updates have been installed on master30.intranet.wiesenthal.de? 20.04.21 00:52:19.116 MODULE ( WARN ) : Installing extension of LDAP schema for fetchmail seems to have failed on DC Master master30.intranet.wiesenthal.de 4.4 system still hangs...
There are only OpenProject and SuiteCRM left as AppBox apps based on UCS 4.3. I'd rather invest effort in migrating those apps to a native Docker image. I furthermore suggest to postpone the fix for this issue until it really gets relevant for UCS users.
(In reply to Nico Gulden from comment #4) > There are only OpenProject and SuiteCRM left as AppBox apps based on UCS > 4.3. I'd rather invest effort in migrating those apps to a native Docker > image. > > I furthermore suggest to postpone the fix for this issue until it really > gets relevant for UCS users. This bug is about 4.4 Apps with DefaultMasterPackages. E.g., kopano-core or fetchmail.