UCS 5 : troubles upgrading from 4.4.8 errata1036 - univention-web UCR template not compatbile with Python3?

Hi,

> python_ucr_template_compatibility:
> The following UCR templates are not compatible with Python 3:
> /etc/univention/templates/files/usr/share/univention-web/js/umc/hooks/appliance.json (package: univention-app-appliance)
> 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=guacamole,cn=udm_syntax,cn=univention,dc=t24cc,dc=com: [unspecified…unspecified)
> cn=guacamole/config,cn=udm_module,cn=univention,dc=t24cc,dc=com: [unspecified…unspecified)

Unsure of these troubles. Guacamole app has been successfully uninstalled after 4.4.8 upgrade failed and said that Guacamole is unsupported in 5.0.0.

What should I do now? I will reboot UCS and hope not to see this problem:
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=t24cc,dc=com: [unspecified…unspecified)
cn=guacamole/config,cn=udm_module,cn=univention,dc=t24cc,dc=com: [unspecified…unspecified)

Eventually I will try to remove entries in ActiveDirectory (if any?).

1 problem less, but still searching… :frowning:
BTW. You guys make great piece of software, but something here was not fully "polish"ed :wink:

root@waw-l03:/etc/univention/templates/files# univention-config-registry search guacamole
guacamole/autostart: yes
root@waw-l03:/etc/univention/templates/files# univention-config-registry unset guacamole/autostart
Unsetting guacamole/autostart
Module: autostart
root@waw-l03:/etc/univention/templates/files# univention-config-registry search guacamole
root@waw-l03:/etc/univention/templates/files# /usr/share/univention-updater/univention-updater net --updateto 5.0-0 --ignoressh --ignoreterm
Checking network repository
Update to = 5.0-0

Starting /tmp/tmpA6MkXt/preupDK8Nhs.sh (nie, 19 wrz 2021, 12:37:31 CEST):

HINT:
Please check the release notes carefully BEFORE updating to UCS 5.0-0:
 English version: https://docs.software-univention.de/release-notes-5.0-0-en.html
 German version:  https://docs.software-univention.de/release-notes-5.0-0-de.html

Please also consider documents of following release updates and
3rd party components.

Do you want to continue [Y/n]? Y

Checking adc_mapping ...                          OK
Checking adc_multiinstance_mapping ...            OK
Checking architecture ...                         OK
Checking blocking_apps ...                        OK
Checking default_master_packages ...              OK
Checking disk_space ...                           OK
Checking failed_ldif ...                          OK
Checking for_postgresql94 ...                     OK
Checking hold_packages ...                        OK
Checking kernel ...                               OK
Checking kolab_schema ...                         OK
Checking ldap_connection ...                      OK
Checking ldap_schema ...                          OK
Checking legacy_objects ...                       OK
Checking master_version ...                       OK
Checking md5_signature_is_used ...                OK
Checking min_version ...                          OK
Checking minimum_ucs_version_of_all_systems_in_domain ... FAIL
Checking old_packages ...                         OK
Checking overwritten_umc_templates ...            OK
Checking ox_schema ...                            OK
Checking package_status ...                       OK
Checking python_ucr_template_compatibility ...    FAIL
Checking python_ucsschool_import_hook_compatibility ... OK
Checking role_package_removed ...                 OK
Checking samba_server_schannel ...                OK
Checking samba_tdb_size ...                       OK
Checking slapd_on_member ...                      OK
Checking ssh ...                                  OK
Checking system_date_too_old ...                  OK
Checking system_role ...                          OK
Checking term ...                                 OK
Checking tls_public_key_size ...                  OK
Checking tls_public_key_size_ucs-sso ...          OK
Checking usr_mountpoint ...                       OK
Checking valid_machine_credentials ...            OK

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/usr/share/univention-web/js/umc/hooks/appliance.json (package: univention-app-appliance)
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=guacamole,cn=udm_syntax,cn=univention,dc=t24cc,dc=com: [unspecified..unspecified)
        cn=guacamole/config,cn=udm_module,cn=univention,dc=t24cc,dc=com: [unspecified..unspecified)

Error: Update aborted by pre-update script of release 5.0-0
Error: Please check "/var/log/univention/updater.log" for details.


