Nextcloud join script does not work

There is a similar error reported in German, but my German knowledge is too rusty to take on the challenge to reply there.

Essentially I also tried to add nextcloud to my UCS and could not make the join script to complete.
I tried the solution offered in the other thread but did not help for me.
I also manually installed the missing univention-ldap-overlay-memberof deb but it did not help.
To confirm that there is nothing wrong with my server, just the package is the issue, I installed a fresh UCS server in a virtual environment and then added nextcloud as the only package. The join script did not complete there either.
See attached error log for reference

5a1f117b OVER: Loading Translog Overlay
5a1f117b Loading shadowbind Overlay.OVER: db_init
5a1f117b OVER: Configuring Translog Overlay
5a1f117b OVER: Configured Translog Overlay to use file "/var/lib/univention-ldap/listener/listener"
5a1f117b shadowbind_db_init
5a1f117b shadowbind_db_config
5a1f117b shadowbind_db_open
5a1f117e OVER: db_close
5a1f117e shadowbind_db_destroy
5a1f117e OVER: db_destroy

univention-run-join-scripts started
Wed Nov 29 15:15:26 EST 2017

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 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-ad-connector.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-adconnector.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-server-overview.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 40univention-virtual-machine-manager-schema.inst
EXITCODE=already_executed
RUNNING 81univention-ad-connector.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-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed

Wed Nov 29 15:15:27 EST 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Wed Nov 29 15:24:43 EST 2017

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 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-ad-connector.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-adconnector.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-server-overview.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 40univention-virtual-machine-manager-schema.inst
EXITCODE=already_executed
RUNNING 81univention-ad-connector.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-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed

Wed Nov 29 15:24:44 EST 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Wed Nov 29 15:57:14 EST 2017

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 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-ad-connector.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 34univention-management-console-server.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-adconnector.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-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 50nextcloud.inst
2017-11-29 15:57:23.170870714-05:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=example,dc=net
Object created: cn=Nextcloud,cn=services,cn=univention,dc=example,dc=net
Object modified: cn=ucs-1012,cn=dc,cn=computers,dc=example,dc=net
Create nextcloud/ucs/modifyUsersFilter
Create nextcloud/ucs/userEnabled
Create nextcloud/ucs/userQuota
Create nextcloud/ldap/cacheTTL
Create nextcloud/ldap/homeFolderAttribute
Create nextcloud/ldap/userSearchAttributes
Create nextcloud/ldap/userDisplayName
Create nextcloud/ldap/groupDisplayName
Create nextcloud/ldap/base
Create nextcloud/ldap/baseUsers
Create nextcloud/ldap/baseGroups
Create nextcloud/ldap/filterLogin
Create nextcloud/ldap/filterUsers
Create nextcloud/ldap/filterGroups
dpkg-query: no packages found matching univention-ldap-overlay-memberof
Object exists: cn=ldapschema,cn=univention,dc=example,dc=net
INFO: No change of core data of object nextcloud.
No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=example,dc=net

Waiting for activation of the extension object nextcloud: OK
Object created: cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
Object created: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
Object created: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
Object created: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 173 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 173 100 173 0 0 167 0 0:00:01 0:00:01 --:--:-- 167
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 92 1725 0 0 100 1587 0 3436 --:--:-- --:--:-- --:--:-- 3435 100 1725 100 138 100 1587 298 3434 --:--:-- --:--:-- --:--:-- 3435
modifying uid=Administrator,cn=users,dc=example,dc=net ..
Object modified: uid=Administrator,cn=users,dc=example,dc=net
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 300 100 300 0 0 1475 0 --:--:-- --:--:-- --:--:-- 1477
Could not Administrator to admin group, because user was not found:
<?xml version="1.0"?> <ocs> <meta> <status>failure</status> <statuscode>404</statuscode> <message>Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT: </message> </meta> <data/> </ocs>
EXITCODE=0
RUNNING 81univention-ad-connector.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-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed

Wed Nov 29 15:57:31 EST 2017
univention-run-join-scripts finished


univention-run-join-scripts started
Wed Nov 29 16:16:54 EST 2017

