As the new version of kopano is released now, i did the upgrades to 4.4-9 and also postgreSQL. Now i wanted to go on to UCS 5.0 and i got the following message:
The system can not be updated to UCS 5.0 due to the following reasons:
python_ucr_template_compatibility:
The following UCR templates are not compatible with Python 3:
/etc/univention/templates/files/etc/ldap/slapd.conf.d/80asterisk (package: asterisk4ucs-udm-schema)
See <https://help.univention.com/t/17948> for information on how to proceed with each template.
minimum_ucs_version_of_all_systems_in_domain:
The following extensions are incompatible with UCS 5.0:
cn=univention-openvpn,cn=udm_hook,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
cn=univention-openvpn-schema,cn=udm_syntax,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
cn=63openvpn-sitetosite,cn=ldapacl,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
cn=guacamole,cn=udm_syntax,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
cn=guacamole/config,cn=udm_module,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
cn=64selfservice_userattributes,cn=ldapacl,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
Error: Update aborted by pre-update script of release 5.0-0
exitcode of univention-updater: 1
ERROR: update failed. Please check /var/log/univention/updater.log
asterisk4ucs is not being updated for some time, the App Center does not list it for 4.4 or 5.0.
The switch to 5.0 changes python from 2.x to 3.x, so the old template will not work.
You could try to upgrade the code in that file to python 3 syntax. Not sure if that will solve the problem.
The problem here is that some parts of an app remain on the system (on purpose), even when the app has been uninstalled. Those parts never get updated to 5.0 compatible versions, since the app isn’t installed anymore.
To fix the openvpn part of the problem, install openvpn4ucs (version 1.1.21) and immediately uninstall it again.
The same probably goes for the guacamole app.
Here again OK i installed openvpn4ucs and removed it - it’s away now! The template of asterisk was removed by me - this message has also gone! Now there’s only the following left:
The system can not be updated to UCS 5.0 due to the following reasons:
minimum_ucs_version_of_all_systems_in_domain:
The following extensions are incompatible with UCS 5.0:
cn=guacamole,cn=udm_syntax,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
cn=guacamole/config,cn=udm_module,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
cn=64selfservice_userattributes,cn=ldapacl,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
Error: Please check "/var/log/univention/updater.log" for details.
ERROR: update failed. Please check /var/log/univention/updater.log
In case of guacamole the command “univention-remove --purge guacamole” tells me that this programm isn’t installed. I don’t need it!
The last “cn=64selfservice_userattributes…” i don’t know if it is needed by the system.
I tried this but - i don’t know why - it seems to be impossible to install guacamole. I tried it in the browser (UMC) but it doesn’t finish anyway within about two hours. Then i interupt and tried the purge-command but this tells me that guacamole isn’t installed. So what else can i do?
I did the univention-app install and after input of the admin-password the installation has finished. I removed the app and now there is only one failure left:
The system can not be updated to UCS 5.0 due to the following reasons:
minimum_ucs_version_of_all_systems_in_domain:
The following extensions are incompatible with UCS 5.0:
cn=64selfservice_userattributes,cn=ldapacl,cn=univention,dc=zabrana,dc=local: [unspecified..unspecified)
Thx for help !
UPDATE: After install and deinstall selfservice-backend the installation now seems to run. I’ll be back later !
Hey there - after the update the server didn’t come up any more. I just go back to the last backup. The updater.log can be downloaded from my Nextcloud. You will be asked a password: qyP8xaHdcD. Perhaps someone can look over this to see why something went wrong. Thx.
UPDATE: The failures are all away so my server should now be ready for upgrade to 5.0.