Problem after Update to 4.4 Join-Script for Appcenter fails


#1

After updating via the WEB interface I got the message that Join Scripts are still pending,
the following was still outstanding
30univention-appcenter.inst

but it can’t be executed, and the log will say

cp: der Aufruf von stat für '' ist nicht möglich: Datei oder Verzeichnis nicht gefunden

univention-run-join-scripts started
So 24. Mär 21:22:00 CET 2019

univention-join-hooks: looking for hook type "join/pre-joinscripts" on ucs01.virea.intranet
Found hooks:

RUNNING 30univention-appcenter.inst
2019-03-24 21:22:01.173588607+01:00 (in joinscript_init)
Object exists: cn=apps,cn=univention,dc=virea,dc=intranet
Object exists: cn=ldapschema,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object univention-app.
Object exists: cn=ldapacl,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object 66univention-appcenter_app.
Object exists: cn=udm_syntax,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object app_syntax.
Object exists: cn=udm_module,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object appcenter/app.
No modification: cn=univention-app,cn=ldapschema,cn=univention,dc=virea,dc=intranet

No modification: cn=66univention-appcenter_app,cn=ldapacl,cn=univention,dc=virea,dc=intranet

No modification: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet

No modification: cn=appcenter/app,cn=udm_module,cn=univention,dc=virea,dc=intranet

Waiting for activation of the extension object univention-app: OK
Waiting for activation of the extension object 66univention-appcenter_app: OK
Waiting for activation of the extension object app_syntax:.......................................................ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-appcenter/app_syntax.py failed.

EXITCODE=1
1a1010aa-8309-491a-b3d3-9bfd19f995ce
univention-join-hooks: looking for hook type "join/post-joinscripts" on ucs01.virea.intranet
Found hooks:


So 24. Mär 21:25:04 CET 2019
univention-run-join-scripts finished


Im Listener.log steht folgendes:

cp: der Aufruf von stat für '' ist nicht möglich: Datei oder Verzeichnis nicht gefunden

univention-run-join-scripts started
So 24. Mär 21:22:00 CET 2019

univention-join-hooks: looking for hook type "join/pre-joinscripts" on ucs01.virea.intranet
Found hooks:

RUNNING 30univention-appcenter.inst
2019-03-24 21:22:01.173588607+01:00 (in joinscript_init)
Object exists: cn=apps,cn=univention,dc=virea,dc=intranet
Object exists: cn=ldapschema,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object univention-app.
Object exists: cn=ldapacl,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object 66univention-appcenter_app.
Object exists: cn=udm_syntax,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object app_syntax.
Object exists: cn=udm_module,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object appcenter/app.
No modification: cn=univention-app,cn=ldapschema,cn=univention,dc=virea,dc=intranet

No modification: cn=66univention-appcenter_app,cn=ldapacl,cn=univention,dc=virea,dc=intranet

No modification: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet

No modification: cn=appcenter/app,cn=udm_module,cn=univention,dc=virea,dc=intranet

Waiting for activation of the extension object univention-app: OK
Waiting for activation of the extension object 66univention-appcenter_app: OK
Waiting for activation of the extension object app_syntax:.......................................................ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-appcenter/app_syntax.py failed.

EXITCODE=1
1a1010aa-8309-491a-b3d3-9bfd19f995ce
univention-join-hooks: looking for hook type "join/post-joinscripts" on ucs01.virea.intranet
Found hooks:


So 24. Mär 21:25:04 CET 2019
univention-run-join-scripts finished

After updating via the WEB interface I got the message that Join Scripts are still pending,
the following was still outstanding
30univention-appcenter.inst

but it can’t be executed, and the log will say

I don’t understand it.

What I noticed when I created a new user is that it is not displayed on the NAS under domain users, the old users already are.


Upgrade to UCS 4.4 failing join script for Radius and Appcenter
#2

Hi,