RUNNING 50nextcloud.inst
2017-11-29 16:17:01.911792500-05:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=example,dc=net
Object exists: cn=Nextcloud,cn=services,cn=univention,dc=example,dc=net
WARNING: cannot append Nextcloud to service, value exists
No modification: cn=ucs-1012,cn=dc,cn=computers,dc=example,dc=net
Not updating nextcloud/ucs/modifyUsersFilter
Not updating nextcloud/ucs/userEnabled
Not updating nextcloud/ucs/userQuota
Not updating nextcloud/ldap/cacheTTL
Not updating nextcloud/ldap/homeFolderAttribute
Not updating nextcloud/ldap/userSearchAttributes
Not updating nextcloud/ldap/userDisplayName
Not updating nextcloud/ldap/groupDisplayName
Not updating nextcloud/ldap/base
Not updating nextcloud/ldap/baseUsers
Not updating nextcloud/ldap/baseGroups
Not updating nextcloud/ldap/filterLogin
Not updating nextcloud/ldap/filterUsers
Not updating nextcloud/ldap/filterGroups
Object exists: cn=ldapschema,cn=univention,dc=example,dc=net
INFO: No change of core data of object nextcloud.
No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=example,dc=net

Waiting for activation of the extension object nextcloud: OK
Object exists: cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
E: Object exists: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
No modification: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
E: Object exists: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
No modification: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
E: Object exists: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
Object modified: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
curl: (3) <url> malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 300 100 300 0 0 2103 0 --:--:-- --:--:-- --:--:-- 2112
EXITCODE=0

Wed Nov 29 16:17:07 EST 2017
univention-run-join-scripts finished

that’s the crucial point, I bet, unfortunately we don’t know what exactly is wrong here. It’s the curl call that is supposed to configure the LDAP config.

@lleo can you do following in a shell on the machine were you want to install nextcloud on do following?

eval "$(ucr shell)" 
echo "https://${hostname}.${domainname}/nextcloud"

the first command just initializes ucr variables, the second command composes the destination url where nextcloud can be reached. The malformed URL seems to come from the next curl usage, but it would be good to have this covered nevertheless.

The other thing, does /var/lib/univention-appcenter/apps/nextcloud/conf/ldap-config-id exist (also on the machine where Nextcloud is supposed to be installed)? I am not sure whether it is removed after the failed joinscript though, I believe it stays.

Hi, thanks for your reply, was on the road, hence the delay.

The output of the commands are below:

eval "$(ucr shell)" 
echo "https://${hostname}.${domainname}/nextcloud"
https://ucs.example.net/nextcloud

/var/lib/univention-appcenter/apps/nextcloud/conf/ldap-config-id does exist after failure to run the join script. Its content is “s01”
also exists in nextc-[random numbers] machine which is accessed by “univention-app shell nextcloud” command

This looks all how it should. The next candidate is that the configuration of the LDAP backend failed, perhaps due to a problematic data string, despite urlEncoding the values. Now this is a bit cumbersome to reproduce… but in the coming does 12.0.4 should be available (I just requested to publish it to the store).

I added some optional debug output for the curl calls. When it is available, can you please enable the debug mode first via ucr set nextcloud/ucs/debug=1 and subsequently perform an install? Then, watch the /var/log/univention/join.log for “curl failed with error”. It will have the error number (6 in this case) and the parameters appended. Please post the whole error message, but please make sure to remove/obfuscate sensitive data prior to posting (special characters are of interest and should be mentioned, please)! Most importantly the value for ldapAgentPassword.

Thanks, I tried to find out more in my test environment why curl fails, by performing the commands one by one manually from the join script to no avail.

In the meantime version 12.0.4 is still not come out, so assume other issues may have been identified.

Nope, at least i haven’t heard back from the app center team. I’ll inquire on Thu if nothing happened till then.

@lleo I got the update that it was published yesterday

I tried to install nextcloud again on a fully updated UCS that has kopano apps and letsencrypt packages installed.
The join script log did not have a lot of information, even after setting the nextcloud/ucs/debug=1 key.
See enclosed:

[snip]
RUNNING 50nextcloud.inst
2017-12-15 10:16:29.170271915-05:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=example,dc=net
Object created: cn=Nextcloud,cn=services,cn=univention,dc=example,dc=net
Object modified: cn=ucs,cn=dc,cn=computers,dc=example,dc=net
Create nextcloud/ucs/modifyUsersFilter
Create nextcloud/ucs/userEnabled
Create nextcloud/ucs/userQuota
Not updating nextcloud/ucs/debug
Create nextcloud/ldap/cacheTTL
Create nextcloud/ldap/homeFolderAttribute
Create nextcloud/ldap/userSearchAttributes
Create nextcloud/ldap/userDisplayName
Create nextcloud/ldap/groupDisplayName
Create nextcloud/ldap/base
Create nextcloud/ldap/baseUsers
Create nextcloud/ldap/baseGroups
Create nextcloud/ldap/filterLogin
Create nextcloud/ldap/filterUsers
Create nextcloud/ldap/filterGroups
Module: kopano-cfg
Object exists: cn=ldapschema,cn=univention,dc=example,dc=net
INFO: No change of core data of object nextcloud.
No modification: cn=nextcloud,cn=ldapschema,cn=univention,dc=example,dc=net

Waiting for activation of the extension object nextcloud: OK
Object created: cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
Object created: cn=nextcloudUserEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
Object created: cn=nextcloudUserQuota,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
Object created: cn=nextcloudGroupEnabled,cn=nextcloud,cn=custom attributes,cn=univention,dc=example,dc=net
<?xml version="1.0"?>
<ocs>
 <meta>
  <status>ok</status>
  <statuscode>200</statuscode>
  <message>OK</message>
 </meta>
 <data/>
</ocs>
Could not Administrator to admin group, because user was not found:
<?xml version="1.0"?> <ocs> <meta> <status>failure</status> <statuscode>404</statuscode> <message>Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT: </message> </meta> <data/> </ocs>
EXITCODE=0
RUNNING 70kopano4ucs-udm.inst
EXITCODE=already_executed
RUNNING 70kopano4ucs.inst
EXITCODE=already_executed
RUNNING 71kopano4ucs-webapp.inst
EXITCODE=already_executed
RUNNING 81univention-ad-connector.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-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed
RUNNING 99kopano4ucs-safemode-off.inst
EXITCODE=already_executed

Fri Dec 15 10:18:56 EST 2017
univention-run-join-scripts finished


Hello blizzz
Happy New Year!

Got this weekend some time on my hand and tried to sort out the nextcloud install issue again.

Not sure if you expected the output as I replied earlier above, but I went on and replaced in the nextcloud join script the host entry with the ucs ip address and the script in verbose mode fails with the following error.

curl failed with error 51
++ exit 51
+ RESULT=
+ die 'Failed to request an LDAP config id from Nextcloud'
+ rc=51
+ joinscript_log_error 'Failed to request an LDAP config id from Nextcloud'
+ local line
+ read line
+ echo -en 'Failed to request an LDAP config id from Nextcloud'
+ exit 51
EXITCODE=51

Sat Jan  6 21:30:39 EST 2018
univention-run-join-scripts finished

Obviously in shell in which I ran

root@ucs:~# univention-run-join-scripts --force --run-scripts 50nextcloud.inst

the ip address and the dns of ucs.example.net resolves correctly, as reported previously even after eval “$(ucr shell)”

If I however start a shell to the docker environment with
root@ucs:~# univention-app shell nextcloud
there is no name resolution of any and no network commands work.

It is not easy but have to admit that I made a mistake that caused nextcloud to not install correctly,
And the issue was the DNS resolution. After fixed this, install and join script working correctly.

1 Like

I have a similar probelm as you did probably but I could not understand waht is it ? So could you help me that what wrong with DNS ?

I have had the same problem yesterday and was able to solve it.

It seems to be related to Let’s Encrypt App from the App Center. I uninstalled Let’s Encrypt from that server and ran the Nextcloud installation. Then the join script worked without problems and all config settings in Nextcloud (like LDAP settings and admin login) were set correctly.
Afterwards, I re-installed Let’s Encrypt, set up the domains in it and now everything is fine.

Mastodon