want to upgrade from 4.4-9 errata1350 to UCS 5.0-2 but the upgrade procedure fails.
/var/log/univention/updater.log:
Deleting object(s) with dn: cn=default-settings,cn=thinclient,cn=policies,dc=my,dc=domain,dc=de
# Deleting reference to cn=default-settings,cn=thinclient,cn=policies,dc=my,dc=domain,dc=de from dc=my,dc=domain,dc=de
ldap_modify: Referral (10)
referrals:
ldap://ucs-XXXX.my.domain.de:7389/dc=my,dc=domain,dc=de
modifying entry "dc=my,dc=domain,dc=de"
# Deleting reference to cn=default-settings,cn=thinclient,cn=policies,dc=my,dc=domain,dc=de from cn=default containers,cn=univention,dc=my,dc=domain,dc=de
ldap_modify: Referral (10)
referrals:
ldap://ucs-XXXX.my.domain.de:7389/cn=default%20containers,cn=univention,dc=my,dc=domain,dc=de
modifying entry "cn=default containers,cn=univention,dc=my,dc=domain,dc=de"
ldap_delete: Referral (10)
referrals:
ldap://ucs-XXXX.my.domain.de:7389/cn=default-settings,cn=thinclient,cn=policies,dc=my,dc=domain,dc=de
preupzKITGT.sh: ERROR: could not remove obsolete objects
# Error: Update aborted by pre-update script of release 5.0-0
Download & run bash script from here here without luck. Same results when manually erase/delete.
Found the post here and modifed to our needs but received same error:
# ldapmodify -f /tmp/ldap-legacy.ldif -D cn=admin,$(ucr get ldap/base) -y /etc/ldap.secret
modifying entry "dc=my,dc=domain,dc=de"
ldap_modify: Referral (10)
referrals:
ldap://ucs-XXXX.my.domain.de:7389/dc=my,dc=domain,dc=de
The LDIF-File contains:
dn: dc=my,dc=domain,dc=de
changetype: modify
delete: univentionPolicyReference
univentionPolicyReference: cn=default-settings,cn=thinclient,cn=policies,dc=my,dc=domain,dc=de
Any hints how to proceed ?