please use English as language for our international users- I translated your post. Falls es damit Probleme gibt, kurz melden.

Please post the output of:
udm settings/udm_syntax list

/CV


#3

Good Morning Christian,

i try it in English, but it could be a little bat gramtical…
Thist ist the output of

root@ucs01:~# udm sett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z6ZwniDhGNCWNhOy1fQXUZzVNuaaydnapU9vOlZG3w6maNFx5NZh2PMdBWYBbUws8/OZANYnE2FKbScHoQ6CSKoiwPEamOYGCHiF1iFfAMpvKlRcIjBGALgrTqG9SlCW0HchSr8ZGZ5bXV0ILD25Jx6SBcZY2lFSgvdYiZpOl3PPZ9BSKomdCYcAXLwYJolbSbF9pixRM4RFib1wEzgRrEYsAYKDUCa0VBTASiWbaSqdCWwU7+UsgVzqS2wIfnya4Oze7jTqdOr8tAUrsWBExYPUNHCQDC0UB20NdSpsdwMwbS0Ccf8XckU4UJCidSXKA=
  filename: app_syntax.py
  name: app_syntax
  package: univention-appcenter
  packageversion: 8.0.11-3A~4.4.0.201903111012
  ucsversionend: None
  ucsversionstart: None

#4
DN: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet 
active: FALSE

Here we are.
Activate it by:

udm settings/udm_syntax modify --dn "cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet" --set active=TRUE
univention-run.join-scripts

/CV


#5

Ok here ist the output

root@ucs01:~# udm settings/udm_syntax modify --dn "cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet" --set active=TRUE
No modification: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet

next Kommando

univention-run-join-scripts
Output:
Running 30univention-appcenter.inst
failed (exitcode: 1)

#6

Hi,
just got further information regarding this issue. As the flag we where talking about is only for informational purpose you will have to remove the object so all related tasks will be executed when it gets activated.

So please do:

udm settings/udm_syntax remove --dn="cn=app_syntax,cn=udm_syntax,cn=univention,$(ucr get ldap/base)"
univention-run.join-scripts

/CV


#7

When I create a new user, I can not log in to a Windows client with this user.
UCS is the DC, it depends again a UCS as a member for Kopano
Logging in with the previously configured users works.

root@ucs01:~# udm settings/udm_syntax list

DN: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet
active: TRUE
data: QlpoOTFBWSZTWaJ1JcoAAJrfgAAwSHf8fT/v36A//9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lRcIjBGALgrTqG9SlCW0HchSr8ZGZ5bXV0ILD25Jx6SBcZY2lFSgvdYiZpOl3PPZ9BSKomdCYcAXLwYJolbSbF9pixRM4RFib1wEzgRrEYsAYKDUCa0VBTASiWbaSqdCWwU7+UsgVzqS2wIfnya4Oze7jTqdOr8tAUrsWBExYPUNHCQDC0UB20NdSpsdwMwbS0Ccf8XckU4UJCidSXKA=
filename: app_syntax.py
name: app_syntax
package: univention-appcenter
packageversion: 8.0.11-3A~4.4.0.201903111012
ucsversionend: None
ucsversionstart: None

