Unable to install Nextcloud

Hi,

aftzer uninstalling Nextcloud before one year i want to reinstall Nextcloud.

I was not able to reinstall before i was not able to run the join script for unistallation of Nextcloud.

please find here the log:

 19086 actions.get                      19-01-31 21:13:42 [    INFO]: appcenter/apps/nextcloud/container
 19086 actions.get.progress             19-01-31 21:13:42 [   DEBUG]: 100
 19651 cache                            19-01-31 21:13:54 [   DEBUG]: Cache outdated. Need to rebuild
 19651 cache                            19-01-31 21:13:54 [   DEBUG]: Loaded 149 apps from cache
 19651 cache                            19-01-31 21:13:54 [   DEBUG]: Cache outdated. Need to rebuild
 19651 cache                            19-01-31 21:13:54 [   DEBUG]: Loaded 214 apps from cache
 19651 cache                            19-01-31 21:13:54 [   DEBUG]: Cache outdated. Need to rebuild
 19651 cache                            19-01-31 21:13:54 [   DEBUG]: Loaded 386 apps from cache
 19651 actions.get                      19-01-31 21:13:54 [   DEBUG]: Calling get
 19651 actions.get.progress             19-01-31 21:13:54 [   DEBUG]: 0
 19651 actions.get                      19-01-31 21:13:54 [    INFO]: appcenter/apps/nextcloud/ip
 19651 actions.get.progress             19-01-31 21:13:54 [   DEBUG]: 100
 10735 actions.stop                     19-01-31 21:13:55 [    INFO]: Stopping docker-app-nextcloud (via systemctl): docker-app-nextcloud.service.
 10735 actions.stop                     19-01-31 21:13:55 [   DEBUG]: /etc/init.d/docker-app-nextcloud returned with 0
 10735 actions.stop.progress            19-01-31 21:13:55 [   DEBUG]: 100
 10735 actions.remove.progress          19-01-31 21:13:55 [   DEBUG]: 45
 10735 actions.remove                   19-01-31 21:13:55 [   DEBUG]: Calling /usr/sbin/update-rc.d docker-app-nextcloud remove
 10735 actions.remove                   19-01-31 21:13:55 [ WARNING]: insserv: warning: script 'K01univention-system-setup-boot' missing LSB tags and overrides
 10735 actions.remove                   19-01-31 21:13:55 [ WARNING]: insserv: warning: script 'univention-system-setup-boot' missing LSB tags and overrides
 10735 actions.remove                   19-01-31 21:13:55 [ WARNING]: insserv: warning: script 'univention-system-setup-boot-prepare' missing LSB tags and overrides
 10735 actions.remove                   19-01-31 21:13:55 [   DEBUG]: /usr/sbin/update-rc.d returned with 0
 10735 actions.remove                   19-01-31 21:13:55 [    INFO]: Removing localhost from LDAP object
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: Changed: set([u'nextcloud'])
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: Local hosts are: ['server1.bnet.intranet', '192.168.2.2', '192.168.1.2']
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: Processing cn=nextcloud,cn=portal,cn=univention,dc=bnet,dc=intranet
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: Attrs: {}
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: Links: []
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: Existing links: ['https://server1.bnet.intranet/nextcloud/', 'https://192.168.2.2/nextcloud/', 'https://192.168.1.2/nextcloud/']
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: New links: []
 10735 portalentries                    19-01-31 21:13:56 [   DEBUG]: Removing DN
 10735 actions.remove                   19-01-31 21:13:57 [   DEBUG]: Calling /etc/init.d/apache2 reload
 10735 actions.remove                   19-01-31 21:13:57 [    INFO]: Reloading apache2 configuration (via systemctl): apache2.service.
 10735 actions.remove                   19-01-31 21:13:57 [   DEBUG]: /etc/init.d/apache2 returned with 0
 10735 actions.remove.progress          19-01-31 21:13:57 [   DEBUG]: 55
 10735 actions.remove.progress          19-01-31 21:13:57 [   DEBUG]: 60
 10735 actions.remove.progress          19-01-31 21:13:57 [   DEBUG]: 70
 10735 actions.remove.progress          19-01-31 21:13:57 [   DEBUG]: 80
 10735 actions.remove                   19-01-31 21:13:57 [    INFO]: Installing join script /var/cache/univention-appcenter/appcenter.software-univention.de/4.1/nextcloud_20190114172052.uinst
 10735 actions.remove                   19-01-31 21:13:57 [   DEBUG]: Calling /usr/sbin/univention-run-join-scripts
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: univention-run-join-scripts: runs all join scripts existing on local computer.
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: copyright (c) 2001-2018 Univention GmbH, Germany
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: 
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 01univention-ldap-server-init.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 02univention-directory-notifier.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 03univention-directory-listener.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 04univention-ldap-client.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 05univention-bind.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 08univention-apache.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 10univention-ldap-server.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:58 [    INFO]: Running 11univention-heimdal-init.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 11univention-pam.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 15univention-directory-notifier-post.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 15univention-heimdal-kdc.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 18python-univention-directory-manager.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 20univention-directory-policy.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 20univention-join.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 25univention-dhcp.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 26univention-nagios-common.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 28univention-nagios-server.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 30univention-appcenter.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 30univention-nagios-client.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 31univention-nagios-libvirtd-kvm.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 31univention-nagios-s4-connector.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 31univention-nagios-samba.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 31univention-nagios-uvmmd.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 33univention-portal.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 34univention-management-console-server.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 35univention-appcenter-docker.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 35univention-management-console-module-appcenter.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:13:59 [    INFO]: Running 35univention-management-console-module-diagnostic.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-ipchange.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-join.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-lib.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-mrtg.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-printers.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-quota.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-reboot.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-services.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-setup.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-sysinfo.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-top.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-ucr.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-udm.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-management-console-module-updater.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-nagios-cups.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-nagios-dansguardian.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-nagios-squid.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 35univention-server-overview.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:00 [    INFO]: Running 36univention-management-console-module-apps.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 40univention-postgresql.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 40univention-virtual-machine-manager-schema.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 43univention-virtual-machine-manager-node-common.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 44univention-virtual-machine-manager-daemon.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 44univention-virtual-machine-manager-node-kvm.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 45univention-management-console-module-uvmm.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 78univention-kde.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 79univention-printserver.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 80univention-radius.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 81univention-nfs-server.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 90univention-bind-post.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 91univention-saml.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 92univention-management-console-web-server.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 94univention-openvpn-master.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 94univention-openvpn-server.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 94univention-openvpn-sitetosite.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 96univention-samba4.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 97univention-s4-connector.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 98univention-pkgdb-tools.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 98univention-samba4-dns.inst skipped (already executed)
 10735 actions.remove                   19-01-31 21:14:01 [    INFO]: Running 98univention-samba4-saml-kerberos.inst skipped (already executed)
 21784 cache                            19-01-31 21:14:02 [   DEBUG]: Cache outdated. Need to rebuild
 21784 cache                            19-01-31 21:14:02 [   DEBUG]: Loaded 149 apps from cache
 21784 cache                            19-01-31 21:14:02 [   DEBUG]: Cache outdated. Need to rebuild
 21784 cache                            19-01-31 21:14:02 [   DEBUG]: Loaded 214 apps from cache
 21784 cache                            19-01-31 21:14:02 [   DEBUG]: Cache outdated. Need to rebuild
 21784 cache                            19-01-31 21:14:02 [   DEBUG]: Loaded 386 apps from cache
 21784 actions.get                      19-01-31 21:14:02 [   DEBUG]: Calling get
 21784 actions.get.progress             19-01-31 21:14:02 [   DEBUG]: 0
 21784 actions.get                      19-01-31 21:14:02 [    INFO]: Nextcloud
 21784 actions.get.progress             19-01-31 21:14:02 [   DEBUG]: 100
 21795 cache                            19-01-31 21:14:03 [   DEBUG]: Cache outdated. Need to rebuild
 21795 cache                            19-01-31 21:14:03 [   DEBUG]: Loaded 149 apps from cache
 21795 cache                            19-01-31 21:14:03 [   DEBUG]: Cache outdated. Need to rebuild
 21795 cache                            19-01-31 21:14:03 [   DEBUG]: Loaded 214 apps from cache
 21795 cache                            19-01-31 21:14:03 [   DEBUG]: Cache outdated. Need to rebuild
 21795 cache                            19-01-31 21:14:03 [   DEBUG]: Loaded 386 apps from cache
 21795 actions.get                      19-01-31 21:14:03 [   DEBUG]: Calling get
 21795 actions.get.progress             19-01-31 21:14:03 [   DEBUG]: 0
 21795 actions.get                      19-01-31 21:14:03 [    INFO]: appcenter/apps/nextcloud/container
 21795 actions.get.progress             19-01-31 21:14:03 [   DEBUG]: 100
 21799 cache                            19-01-31 21:14:03 [   DEBUG]: Cache outdated. Need to rebuild
 21799 cache                            19-01-31 21:14:03 [   DEBUG]: Loaded 149 apps from cache
 21799 cache                            19-01-31 21:14:03 [   DEBUG]: Cache outdated. Need to rebuild
 21799 cache                            19-01-31 21:14:04 [   DEBUG]: Loaded 214 apps from cache
 21799 cache                            19-01-31 21:14:04 [   DEBUG]: Cache outdated. Need to rebuild
 21799 cache                            19-01-31 21:14:04 [   DEBUG]: Loaded 386 apps from cache
 21799 actions.get                      19-01-31 21:14:04 [   DEBUG]: Calling get
 21799 actions.get.progress             19-01-31 21:14:04 [   DEBUG]: 0
 21799 actions.get                      19-01-31 21:14:04 [    INFO]: 14.0.6-0
 21799 actions.get.progress             19-01-31 21:14:04 [   DEBUG]: 100
 10735 actions.remove                   19-01-31 21:14:06 [    INFO]: Running 51nextcloud-uninstall.uinst failed (exitcode: 3)
 10735 actions.remove                   19-01-31 21:14:06 [   DEBUG]: /usr/sbin/univention-run-join-scripts returned with 0
 10735 packages                         19-01-31 21:14:06 [   DEBUG]: Releasing LOCK
 10735 actions.upgrade-search           19-01-31 21:14:06 [   DEBUG]: Calling upgrade-search
 10735 actions.upgrade-search.progress  19-01-31 21:14:06 [   DEBUG]: 0
 10735 actions.upgrade-search           19-01-31 21:14:06 [   DEBUG]: Checking 4.1/nextcloud=14.0.6-0
 10735 actions.upgrade-search.progress  19-01-31 21:14:06 [   DEBUG]: 100
 10735 actions.remove.progress          19-01-31 21:14:06 [   DEBUG]: 100
 10735 utils                            19-01-31 21:14:06 [   DEBUG]: send_information: action=install app=nextcloud value={'code': 1, 'stderr': []} status=416
 10735 utils                            19-01-31 21:14:06 [   DEBUG]: tracking information: {'status': 416, 'uuid': '0a7f95ab-ede9-417f-bb3f-543795d0dc62', 'app': u'nextcloud', 'value': {'code': 1, 'stderr': []}, 'version': u'14.0.6-0', 'role': 'domaincontroller_master', 'action': 'install', 'system-uuid': '22b5d08a-4a9e-4054-a079-38adee457d74'}
 10735 actions.upgrade-search           19-01-31 21:14:06 [   DEBUG]: Calling upgrade-search
 10735 actions.upgrade-search.progress  19-01-31 21:14:06 [   DEBUG]: 0
 10735 actions.upgrade-search           19-01-31 21:14:06 [   DEBUG]: Checking 4.1/nextcloud=14.0.6-0
 10735 actions.upgrade-search.progress  19-01-31 21:14:06 [   DEBUG]: 100
 10735 actions.install.progress         19-01-31 21:14:06 [   DEBUG]: 100

Hello @arndt,

can you please also provide the join.log (/var/log/univention/join.log)?

Additionally, a bit more information on your system would be nice:

  • univention-app info
  • univention-check-join-status

Best regards,
Michael Grandjean

Mastodon