root@waw-l03:/etc/univention/templates/files# ldapdelete -x -D "cn=admin,$(ucr get ldap/base)" -y /etc/ldap.secret "cn=guacamole,cn=udm_syntax,cn=univention,dc=t24cc,dc=com"
root@waw-l03:/etc/univention/templates/files# ldapdelete -x -D "cn=admin,$(ucr get ldap/base)" -y /etc/ldap.secret "cn=guacamole/config,cn=udm_module,cn=univention,dc=t24cc,dc=com"

root@waw-l03:/etc/univention/templates/files# /usr/share/univention-updater/univention-updater net --updateto 5.0-0 --ignoressh --ignoreterm
Checking network repository
Update to = 5.0-0

Starting /tmp/tmpNzNYa4/preup3nKG6Z.sh (nie, 19 wrz 2021, 12:42:16 CEST):

HINT:
Please check the release notes carefully BEFORE updating to UCS 5.0-0:
 English version: https://docs.software-univention.de/release-notes-5.0-0-en.html
 German version:  https://docs.software-univention.de/release-notes-5.0-0-de.html

Please also consider documents of following release updates and
3rd party components.

Do you want to continue [Y/n]? Y

Checking adc_mapping ...                          OK
Checking adc_multiinstance_mapping ...            OK
Checking architecture ...                         OK
Checking blocking_apps ...                        OK
Checking default_master_packages ...              OK
Checking disk_space ...                           OK
Checking failed_ldif ...                          OK
Checking for_postgresql94 ...                     OK
Checking hold_packages ...                        OK
Checking kernel ...                               OK
Checking kolab_schema ...                         OK
Checking ldap_connection ...                      OK
Checking ldap_schema ...                          OK
Checking legacy_objects ...                       OK
Checking master_version ...                       OK
Checking md5_signature_is_used ...                OK
Checking min_version ...                          OK
Checking minimum_ucs_version_of_all_systems_in_domain ... OK
Checking old_packages ...                         OK
Checking overwritten_umc_templates ...            OK
Checking ox_schema ...                            OK
Checking package_status ...                       OK
Checking python_ucr_template_compatibility ...    FAIL
Checking python_ucsschool_import_hook_compatibility ... OK
Checking role_package_removed ...                 OK
Checking samba_server_schannel ...                OK
Checking samba_tdb_size ...                       OK
Checking slapd_on_member ...                      OK
Checking ssh ...                                  OK
Checking system_date_too_old ...                  OK
Checking system_role ...                          OK
Checking term ...                                 OK
Checking tls_public_key_size ...                  OK
Checking tls_public_key_size_ucs-sso ...          OK
Checking usr_mountpoint ...                       OK
Checking valid_machine_credentials ...            OK

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/usr/share/univention-web/js/umc/hooks/appliance.json (package: univention-app-appliance)
See <https://help.univention.com/t/17948> for information on how to proceed with each template.

Error: Update aborted by pre-update script of release 5.0-0
Error: Please check "/var/log/univention/updater.log" for details.

Hello,

I am running on UCS 5.0 now.

Checking python_ucr_template_compatibility ...    FAIL

I have resolved last problem by overwriting Python 2.7 template file from 5.0 release (Python 3):

wget https://raw.githubusercontent.com/univention/univention-corporate-server/5.0-0/base/univention-app-appliance/conffiles/usr/share/univention-web/js/umc/hooks/appliance.json -O /etc/univention/templates/files/usr/share/univention-web/js/umc/hooks/appliance.json

Additionally I faced troubles when server was set to dhcp. It seems that during 4.4.8->5.0.0 upgrade some dhcp packages were causing serious troubles.
I switched server to static IP with

ucr set interfaces/eth0/address=192.168.0.128 interfaces/eth0/broadcast=192.168.255.255 interfaces/eth0/netmask=255.255.0.0 interfaces/eth0/network=192.168.0.0 interfaces/eth0/start=true interfaces/eth0/type=static

and upgrade went smoothly.

I am veryfing now domain joining as “Module: setup_saml_sp” seems to be having problem with fetching configuration. Main Primary DC and Secondary DC are not Univention servers, but MS Windows Server 2019 core instances, so… It is however completely different subject and I am happy I suceeded with upgrade :slight_smile:

Mastodon