RUNNING 01univention-ldap-server-init.inst
EXITCODE=already_executed
RUNNING 02univention-directory-notifier.inst
EXITCODE=already_executed
RUNNING 03univention-directory-listener.inst
EXITCODE=already_executed
RUNNING 04univention-ldap-client.inst
EXITCODE=already_executed
RUNNING 05univention-bind.inst
EXITCODE=already_executed
RUNNING 08univention-apache.inst
EXITCODE=already_executed
RUNNING 10univention-ldap-server.inst
EXITCODE=already_executed
RUNNING 11univention-heimdal-init.inst
EXITCODE=already_executed
RUNNING 11univention-pam.inst
EXITCODE=already_executed
RUNNING 15univention-directory-notifier-post.inst
EXITCODE=already_executed
RUNNING 15univention-heimdal-kdc.inst
EXITCODE=already_executed
RUNNING 18python-univention-directory-manager.inst
EXITCODE=already_executed
RUNNING 20univention-directory-policy.inst
EXITCODE=already_executed
RUNNING 20univention-join.inst
EXITCODE=already_executed
RUNNING 25univention-dhcp.inst
EXITCODE=already_executed
RUNNING 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
2019-03-25 10:03:31.757465502+01:00 (in joinscript_init)
Object exists: cn=apps,cn=univention,dc=virea,dc=intranet
Object exists: cn=ldapschema,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object univention-app.
Object exists: cn=ldapacl,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object 66univention-appcenter_app.
Object exists: cn=udm_syntax,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object app_syntax.
Object exists: cn=udm_module,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object appcenter/app.
No modification: cn=univention-app,cn=ldapschema,cn=univention,dc=virea,dc=intranet

No modification: cn=66univention-appcenter_app,cn=ldapacl,cn=univention,dc=virea,dc=intranet

No modification: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet

No modification: cn=appcenter/app,cn=udm_module,cn=univention,dc=virea,dc=intranet

Waiting for activation of the extension object univention-app: OK
Waiting for activation of the extension object 66univention-appcenter_app: OK
Waiting for activation of the extension object app_syntax: OK
Waiting for file /usr/share/univention-appcenter/app_syntax.py: OK
Waiting for activation of the extension object appcenter/app:…ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-appcenter/app.py failed.

EXITCODE=1
33c9133a-82aa-4890-9b95-92288104b67c
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-s4-connector.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-samba.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 34univention-self-service.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-appcenter.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-diagnostic.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ipchange.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-join.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-lib.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-mrtg.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-quota.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-reboot.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-services.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-setup.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-sysinfo.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-top.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ucr.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-udm.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-updater.inst
EXITCODE=already_executed
RUNNING 35univention-self-service-passwordreset-umc.inst
EXITCODE=already_executed
RUNNING 35univention-server-overview.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 40univention-postgresql.inst
EXITCODE=already_executed
RUNNING 40univention-virtual-machine-manager-schema.inst
EXITCODE=already_executed
RUNNING 70kopano4ucs-udm.inst
EXITCODE=already_executed
RUNNING 81univention-nfs-server.inst
EXITCODE=already_executed
RUNNING 90univention-bind-post.inst
EXITCODE=already_executed
RUNNING 91univention-saml.inst
EXITCODE=already_executed
RUNNING 92univention-fetchmail-schema.inst
EXITCODE=already_executed
RUNNING 92univention-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 96univention-samba4.inst
EXITCODE=already_executed
RUNNING 97univention-s4-connector.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed
RUNNING 98univention-samba4-dns.inst
EXITCODE=already_executed
RUNNING 98univention-samba4-saml-kerberos.inst
EXITCODE=already_executed
univention-join-hooks: looking for hook type “join/post-joinscripts” on ucs01.virea.intranet
Found hooks:

Mo 25. Mär 10:06:37 CET 2019
univention-run-join-scripts finished


#8

You might not have notived my edit. So again:


#9

OK
root@ucs01:~# udm settings/udm_syntax remove --dn=“cn=app_syntax,cn=udm_syntax,cn=univention,$(ucr get/ldap/base)” univention-run.join-scripts
E: unknown action “get/ldap/base”, see --help
LDAP Error: Invalid DN syntax: invalid DN: cn=app_syntax,cn=udm_syntax,cn=univention,
root@ucs01:~#


#10

Hi,

sorry my fault. Typo. Today is Monday…

This is it:
udm settings/udm_syntax remove --dn="cn=app_syntax,cn=udm_syntax,cn=univention,$(ucr get ldap/base)"
then followed by:
univention-run.join-scripts

PS: Please keep your log entries short and discard the unneeded entries, makes it much more easier to read…
/CV


