I have been attempting to reinstall nextcloud from scratch because of some pathing issues that happened that messed up some of the state a couple of months ago and just now tried to reinstall from scratch again.
I tried to use the suggestion in this post to remove all traces of nextcloud before reinstalling (and moving from nextcloud28 to nextcloud30): Remove nextcloud entirely from server. I both removed the nextcloud folder in \var\lib
, removed the entry in the postgresql database, and deleted the nexcloud data folder.
The issue is that I am getting two errors: one is from the nextcloud-cron.service
saying: Exception: Not installed in /nix/store/76rw8qyj9sspwr3yazkv1jsmq34x6yg3-nextcloud-30.0.0/lib/base.php:223
and another error in the nexcloud-setup.service
which says Command "upgrade" is not defined.
. Is there something that I missed when removing all previous files for nextcloud or am I just doing something wrong in general?
My config is:
services.nextcloud = {
enable = true;
package = pkgs.nextcloud30;
hostName = "vialidhostname";
https = true;
datadir = "pathtonextcloud";
configureRedis = true;
config = {
adminpassFile = "${config.age.secrets.nextcloud_pass.path}";
dbtype = "pgsql";
dbname = "nextcloud";
dbpassFile = "${config.age.secrets.nextcloud_database_pass.path}";
};
# extraApps = {
# deck = config.services.nextcloud.package.packages.apps.deck;
# notes = config.services.nextcloud.package.packages.apps.notes;
# };
extraAppsEnable = true;
appstoreEnable = true;
};