70kopano4ucs join failed

Hello,

thank you so much for your support.

root@rohrpostix:~# journalctl -u slapd -n 50
-- No entries --

On another member server the same output is installed.

I’m afraid that hasn’t helped yet.
File changed, reboot, domain-join aborts with error.

LDAP Error: Undefined attribute type: kopanoMrAcceptRecurring: attribute type undefined

__JOINERR__:FAILED: /usr/lib/univention-install/70kopano4ucs.inst


**************************************************************************
* Join failed!                                                           *
* Contact your system administrator                                      *
**************************************************************************
* Message:  Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: 70kopano4ucs.inst
**************************************************************************
Thu Nov 22 12:49:17 CET 2018: finish /usr/sbin/univention-join

Auf dem DC-Master ist das selbe Schema installiert.

I rebooted the DC Master. Now the slapd doesn’t run anymore. So the error seems to be caused here.

Thomas

then what is logged from slapd on that system?

Additional question: Which kopano4ucs-schema package version is installed on the DC Master

Hello,

The slapd is running again. I had damaged the file /var/lib/univention-ldap/local-schema when comparing.

root@majestix:~# dpkg -l | grep -w kopano4ucs
ii  kopano4ucs-lib                                      1.4.18                                           all          Library package for common Kopano4ucs functions
ii  kopano4ucs-schema                                   1.4.18                                           all          LDAP schema for the Kopano4ucs integration
ii  kopano4ucs-udm                                      1.4.18                                           all          UDM extensions for the Kopano4ucs integration
root@majestix:~#

Please update the packages on the DC Master and all DC Backups via univention-app install --only-master-packages --do-not-install-master-packages-remotely kopano-core
Then, run the join scripts again.