#11

ok here the output
root@ucs01:~# udm settings/udm_syntax remove --dn=“cn=app_syntax,cn=udm_syntax,cn=univention,$(ucr get ldap/base)”
Object removed: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet
root@ucs01:~# univention-run.join-scripts
-bash: univention-run.join-scripts: Kommando nicht gefunden.
root@ucs01:~# univention-run-join-scripts
univention-run-join-scripts: runs all join scripts existing on local computer.
copyright © 2001-2019 Univention GmbH, Germany

Running 30univention-appcenter.inst failed (exitcode: 1)

output of join.log

RUNNING 30univention-appcenter.inst
2019-03-25 10:33:56.080464946+01:00 (in joinscript_init)
Object exists: cn=apps,cn=univention,dc=virea,dc=intranet
Object exists: cn=ldapschema,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object univention-app.
Object exists: cn=ldapacl,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object 66univention-appcenter_app.
Object exists: cn=udm_syntax,cn=univention,dc=virea,dc=intranet
Object exists: cn=udm_module,cn=univention,dc=virea,dc=intranet
INFO: No change of core data of object appcenter/app.
No modification: cn=univention-app,cn=ldapschema,cn=univention,dc=virea,dc=intranet

No modification: cn=66univention-appcenter_app,cn=ldapacl,cn=univention,dc=virea,dc=intranet

Object created: cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet

No modification: cn=appcenter/app,cn=udm_module,cn=univention,dc=virea,dc=intranet

Waiting for activation of the extension object univention-app: OK
Waiting for activation of the extension object 66univention-appcenter_app: OK
Waiting for activation of the extension object app_syntax:…ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-appcenter/app_syntax.py failed.

EXITCODE=1
a320a10c-5334-4f5b-bb4f-566d0218443c
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-s4-connector.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-samba.inst


#12

Hi,

well, as the first attempt did not solve it looks like you have some mor issues on your system. Please post the output of the following commands on your master:

univention-directory-listener-ctrl status
ls -alh /var/lib/univention-ldap/listener/listener

/CV


#13

OK, Output of

root@ucs01:~# univention-directory-listener-ctrl status
Listener status:
 finish: univention-directory-listener: (pid 7920) 6s, normally down

Current Notifier ID on "ucs01.virea.intranet"
 2525

Last Notifier ID processed by local Listener:
 2212

Last transaction processed:
 2525 cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet a

Modules:
3       bind    /usr/lib/univention-directory-listener/system/bind.py
3       dhcp    /usr/lib/univention-directory-listener/system/dhcp.py
3       faillog /usr/lib/univention-directory-listener/system/faillog.py
3       gencertificate  /usr/lib/univention-directory-listener/system/gencertificate.py
3       hosteddomains   /usr/lib/univention-directory-listener/system/hosteddomains.py
3       keytab-member   /usr/lib/univention-directory-listener/system/keytab-member.py
3       keytab  /usr/lib/univention-directory-listener/system/keytab.py
3       ldap_extension  /usr/lib/univention-directory-listener/system/ldap_extension.py
3       ldap_server     /usr/lib/univention-directory-listener/system/ldap_server.py
3       license_uuid    /usr/lib/univention-directory-listener/system/license_uuid.py
3       nagios-client   /usr/lib/univention-directory-listener/system/nagios-client.py
3       nfs-homes       /usr/lib/univention-directory-listener/system/nfs-homes.py
3       nfs-shares      /usr/lib/univention-directory-listener/system/nfs-shares.py
3       nscd_update     /usr/lib/univention-directory-listener/system/nscd.py
3       nss     /usr/lib/univention-directory-listener/system/nss.py
3       pkgdb-watch     /usr/lib/univention-directory-listener/system/pkgdb-watch.py
3       portal_groups   /usr/lib/univention-directory-listener/system/portal_groups.py
3       portal_server   /usr/lib/univention-directory-listener/system/portal_server.py
3       quota   /usr/lib/univention-directory-listener/system/quota.py
3       s4-connector    /usr/lib/univention-directory-listener/system/s4-connector.py
3       samba4-idmap    /usr/lib/univention-directory-listener/system/samba4-idmap.py
3       samba-shares    /usr/lib/univention-directory-listener/system/samba-shares.py
3       selfservice-invitation  /usr/lib/univention-directory-listener/system/selfservice-invitation.py
3       selfservice     /usr/lib/univention-directory-listener/system/selfservice.py
3       udm_extension   /usr/lib/univention-directory-listener/system/udm_extension.py
3       umc-service-providers   /usr/lib/univention-directory-listener/system/umc-service-providers.py
3       univention-admin-diary-backend  /usr/lib/univention-directory-listener/system/univention-admin-diary-backend.py
3       univention-saml-idp-config      /usr/lib/univention-directory-listener/system/univention-saml-idp-config.py
3       univention-saml-servers /usr/lib/univention-directory-listener/system/univention-saml-servers.py
3       univention-saml-simplesamlphp-configuration     /usr/lib/univention-directory-listener/system/univention-saml-simplesamlphp-configuration.py
3       well-known-sid-name-mapping     /usr/lib/univention-directory-listener/system/well-known-sid-name-mapping.py


