diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-06-03 18:57:14 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-06-20 11:30:11 +0200 |
commit | f326e5a35e82574f6f7107bdd607dd703ec37a58 (patch) | |
tree | b2ef63a36d900278b0e265c97715c5102e52cc43 /nixos/modules/services/web-apps/nextcloud.xml | |
parent | a2a5aa26349667be58dbf73520d2e78c9ea15a55 (diff) | |
download | nixpkgs-f326e5a35e82574f6f7107bdd607dd703ec37a58.tar nixpkgs-f326e5a35e82574f6f7107bdd607dd703ec37a58.tar.gz nixpkgs-f326e5a35e82574f6f7107bdd607dd703ec37a58.tar.bz2 nixpkgs-f326e5a35e82574f6f7107bdd607dd703ec37a58.tar.lz nixpkgs-f326e5a35e82574f6f7107bdd607dd703ec37a58.tar.xz nixpkgs-f326e5a35e82574f6f7107bdd607dd703ec37a58.tar.zst nixpkgs-f326e5a35e82574f6f7107bdd607dd703ec37a58.zip |
nixos/nextcloud: update upgrade-path for nextcloud19
Enhance the heuristics to make sure that a user doesn't accidentally upgrade across two major versions of Nextcloud (e.g. from v17 to v19). The original idea/discussion has been documented in the nixpkgs manual[1]. This includes the following changes: * `nextcloud19` will be selected automatically when having a stateVersion greater or equal than 20.09. For existing setups, the package has to be selected manually to avoid accidental upgrades. * When using `nextcloud18` or older, a warning will be thrown which recommends upgrading to `nextcloud19`. * Added a brief paragraph about `nextcloud19` in the NixOS 19.09 release notes. * Restart `phpfpm` if the Nextcloud-package (`cfg.package`) changes[2]. [1] https://nixos.org/nixos/manual/index.html#module-services-nextcloud-maintainer-info [2] https://github.com/NixOS/nixpkgs/pull/89427#issuecomment-638885727
Diffstat (limited to 'nixos/modules/services/web-apps/nextcloud.xml')
-rw-r--r-- | nixos/modules/services/web-apps/nextcloud.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.xml b/nixos/modules/services/web-apps/nextcloud.xml index fc454f8ba25..332e4d1ff3e 100644 --- a/nixos/modules/services/web-apps/nextcloud.xml +++ b/nixos/modules/services/web-apps/nextcloud.xml @@ -161,5 +161,11 @@ }; }</programlisting> </para> + + <para> + Ideally we should make sure that it's possible to jump two NixOS versions forward: + i.e. the warnings and the logic in the module should guard a user to upgrade from a + Nextcloud on e.g. 19.09 to a Nextcloud on 20.09. + </para> </section> </chapter> |