Upgrading to 4.3 blocked

ucs-4-3

#1

The update to UCS 4.3 is blocked because the component ‘cool-solutions’ is marked as required
(member-of)
I need to keep member-of attribute

How can I upgrade?


#2

member-of is standard now in 4.3
you may disable cool-solution repo

I had this in front of the upgrade too

worked for me

rg
Christian


#3

I try that… but still have problem with office 365 connector :confused:


#4

Custom preupdate script /var/lib/local-preup.sh not found dpkg: attenzione: viene ignorata la richiesta di rimuovere univention-config-wrapper poiché non è installato

I’ve to install univention-config-wrapper before upgrading?


#5

same problem here: Custom preupdate script /var/lib/local-preup.sh not found dpkg: attenzione: viene ignorata la richiesta di rimuovere univention-config-wrapper poiché non è installato

Translated: the request to remove univention-config-wrapper is ignored because is not installed


#6

I’ve to install univention-config-wrapper before upgrading?


#7

Can you please give us the last ~50 lines or so of /var/log/univention/updater.log?
The preup.sh tries to uninstall/purge the old legacy package univention-config-wrapper, but should just carry on if it’s not installed. I suspect that the problem that blocks the upgrade is somewhere else.

Best regards,
Michael Grandjean


#8

This is my cat /var/log/univention/updater.log:
https://pastebin.com/LZgZBg4r


#9

Here my /var/log/univention/updater.log

Starting univention-upgrade. Current UCS version is 4.2-3 errata312

Checking for package updates:                           none
Checking for app updates:                              Calling upgrade-search
2018-03-17 11:13:23,447 DEBUG:univention.appcenter.actions.upgrade-search:Calling upgrade-search
0
2018-03-17 11:13:23,447 DEBUG:univention.appcenter.actions.upgrade-search.progress:0
Calling update
2018-03-17 11:13:23,448 DEBUG:univention.appcenter.actions.update:Calling update
0
2018-03-17 11:13:23,448 DEBUG:univention.appcenter.actions.update.progress:0
Downloading "https://appcenter.software-univention.de/meta-inf/categories.ini"...
2018-03-17 11:13:23,456 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/categories.ini"...
  ... Not Modified
2018-03-17 11:13:23,656 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"...
2018-03-17 11:13:23,658 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"...
  ... Not Modified
2018-03-17 11:13:23,819 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/license_types.ini"...
2018-03-17 11:13:23,823 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/license_types.ini"...
  ... Not Modified
2018-03-17 11:13:23,984 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/ucs.ini"...
2018-03-17 11:13:23,987 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/ucs.ini"...
  ... Not Modified
2018-03-17 11:13:24,148 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz"...
2018-03-17 11:13:24,155 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz"...
  ... Not Modified
2018-03-17 11:13:24,316 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz.gpg"...
2018-03-17 11:13:24,319 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/4.2/index.json.gz.gpg"...
  ... Not Modified
2018-03-17 11:13:24,478 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/4.2/all.tar.gpg"...
2018-03-17 11:13:24,481 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/4.2/all.tar.gpg"...
  ... Not Modified
2018-03-17 11:13:24,641 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz"...
2018-03-17 11:13:24,648 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz"...
  ... Not Modified
2018-03-17 11:13:24,827 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz.gpg"...
2018-03-17 11:13:24,830 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/4.1/index.json.gz.gpg"...
  ... Not Modified
2018-03-17 11:13:25,010 DEBUG:univention.appcenter.actions.update:  ... Not Modified
Downloading "https://appcenter.software-univention.de/meta-inf/4.1/all.tar.gpg"...
2018-03-17 11:13:25,013 INFO:univention.appcenter.actions.update:Downloading "https://appcenter.software-univention.de/meta-inf/4.1/all.tar.gpg"...
  ... Not Modified
2018-03-17 11:13:25,175 DEBUG:univention.appcenter.actions.update:  ... Not Modified
100
2018-03-17 11:13:25,229 DEBUG:univention.appcenter.actions.update.progress:100
Cache outdated. Need to rebuild
2018-03-17 11:13:25,231 DEBUG:univention.appcenter.cache:Cache outdated. Need to rebuild
Loaded 151 apps from cache
2018-03-17 11:13:25,426 DEBUG:univention.appcenter.cache:Loaded 151 apps from cache
Cache outdated. Need to rebuild
2018-03-17 11:13:25,427 DEBUG:univention.appcenter.cache:Cache outdated. Need to rebuild
Loaded 373 apps from cache
2018-03-17 11:13:25,943 DEBUG:univention.appcenter.cache:Loaded 373 apps from cache
Checking adtakeover=4.0.0
2018-03-17 11:13:26,715 DEBUG:univention.appcenter.actions.upgrade-search:Checking adtakeover=4.0.0
Checking cups=1.7.5
2018-03-17 11:13:26,744 DEBUG:univention.appcenter.actions.upgrade-search:Checking cups=1.7.5
Checking dhcp-server=11.0.0
2018-03-17 11:13:26,771 DEBUG:univention.appcenter.actions.upgrade-search:Checking dhcp-server=11.0.0
Checking printquota=9.0
2018-03-17 11:13:26,798 DEBUG:univention.appcenter.actions.upgrade-search:Checking printquota=9.0
Checking radius=4.0
2018-03-17 11:13:26,825 DEBUG:univention.appcenter.actions.upgrade-search:Checking radius=4.0
Checking samba4=4.6
2018-03-17 11:13:26,852 DEBUG:univention.appcenter.actions.upgrade-search:Checking samba4=4.6
100
2018-03-17 11:13:26,878 DEBUG:univention.appcenter.actions.upgrade-search.progress:100
none
Checking for release updates:                           found: UCS 4.3-0
Please rerun command without --check argument to install.
17.03.18 11:28:49.586  DEBUG_INIT
**** Starting univention-updater with parameter=['/usr/share/univention-updater/univention-updater', 'net', '--updateto', '4.3-0', '--ignoressh', '--ignoreterm']
Version=4.2
Patchlevel=3
starting net mode
--->DBG:update_available(mode=net, cdrom_mount_point=/media/cdrom, iso=None)
Checking network repository
Update to = 4.3-0
**** Downloading scripts at Sat Mar 17 11:28:52 2018
**** Starting actual update at Sat Mar 17 11:28:55 2018
Running preup.sh script
sab 17 mar 2018, 11.28.55, CET

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

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

