UCS 4.3 pre-update check


#1

Gerne würde ich auf UCS 4.3 updaten.
Leider zeigt der pre-update check folgende Fehler:


Starting pre-update checks (Mo 19. Mär 13:50:04 CET 2018):

Checking app_appliance ...                        dpkg-query: Kein Paket gefunden, das auf univention-app-appliance passt
OK
Checking block_update_of_NT_DC ...                OK
Checking cyrus_integration ...                    OK
Checking disk_space ...                           OK
Checking hold_packages ...                        OK
Checking ldap_connection ...                      OK
Checking ldap_schema ...                          5aafb1fd OVER: Loading Translog Overlay
5aafb1fd Loading shadowbind Overlay.OVER: db_init
5aafb1fd OVER: Configuring Translog Overlay
5aafb1fd OVER: Configured Translog Overlay to use file "/var/lib/univention-ldap/listener/listener"
5aafb1fd shadowbind_db_init
5aafb1fd shadowbind_db_config
5aafb1fd /etc/ldap/slapd.conf: line 134: invalid path: Permission denied
slapschema: bad configuration file!
FAIL
Checking master_version ...                       Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/usr/lib/pymodules/python2.7/univention/lib/ucs.py", line 23, in __init__
    self.set(version)
  File "/usr/lib/pymodules/python2.7/univention/lib/ucs.py", line 55, in set
    raise ValueError('string does not match UCS version pattern')
ValueError: string does not match UCS version pattern
FAIL
Checking md5_signature_is_used ...                OK
Checking min_version ...                          Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/usr/lib/pymodules/python2.7/univention/lib/ucs.py", line 23, in __init__
    self.set(version)
  File "/usr/lib/pymodules/python2.7/univention/lib/ucs.py", line 55, in set
    raise ValueError('string does not match UCS version pattern')
ValueError: string does not match UCS version pattern
OK
Checking overwritten_umc_templates ...            OK
Checking package_status ...                       OK
Checking postgresql91 ...                         OK
Checking slapd_on_member ...                      OK
Checking user_mountpoint ...                      OK
Checking valid_machine_credentials ...            OK

The system can not be updated to UCS 4.3 due to the following reasons:

ldap_schema:
        There is a problem with the LDAP schema on this system.
        Please check /var/log/univention/updater.log or run 'slapschema'
        manually.

master_version:
        Your domain controller master is still on version -.  It is
        strongly recommended that the domain controller master
        is always the first system to be updated during a release
        update.  This check can be skipped by setting the UCR variable
        update43/ignore_version to yes.

Kann ich das update trotzdem wagen?

Gruß;
Stefan


#2

Huhu,

ich würde erst den Fehler beheben. Was steht denn in /etc/ldap/slapd.conf in Zeile 134?

Gruß
mosu


#3

äh ja, das hätte ich gleich dazu schreiben können:

da steht:

directory       "/var/lib/univention-ldap/ldap"

Das Verzeichnis hat folgende Rechte und Besitzer

drwxr-xr-x 2 root     root 4,0K Mär 12 20:33 ldap

mit 2 Dateien

-rw------- 1 root root 6,7M Mär 13 09:17 data.mdb
-rw------- 1 root root 8,0K Mär 19 14:54 lock.mdb

#4

Huhu,

die Besitzer sind definitiv falsch; das muss openldap:openldap sein. Ein einfaches chown -R openldap: /var/lib/univention-ldap/ldap sollte helfen.

Gruß
mosu


#5

Danke schön!

Das hats gebracht!