Univention Bugzilla – Bug 45328
Registering Non-Docker Apps may fail when updated from 4.1 to 4.2
Last modified: 2017-09-26 12:04:47 CEST
We may have to workaround this during the upgrade (where the errata updates are not yet installed) by fixing postup.sh, too. +++ This bug was initially created as a clone of Bug #44724 +++ When ucsschool="4.1 R2 v11" was installed and an update is made, univention-app register ucsschool tries to register the 4.1 App again. This will eventually lead to an unregistered component. Workaround here: univention-app register 4.2/ucsschool="4.2 v1" --do-it
Tagging it 4.2-2 errata... not sure what would be correct here
Added univention-app update; univention-app register to the 4.2-1 postup on updates-test.software-univention.de (and git). Please test a (direct) update (with school) from 4.1-4 to 4.2-1. The app version should be correct now. Is this works, please Reopen, we have to copy the now script to updates.software ...
As discussed. Works fine wrt UCS@school regsitration. But I get the following in my logs: Registering schema /usr/share/univention-appcenter/apps/openproject/openproject.schema /usr/lib/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal. passwd = fallback_getpass(prompt, stream) Warning: Password input may be echoed. This is due to some Apps trying to register a schema file, which requires admin credentials. As we cannot pass this in postup.sh, I suggest limiting the registration to: univention-app register --app Other than that, it works (actually, due to the ordering of the register command, UCS@school is correctly registered even with the traceback above). Please add it to 4.2-2's postup.sh, though. That way, also those domains already updated to 4.2-1, but not 4.2-2 yet, will get the fix.
* added --app updates-test.software-univention.de, git 5d910b09070742075ddca241c4699cc478bfd7dc * added to 4.2-2 postup updates-test.software-univention.de, git 0876f5de8a77d5af8b7101649ba1afe31a37dfff Is this works, please Reopen, we have to copy the now script to updates.software ...
Works fine
Whoops
released (4.2-1 and 4.2-2)
OK, works