root@ucs01:~# ls -alh /var/lib/univention-ldap/listener/listener
-rw-r--r-- 1 listener root 0 Mär 25 10:33 /var/lib/univention-ldap/listener/listener
root@ucs01:~#

#14

Hi,

you are having an issue with your listener as the IDs are different:

Current Notifier ID on "ucs01.virea.intranet"
 2525

Last Notifier ID processed by local Listener:
 2212

Please check this article.


#15

Hello,
this article ist very difficult, can yout help me.

this part couldnt i do:

How can these mutations be found

The following Python script finds the first mutation in the file. Please note that the file may be affected by multiple error types, that’s why the script should be run again after fixing an issue:

#!/usr/bin/env python
with open('/var/lib/univention-ldap/notify/transaction', 'r') as transaction:
  lc = 1
  for line in transaction:
    (head, tail) = line.strip().split(' ', 1)
    try:
      cur_lc = int(head)
    except ValueError:
      print 'ERROR at line %d: "%s"' % (lc, line)
      break
    if len(tail.rsplit(' ', 1)) != 2:
      print 'ERROR missing third column at line %d: "%s"' % (lc, line)
      break
    if cur_lc != lc:
      print 'ERROR at line %d: "%s"' % (lc, line)
      break
    lc += 1

This part have i got it and done

How can the file be repaired

1. Missing IDs can be re-generated with the following command

service univention-directory-notifier stop
service univention-directory-listener stop
service slapd stop
# Now re-enumerate the transaction file:
cut -d ' ' -f 2- /var/lib/univention-ldap/notify/transaction | awk '{print NR " " $0}' > /var/lib/univention-ldap/notify/transaction.new
mv /var/lib/univention-ldap/notify/transaction /var/lib/univention-ldap/notify/transaction.bak
mv /var/lib/univention-ldap/notify/transaction.new /var/lib/univention-ldap/notify/transaction
# And set last_id to the last value:
tail -n 1 /var/lib/univention-ldap/notify/transaction | awk '{print $1}' > /var/lib/univention-ldap/last_id
service univention-directory-notifier start
service slapd start
service univention-directory-listener start

but it doesn’t work:

root@ucs01:~# univention-directory-listener-ctrl status
Listener status:
 finish: univention-directory-listener: (pid 7171) 4s, normally down

Current Notifier ID on "ucs01.virea.intranet"
 2525

Last Notifier ID processed by local Listener:
 2212

Last transaction processed:
 2525 cn=app_syntax,cn=udm_syntax,cn=univention,dc=virea,dc=intranet a

#16

The following article has solved the problem: