Knowledge article - linked script not complete

Hello all,

while testing the update from 5.0-10 to 5.2, the pre-update checker complained about the “translog” schema and pointed to the article UCS update fails with verify_translog_schema

The article contains a link to a script that should rectify the problem. That script seems to be somewhat incomplete:

  • First, it contains some magic with slapcat and slapadd which would require slapd to not be running
  • Later, it contains a call to univention-translog that requires slapd to be running.

I spotted the slapadd in the script and stopped slapd before running the script, but then the tool threw a stack trace with the gist ‘cant contact LDAP server’.

Could somebody with the right privileges either correct the script or clarify how it is intended to be used?

Many thanks.