Uninstalling Nextcloud

Error msg when removing Nextcloud via either luci or cli :
WARNING: You probably just removed a package that was installed as part of a user list or the basic system. This package will return durring the next updater run. We suggest you disable the user list instead.

How does one disable the user list?

(Nextcloud checkbox is unchecked in the reforis pkg manager. Turris Omnia, TOS 6.0.1)

Maybe take a look at /etc/updater/conf.d/opkg-auto.lua if it is marked for installation there.

1 Like

I have this error:

Upozornění od Vašeho routeru turris

OznĂĄmenĂ­ o chybĂĄch

Běh updateru selhal:
compilation: [string “file:////etc/updater/conf.d/nextcloud.lua”]:2: ‘=’ expected near ‘’"

What is the content of your’s file /etc/updater/conf.d/nextcloud.lua?

Install(“nextcloud-install”) pkgupdate

Thanks for your suggestion, though nothing related to nextcloud there. But you pointed me in the right direction, so now I’m deleting /etc/updater/conf.d/nextcloud.lua.

I tried to uninstall Nextclod from my Turris Omnia, but it looks difficult.

  1. It is switched OFF in the Reforris interface, but it is installed despite it.
  2. No field /etc/updater/conf.d/nextcloud.lua is available in my Omnia.
  3. I tried removing Nextcloud packages via file /etc/updater/conf.d/user.lua and run updater, but it doesn’t work.
    Here is the content of my file user.lua:
Uninstall "reforis-nextcloud-plugin" "foris-controller-nextcloud-module" "nextcloud-install" "nextcloud"

After update via Reforris (script updater.sh wasn’t find) the log contains:

runtime: [string \"file:////etc/updater/conf.d/user.lua\"]:7: attempt to call a nil value"

My Omnia runs on reForis 1.3, Turris OS 6.0.

Can you please advise me how to uninstall Nextcloud?

Sorry, I really don’t have an answer. Here’s hoping that someone else here does.

I unchecked Nextcloud in reForis and that didn’t seem to do anything.

Tried a few things that didn’t work and then I ended up deleting:

/etc/updater/conf.d/nextcloud.lua

And uninstalling with the below command:

opkg remove --force-removal-of-dependent-packages nextcloud nextcloud-install turris-webapps-nextcloud

A couple of hours later I got an updater notification from the router asking for approval to uninstall a bunch of packages (mariadb, php, etc).

This seems to have worked ok.

1 Like

have the same problem. wanted to remove nexcloud, unclicked it in forris, nothing happens. after running:

opkg remove --force-removal-of-dependent-packages nextcloud nextcloud-install turris-webapps-nextcloud

i get:

TurrisOS 7.0.1, Turris Omnia
 -----------------------------------------------------
root@krabica:~# opkg remove --force-removal-of-dependent-packages nextcloud nextcloud-install turris-webapps-nextclou
d
Removing package turris-webapps-nextcloud from root...
Removing package reforis-nextcloud-plugin-l10n-cs from root...
2024-06-18 18:53:12: (../src/mod_openssl.c.3141) SSL:openssl library version is outdated and has reached end-of-life.  As of 11 Sep 2023, only openssl 3.0.0 and later continue to receive security patches from openssl.org
Removing package reforis-nextcloud-plugin from root...
2024-06-18 18:53:18: (../src/mod_openssl.c.3141) SSL:openssl library version is outdated and has reached end-of-life.  As of 11 Sep 2023, only openssl 3.0.0 and later continue to receive security patches from openssl.org
Removing package foris-controller-nextcloud-module from root...
Removing package nextcloud-install from root...
Removing package fix-nextcloud-conf from root...
Removing package nextcloud from root...
WARNING: You probably just removed a package that was installed as part of a user list or the basic system. This package will return durring the next updater run. We suggest you disable the user list instead.
No packages removed.
No packages removed.

after reboot i get reforris notification about installing nextcloud back :frowning: