[SOLVED] Cannot login to rocketchat / LDAP Error during installation / Adminuser

Hi,
I have got UCS up and running with Kopano and Nextcloud. Also, I configured a standarduser and do not use SSO.

Nextcloud and Kopano are working with the credentials of the standarduser, but rocketchat is not.

I can open the loginpage of rocketchat via browser (https://FQDN/rocketchat/home), but If i login with the credentials of the standarduser it tells me that username or password is wrong.

If I try to create a new user in rocketchat, it tells me that the mailadress is “in use” (clear to me, cause it is the mailadress of the standarduser I added in UCS. The App “rocketchat” is activated for the user in the Adminpanel / Users.

When Installing rocketchat via univention-app install rocketchat, it tells:

type or pasteCreating data directories for rocketchat...
Registering UCR for rocketchat
Marking rocketchat=3.7.4 as installed
File: /etc/univention/service.info/services/univention-appcenter.cfg
File: /usr/share/univention-portal/apps.json
Module: kopano-cfg
Multifile: /etc/postgresql/9.6/main/pg_hba.conf
Setting ports for apache proxy
Multifile: /etc/apache2/sites-available/000-default.conf
Multifile: /etc/apache2/sites-available/default-ssl.conf
Module: kopano-cfg
File: /etc/apache2/sites-available/univention-letsencrypt.conf
Adding localhost to LDAP object
Setting overview variables
Module: kopano-cfg
Module: create_portal_entries
Reloading apache2 configuration (via systemctl): apache2.service.
Registering schema /usr/share/univention-appcenter/apps/rocketchat/rocketchat.schema
INFO: No change of core data of object rocketchat.
No modification: cn=rocketchat,cn=ldapschema,cn=univention,dc=domain,dc=at

WARNING: cannot append rocketchat to appidentifier, value exists
No modification: cn=rocketchat,cn=ldapschema,cn=univention,dc=domain,dc=at

Waiting for activation of the extension object rocketchat: OK
Registering attribute rocketchatActivated
Registering the container host rocke-28086616 for rocketchat
Module: kopano-cfg
Module: kopano-cfg
Downloading app images
Running command: docker-compose -p rocketchat pull
Pulling mongo              ... done
Pulling mongo-init-replica ... done
Pulling rocketchat         ... done

Initializing app image
Running command: docker-compose -p rocketchat up -d --no-build --no-recreate
Creating network "rocketchat_appcenter_net" with the default driver
Creating rocketchat_mongo_1 ... done
Creating rocketchat_rocketchat_1         ... done
Creating rocketchat_mongo-init-replica_1 ... done

Module: kopano-cfg
Preconfiguring container 1ce3f01fc4a4c6d7290ed3b7e4debe67e9a290e4ed333558bb69d0a001e3d818
Starting mongo              ...
Starting mongo-init-replica ...
Starting rocketchat         ...
 tarting mongo-init-replica ...  done
Configuring rocketchat=3.7.4
ucr cannot be found, falling back to changing the database file directly
Executing interface restore_data_before_setup for rocketchat
No interface defined
Executing interface restore_data_after_setup for rocketchat
No interface defined
Configuring rocketchat=3.7.4
Waiting for Rocket.Chat to start (max. 5 minutes): .. Rocket.Chat has started.
Retrieve LDAP password for Rocket.Chat LDAP connection from app container.
Set configuration parameter "LDAP_Authentication_Password" in Rocket.Chat: FAILED!
Please login to Rocket.Chat with an admin account and set the LDAP password manually.
Set require password change for user "admin": FAILED
Executing interface configure for rocketchat
No interface defined
updating certificates for rocketchat=3.7.4
Installing join script /var/cache/univention-appcenter/appcenter.software-univention.de/4.4/rocketchat_20201221150407.inst
univention-run-join-scripts: runs all join scripts existing on local computer.
copyright (c) 2001-2020 Univention GmbH, Germany

Running pre-joinscripts hook(s):  done
Running 00kopano4ucs-safemode-on.inst skipped (already executed)
Running 01univention-ldap-server-init.inst skipped (already executed)
Running 02univention-directory-notifier.inst skipped (already executed)
Running 03univention-directory-listener.inst skipped (already executed)
Running 04univention-ldap-client.inst skipped (already executed)
Running 05univention-bind.inst skipped (already executed)
Running 08univention-apache.inst skipped (already executed)
Running 10univention-ldap-server.inst skipped (already executed)
Running 11univention-heimdal-init.inst skipped (already executed)
Running 11univention-pam.inst skipped (already executed)
Running 15univention-directory-notifier-post.inst skipped (already executed)
Running 15univention-heimdal-kdc.inst skipped (already executed)
Running 18python-univention-directory-manager.inst skipped (already executed)
Running 20univention-directory-policy.inst skipped (already executed)
Running 20univention-join.inst skipped (already executed)
Running 20univention-ldap-config-master.inst skipped (already executed)
Running 22univention-directory-manager-rest.inst skipped (already executed)
Running 26univention-nagios-common.inst skipped (already executed)
Running 30univention-appcenter.inst skipped (already executed)
Running 30univention-nagios-client.inst skipped (already executed)
Running 33univention-portal.inst skipped (already executed)
Running 34univention-management-console-server.inst skipped (already executed)
Running 35univention-appcenter-docker.inst skipped (already executed)
Running 35univention-management-console-module-appcenter.inst skipped (already executed)
Running 35univention-management-console-module-diagnostic.inst skipped (already executed)
Running 35univention-management-console-module-ipchange.inst skipped (already executed)
Running 35univention-management-console-module-join.inst skipped (already executed)
Running 35univention-management-console-module-lib.inst skipped (already executed)
Running 35univention-management-console-module-mrtg.inst skipped (already executed)
Running 35univention-management-console-module-quota.inst skipped (already executed)
Running 35univention-management-console-module-reboot.inst skipped (already executed)
Running 35univention-management-console-module-services.inst skipped (already executed)
Running 35univention-management-console-module-setup.inst skipped (already executed)
Running 35univention-management-console-module-sysinfo.inst skipped (already executed)
Running 35univention-management-console-module-top.inst skipped (already executed)
Running 35univention-management-console-module-ucr.inst skipped (already executed)
Running 35univention-management-console-module-udm.inst skipped (already executed)
Running 35univention-management-console-module-updater.inst skipped (already executed)
Running 35univention-server-overview.inst skipped (already executed)
Running 36univention-management-console-module-apps.inst skipped (already executed)
Running 40univention-postgresql.inst skipped (already executed)
Running 40univention-virtual-machine-manager-schema.inst skipped (already executed)
Running 50nextcloud.inst skipped (already executed)
Running 50rocketchat.inst done
Running 70kopano4ucs-udm.inst skipped (already executed)
Running 70kopano4ucs.inst skipped (already executed)
Running 71kopano4ucs-webapp.inst skipped (already executed)
Running 81univention-nfs-server.inst skipped (already executed)
Running 90univention-bind-post.inst skipped (already executed)
Running 91univention-saml.inst skipped (already executed)
Running 92univention-management-console-web-server.inst skipped (already executed)
Running 98univention-pkgdb-tools.inst skipped (already executed)
Running 99kopano4ucs-safemode-off.inst skipped (already executed)
Running post-joinscripts hook(s):  done
Module: kopano-cfg
Module: kopano-cfg
Potential script hook folder is unused: /var/lib/univention-appcenter/apps/rocketchat/local/hooks/post-install.d
Executing interface update_available for rocketchat
No interface defined
 code here

As you can see there is a LDAP problem.

What exactly is the adminuser of rocketchat? (I is not the adminuser of UCS)

SOLVED: Sometimes, reading all messages help a lot: Please login to Rocket.Chat with an admin account and set the LDAP password manually.

Mastodon