Do you want to continue [Y/n]? 
Custom preupdate script /var/lib/local-preup.sh not found
dpkg: attenzione: viene ignorata la richiesta di rimuovere univention-config-wrapper poiché non è installato
Checking for space on /var/cache/apt/archives: OK
Checking for space on /boot: OK
Checking for space on /: OK
WARNING: PostgreSQL-9.1 is no longer supported by UCS-4.3 and must be migrated to
         a newer version of PostgreSQL. See https://help.univention.com/t/8073 for
         more details.
Error: Update aborted by pre-update script of release 4.3-0

#10

@miclan You have to upgrade PostgreSQL first:
https://help.univention.com/t/8073


#11

@miclan: Yes, @SirTux is right. The updater says quite clearly:

WARNING: PostgreSQL-9.1 is no longer supported by UCS-4.3 and must be migrated to
         a newer version of PostgreSQL. See https://help.univention.com/t/8073 for
         more details.

So, please follow the steps in https://help.univention.com/t/8073 first, then run the upgrade again.


#12

@grandjean what about the offic 365 connector?


#13

Thansk @SirTux and @Grandjean
I upgraded PostgreSQL and everything was OK.
I upgraded correctly to 4.3.0
Thanks again!


#14

@andreaussi: Hm, the best part is missing :smiley: Your log file just stops at “Please rerun command without --check argument to install.” If you compare it to the log file of @miclan, you can see that the important part appears afterwards. Can you run univention-upgrade on the command line, try the Upgrade to UCS 4.3 and then copy&paste all the output?


#15

Thanks, I’ve upgraded correctly to 4.3

I’ve only this error:
ERROR: User ucs-sso not found
then 98univention-samba4-saml-kerberos.inst pending


#16

@andreaussi
Join script fails 98univention-samba4-saml-kerberos.inst
Got join error on upgrade from 4.2-3 to 4.3


#17

@SirTux

univention-s4connector-list-rejected:

   29:   UCS DN: uid=ucs-sso,cn=users,dc=cdlmvenezia,dc=intranet
          S4 DN: <not found>
         Filename: /var/lib/univention-connector/s4/1521481703.492017

   30:   UCS DN: uid=ucs-sso,cn=users,dc=cdlmvenezia,dc=intranet
          S4 DN: <not found>
         Filename: /var/lib/univention-connector/s4/1521481705.712026

   31:   UCS DN: cn=NoGroup,cn=groups,dc=cdlmvenezia,dc=intranet
          S4 DN: <not found>
         Filename: /var/lib/univention-connector/s4/1521482273.757358

   32:   UCS DN: uid=igervasoni,cn=users,dc=cdlmvenezia,dc=intranet
          S4 DN: <not found>
         Filename: /var/lib/univention-connector/s4/1521534171.653699

   33:   UCS DN: uid=igervasoni,cn=users,dc=cdlmvenezia,dc=intranet
          S4 DN: <not found>
         Filename: /var/lib/univention-connector/s4/1521534172.898359


#18

@andreaussi
https://help.univention.com/t/how-to-deal-with-s4-connector-rejects/33


#19

@SirTux

univention-ldapsearch -b "uid=igervasoni,cn=users,dc=cdlmvenezia,dc=intranet"
# extended LDIF
#
# LDAPv3
# base <uid=igervasoni,cn=users,dc=cdlmvenezia,dc=intranet> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# igervasoni, users, cdlmvenezia.intranet
dn: uid=igervasoni,cn=users,dc=cdlmvenezia,dc=intranet
uid: igervasoni
krb5PrincipalName: igervasoni@CDLMVENEZIA.INTRANET
objectClass: krb5KDCEntry
objectClass: organizationalPerson
objectClass: nextcloudUser
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: person
objectClass: univentionPWHistory
objectClass: shadowAccount
objectClass: univentionObject
objectClass: univentionMail
objectClass: krb5Principal
objectClass: top
objectClass: posixAccount
uidNumber: 5630
/usr/share/univention-s4-connector/resync_object_from_s4.py --filter uid=igervasoni,cn=users,dc=cdlmvenezia,dc=intranet

ERROR: The S4 search for objectGUID failed: No match

#20

You’ve used the wrong script. It has to be

/usr/share/univention-s4-connector/resync_object_from_ucs.py --filter uid=igervasoni,cn=users,dc=cdlmvenezia,dc=intranet