Skip to content

Commit

Permalink
Merge pull request #84849 from samueldr/fix/nextcloud-upgrade-wording
Browse files Browse the repository at this point in the history
nextcloud: Review installation upgrade warning wording
  • Loading branch information
worldofpeace committed Apr 11, 2020
2 parents 1c2686a + a1efbdb commit 15d5a2a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions nixos/modules/services/web-apps/nextcloud.nix
Expand Up @@ -322,12 +322,21 @@ in {
Please migrate your configuration to config.services.nextcloud.poolSettings.
'')
++ (optional (versionOlder cfg.package.version "18") ''
A legacy Nextcloud install (from before NixOS 20.03) may be installed.
You're currently deploying an older version of Nextcloud. This may be needed
since Nextcloud doesn't allow major version upgrades across multiple versions (i.e. an
upgrade from 16 is possible to 17, but not to 18).
since Nextcloud doesn't allow major version upgrades that skip multiple
versions (i.e. an upgrade from 16 is possible to 17, but not 16 to 18).
It is assumed that Nextcloud will be upgraded from version 16 to 17.
* If this is a fresh install, there will be no upgrade to do now.
* If this server already had Nextcloud installed, first deploy this to your
server, and wait until the upgrade to 17 is finished.
Please deploy this to your server and wait until the migration is finished. After
that you can deploy to the latest Nextcloud version available.
Then, set `services.nextcloud.package` to `pkgs.nextcloud18` to upgrade to
Nextcloud version 18.
'');

services.nextcloud.package = with pkgs;
Expand Down

0 comments on commit 15d5a2a

Please sign in to comment.