Remove NextCloud error

Hi All,

I’m trying to remove nextcloud, but I have those error :

RUNNING 51nextcloud-uninstall.uinst
/var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20170904150649.settings: Missing description in domain
/var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20170904150649.settings: Missing description in username
/var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20171017221609.settings: Missing description in domain
/var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20171017221609.settings: Missing description in username
/var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20170622134722.settings: Missing description in domain
/var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20170622134722.settings: Missing description in username
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/mailer/params/host
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/mailer/params/port
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/imap/hostspec
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/imap/port
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/imap/sieve/port
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/auth/admins
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/problems/mail
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/log/priority
/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/horde_20161024154423.settings: Missing description in horde/testdisable
2017-11-13 13:43:10.675890433+01:00 (in joinscript_init)
WARNING: cannot remove Nextcloud from service, value does not exist
No modification: cn=dmlabucsmail001,cn=dc,cn=computers,dc=dmp,dc=intranet
E: object not found
EXITCODE=3

Can someone Help Me ?

Vincent

For Information, I never install collabra or horde on my server

Regards

Hi,

first of all, the warnings about Collabora and Horde are not the cause of the failure. They are just warnings. Which locale do you use? Is it one of en_US or de_DE?

Anyway, the problem is:

E: object not found

There are several ways to “fix” that. The script does the following on that line:

    univention-directory-manager container/cn remove "$@" \
        --dn "cn=nextcloud,cn=custom attributes,cn=univention,$ldap_base" || die

Therefore you could simply add the container (which apparently was already removed from a previous attempt?):

# this only works on your Master system. On other systems, you would need to pass credentials
udm container/cn create --set name=nextcloud --position "cn=custom attributes,cn=univention,$(ucr get ldap/base)"

Then the script should run though. There is one more line that could fail:

su -c "psql -c \"drop database nextcloud\"" - postgres && \
    su -c "dropuser \"nextcloud\"" - postgres && \
    rm /etc/postgresql-nextcloud.secret || die

If this fails, too. We will have to look into the postgres database.

Kind regards,
Dirk Wiesenthal

Here the same problem. The too helpful commands from Dirk are successful. But the rejoin “51-nextcloud-uninstall” get the same error as before:

univention-run-join-scripts started
Do 8. Feb 15:19:45 CET 2018

RUNNING 51nextcloud-uninstall.uinst
2018-02-08 15:19:48.554927063+01:00 (in joinscript_init)
WARNING: cannot remove Nextcloud from service, value does not exist
No modification: cn=mail2,cn=dc,cn=computers,dc=xxxxx,dc=de
E: object not found
EXITCODE=3

Thanks in advanced
Kind regards, CHristian

Mastodon