Logs from that App update would be interesting.
From the server where the update was started (probably your DC master) and the server kopano is installed
/var/log/univention/*appcenter*.log

1 Like

Hello,

OK

same bug

Object exists: cn=kopanoDisabledFeature,cn=kopano,cn=custom attributes,cn=univention,dc=thhoe,dc=de
LDAP Error: Undefined attribute type: kopanoMrAcceptRecurring: attribute type undefined

__JOINERR__:FAILED: /usr/lib/univention-install/70kopano4ucs.inst


**************************************************************************
* Join failed!                                                           *
* Contact your system administrator                                      *
**************************************************************************
* Message:  Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: 70kopano4ucs.inst
**************************************************************************
Thu Nov 22 14:37:03 CET 2018: finish /usr/sbin/univention-join

I think in this exact moment this could be because the 8.6.8.2 release was taken down because of Mails stuck in queue after todays update to Kopano 8.6.8.2.

I changed /var/lib/univention-ldap/local-schema to the member server. Maybe that’s why it still doesn’t work? How can I fix this?

The reason for the update is the new UCS updates. I did the update via the console. First the DC-Master, then DC-Backup and both memberservers at the same time.
The mistake I probably made is the command on the console.

echo -e '\n\nmanuelles Update ueber console \n'`date` >> /var/log/univention/updater.log \
&& screen univention-upgrade --ignoressh --noninteractive  \
&& ucr get update/reboot/required >> /var/log/univention/updater.log \
&& less -N +G /var/log/univention/updater.log

The question if I want to update kopano was not answered, the process was frozen. After that I restarted the update on another console. That something didn’t work was only noticed today.

root@rohrpostix:~# mailq
Mail queue is empty
root@rohrpostix:~#

:frowning_face:

I would ignore the join scripts for now and see that slapd starts again. once that is done you can login to kopano again.

I have connected to the Testapp-center and installed the update.
Slapd is running, but I can’t log in to kopano.
The join-script reports the same error again.

The app was just re-released, package updates should be available on affected systems.

In der Systemdiagnose steht:

STDOUT: Warning: 'kopano4ucs' is not configured. 
Error: Not all install files configured: 1 missing

Liegt der Fehler vielleicht hier?

Can you post the logging of Kopano-server from such a log in attempt? (and maybe from startup)

Hello fbartels, hello damrose,

I was able to solve the problem with their clues.
When diagnosing the system (I should have done it as 1.) there was an error with the SSL certificates.
My last steps were:

  • Disabling the firewall between DC master and mail server, system diagnostics is now without problems.
  • Update of the DC-Master with the test version, so that the Master and Mailserver are the same version.
  • Update from /var/lib/univention-ldap/local-schema/kopano4ucs.schema to the mailserver, which I had changed at the beginning.
  • Execute all outstanding join scripts on the mail server. This time without problems.
  • Reboot the mail server.

I suspect that the error occurred because the DC master was not actualized during the mail server update. What exactly goes wrong in the firewall I still have to analyze.

Many thanks for the support.

Thomas

Translated with www.DeepL.com/Translator

1 Like

Hello,

I was faster than I thought.
I configured the firewall according to this document.
When analyzing the open firewall I noticed that port 80-tcp is used.
This port was not open until now, because I don’t use UVMM.
I now have the following ports open:

  • TCP: 22, 443, 6669, 6670, 80
  • TCP/UDP: 37, 53, 88, 123, 464, 749, 7389, 7636
    Should I continue to share ports, possibly for docker apps? Benno-Mailarchiv is still running on the mailserver.

Translated with www.DeepL.com/Translator

Forgotten link

Hi, short feedback: here, we had exact the same problem:

LDAP Error: Undefined attribute type: kopanoMrAcceptRecurring: attribute type undefined

It was solved by the comment from @damrose
:blush: Thank you!

Please update the packages on the DC Master and all DC Backups via univention-app install --only-master-packages --do-not-install-master-packages-remotely kopano-core
Then, run the join scripts again.

Logs from that App update would be interesting.
From the server where the update was started (probably your DC master) and the server kopano is installed
/var/log/univention/*appcenter*.log

Hi guys…

It is 2020 and 70kopano4ucs join still failing.

I have one UCS Master and two UCS Backup.

I am using second UCS Backup to install kopano-core. 70kopano4ucs join log fail is:

RUNNING 70kopano4ucs-udm.inst
2020-04-06 11:43:29.894165221-03:00 (in joinscript_init)
Object exists: ou=Kopano Addresslists,dc=cds,dc=local
Object exists: cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=kopano,dc=cds,dc=local
Object exists: cn=contacts,cn=kopano,dc=cds,dc=local
Object exists: cn=non-active,cn=kopano,dc=cds,dc=local
Object exists: cn=kopano-group,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=kopano-group-hidden,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=kopano-group-sendas,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=kopano-role,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=k4uUserSendAsPrivilege,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=SendAsPrivilege,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=kopano-user-hidden,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=MRAccept,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=MRProcess,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=MRAcceptConflictingTimes,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=MRAcceptRecurringItems,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=quotaOverride,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=quotaWarn,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=quotaSoft,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=quotaHard,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=kopanoEnabledFeature,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
Object exists: cn=kopanoDisabledFeature,cn=kopano,cn=custom attributes,cn=univention,dc=cds,dc=local
LDAP Error: Undefined attribute type: kopanoMrAcceptRecurring: attribute type undefined

EXITCODE=3
697994c1-0317-497a-a1d0-52b2f871d1c6
univention-join-hooks: looking for hook type "join/post-joinscripts" on ucs01.cds.local
Found hooks:


seg abr  6 11:43:36 -03 2020
univention-run-join-scripts finished

As @damrose sugested i run univention-app install --only-master-packages --do-not-install-master-packages-remotely kopano-core at UCS Master and both UCS Backup. But 70kopano4UCS join still fail.

Is there another update for this problem?

Hi @nathanielmorais,

please provide the information requested earlier:

In addition the exact versions of software used could be interesting. You can get this when running (on all involved systems):

# exactly installed versions:
dpkg -l | grep -w 'kopano4ucs\|kopano-server-packages\|kopano-webapp\|z-push-kopano'
# Univention version and installed app versions:
univention-app info

Thanks for the reply.

/var/log/univention/appcenter.log: appcenter.txt (1.2 MB)

dpkg -l | grep -w ‘kopano4ucs|kopano-server-packages|kopano-webapp|z-push-kopano’ :

ii  kopano-server-packages                              8.7.1.0-0+9.1                                                       all          Metapackage to install the entire Kopano Core stack
ii  kopano4ucs                                          1.6.2                                                               all          Kopano4ucs integration package for Univention Corporate Server
ii  kopano4ucs-app                                      1.6.2                                                               all          Package for UCS app specific logic
ii  kopano4ucs-lib                                      1.6.2                                                               all          Library package for common Kopano4ucs functions
ii  kopano4ucs-schema                                   1.6.2                                                               all          LDAP schema for the Kopano4ucs integration
ii  kopano4ucs-udm                                      1.6.2                                                               all          UDM extensions for the Kopano4ucs integration

univention-app info:

UCS: 4.4-4 errata499
Installed: kopano-core=8.7.1.0-1 wordpress=5.2.3 4.3/etherpad-lite=1.6.6
Upgradable: etherpad-lite
Mastodon