Maximilian Bosch f326e5a35e
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
2020-06-20 11:30:11 +02:00
..
2019-06-07 13:02:51 +02:00
2020-05-24 15:44:04 +02:00
2020-03-26 09:28:42 +01:00
2020-02-09 21:55:27 +01:00
2020-02-09 21:55:27 +01:00
2020-01-31 20:39:12 -05:00
2019-11-18 14:52:47 +01:00
2019-04-29 14:05:50 +02:00
2020-01-31 20:39:12 -05:00
2019-10-28 21:34:55 +01:00
2019-09-08 23:38:31 +00:00
2019-09-22 18:48:07 +02:00
2020-05-12 18:49:43 +02:00
2019-11-03 17:24:08 +01:00
2019-10-12 22:25:28 +02:00
2020-01-31 20:39:12 -05:00