Upgrading to 4.3 blocked

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

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

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

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

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

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

@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.

@grandjean what about the offic 365 connector?

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

1 Like

@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?

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

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

@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

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

@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

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

@SirTux

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

I the reject still there?

univention-s4connector-list-rejected

If yes, post the specific lines of the log file (/var/log/univention/connector-s4.log), please.

@SirTux
Yes there is

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

/var/log/univention/connector-s4.log:
https://pastebin.com/WkUmFbkC

@SirTux
@Moritz_Bunkus
I’ve other problem:
I cannot join a Windows7 client
error mapping accoutn name and SID (No mapping between account names and security IDs was done)

net ads info
LDAP server: 172.16.6.55
LDAP server name: ucs-8023.cdlmvenezia.intranet
Realm: CDLMVENEZIA.INTRANET
Bind Path: dc=CDLMVENEZIA,dc=INTRANET
LDAP port: 389
Server time: mer, 21 mar 2018 10:25:42 CET
KDC server: 172.16.6.55
Server time offset: 0
Last machine account password change: mar, 20 mar 2018 11:50:39 CET
root@ucs-8023:~# univention-check-join-status
Warning: 'univention-samba4-saml-kerberos' is not configured.
Error: Not all install files configured: 1 missing

Mastodon