1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/servers
Maximilian Bosch 702f645aa8
nixos/nextcloud: implement a safe upgrade-path between 19.09 and 20.03
It's impossible to move two major-versions forward when upgrading
Nextcloud. This is an issue when comming from 19.09 (using Nextcloud 16)
and trying to upgrade to 20.03 (using Nextcloud 18 by default).

This patch implements the measurements discussed in #82056 and #82353 to
improve the update process and to circumvent similar issues in the
future:

* `pkgs.nextcloud` has been removed in favor of versioned attributes
  (currently `pkgs.nextcloud17` and `pkgs.nextcloud18`). With that
  approach we can safely backport major-releases in the future to
  simplify those upgrade-paths and we can select one of the
  major-releases as default depending on the configuration (helpful to
  decide whether e.g. `pkgs.nextcloud17` or `pkgs.nextcloud18` should be
  used on 20.03 and `master` atm).

* If `system.stateVersion` is older than `20.03`, `nextcloud17` will be
  used (which is one major-release behind v16 from 19.09). When using a
  package older than the latest major-release available (currently v18),
  the evaluation will cause a warning which describes the issue and
  suggests next steps.

  To make those package-selections easier, a new option to define the
  package to be used for the service (namely
  `services.nextcloud.package`) was introduced.

* If `pkgs.nextcloud` exists (e.g. due to an overlay which was used to
  provide more recent Nextcloud versions on older NixOS-releases), an
  evaluation error will be thrown by default: this is to make sure that
  `services.nextcloud.package` doesn't use an older version by accident
  after checking the state-version. If `pkgs.nextcloud` is added
  manually, it needs to be declared explicitly in
  `services.nextcloud.package`.

* The `nixos/nextcloud`-documentation contains a
  "Maintainer information"-chapter  which describes how to roll out new
  Nextcloud releases and how to deal with old (and probably unsafe)
  versions.

Closes #82056
2020-03-25 22:07:29 +01:00
..
adminer adminer: init at 4.7.6 2020-03-04 22:07:18 +01:00
amqp rabbitmq-server: add the VM test to passthru.tests 2020-03-10 17:25:03 +01:00
ankisyncd ankisyncd: init at 2.1.0 2020-03-10 20:37:51 +01:00
apache-kafka kafka: Add 2.4 2020-01-10 21:02:03 -05:00
apcupsd
asterisk treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
atlassian atlassian-jira: 8.7.0 -> 8.7.1 2020-03-12 23:54:52 +00:00
beanstalkd
bird bird: compile with libssh for rpki support 2019-11-17 00:47:45 +01:00
blockbook blockbook: 0.3.1 -> 0.3.2 2020-03-10 15:22:37 +01:00
brickd treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
caddy caddy: 1.0.4 -> 1.0.5 (#82601) 2020-03-14 18:04:13 +00:00
cayley cayley: 0.6.1 -> 0.7.5 2019-08-31 18:33:57 -07:00
clickhouse clickhouse: link with lld 2020-03-03 09:22:14 +00:00
cloud-print-connector cloud-print-connector: fix build against cups 2019-12-21 11:59:08 +00:00
computing SLURM: added rdma-core as a dependency 2020-02-21 11:32:48 +01:00
confluent-platform
consul consul: 1.6.1 -> 1.6.2 2019-11-20 15:44:24 -08:00
corosync net-snmp: rename from net_snmp 2019-12-21 22:56:08 +00:00
coturn treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
couchpotato couchpotato: pin python2 2019-11-13 16:27:38 +01:00
dante dante: fix package under Linux 2019-11-19 20:23:17 +11:00
demoit treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
dex dex-oidc: use buildGoPackage 2019-09-21 04:26:00 -05:00
dgraph dgraph: 0.8.2 -> 1.0.17 2019-08-31 19:15:52 -07:00
dico
dict Merge remote-tracking branch 'upstream/gcc-8' into staging-next 2019-09-08 20:44:26 +02:00
diod diod: fix build w/glibc-2.30 2020-01-23 00:21:22 +01:00
dns nsd: 4.2.4 -> 4.3.0 2020-03-19 12:08:16 -07:00
documize-community documize-community: fix strict deps build 2020-03-18 11:29:35 +00:00
echoip echoip: Use index output for index.html 2019-09-10 16:01:46 +02:00
elasticmq
elasticmq-server-bin
endlessh endlessh: 1.0 -> 1.1 2020-01-31 12:00:00 -05:00
etcd
exhibitor
fcgiwrap
felix
fileshare treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
fingerd/bsd-fingerd treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
firebird firebird: mark as broken 2020-01-28 19:52:18 +01:00
foundationdb Merge branch 'staging' into glibc230 2020-02-01 17:42:03 +01:00
freeradius freeradius: do not generate TLS stuff 2020-03-10 15:54:02 +01:00
ftp bftpd: 5.2 -> 5.4 2020-01-15 05:41:38 +00:00
gobetween gobetween: init at 0.7.0 2020-01-17 22:50:52 -05:00
gopher/gofish
gortr gortr: 0.13.0 -> 0.14.1 (#81430) 2020-03-01 14:17:25 +01:00
gotify gotify-server: 2.0.13 -> 2.0.14 2020-02-19 12:38:31 +02:00
gotty gotty: 0.0.13 -> 2.0.0-alpha.3 2019-12-06 04:26:07 +01:00
gpm
gpsd gpsd: fix build w/glibc-2.30 2020-01-30 15:24:04 +01:00
grocy grocy: 2.6.0 -> 2.6.1 2020-03-07 09:28:14 +01:00
h2
hbase
headphones
hitch hitch: 1.5.0 -> 1.5.2 (#75243) 2019-12-08 19:10:47 +01:00
holochain-go
home-assistant homeassistant: 0.106.1 -> 0.106.6 2020-03-11 11:02:57 +00:00
http Merge pull request #82319 from aanderse/tomcat-update 2020-03-16 15:46:48 -04:00
hydron treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
hylafaxplus hylafaxplus: 7.0.1 -> 7.0.2 2020-02-01 02:02:09 +00:00
icecast
icingaweb2 icingaweb2: 2.7.1 -> 2.7.3 2019-10-22 10:10:20 +02:00
identd
imgproxy imgproxy: fix strict deps build 2020-03-18 11:29:35 +00:00
interlock
irc Treewide: fix URL permanent redirects 2019-11-16 01:41:23 +01:00
irker treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
isso
jackett Merge pull request #81841 from r-ryantm/auto-update/jackett 2020-03-10 10:14:10 +01:00
jellyfin jellyfin: 10.4.3 -> 10.5.0 2020-03-10 00:54:59 +01:00
jetbrains
keycloak keycloak: init at 9.0.0 2020-02-26 23:33:04 +01:00
kippo
kwakd treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
ldap/389 net-snmp: rename from net_snmp 2019-12-21 22:56:08 +00:00
lidarr lidarr: Add missing dependency chromaprint 2019-10-22 17:39:09 +02:00
limesurvey
livepeer stop using hardeningDisable = [ "fortify" ]; for Go packages 2019-10-27 14:44:26 +01:00
ma1sd ma1sd: init at 2.1.1 2019-10-07 18:50:39 +02:00
mail Merge pull request #82463 from r-ryantm/auto-update/dovecot-pigeonhole 2020-03-20 06:13:55 -05:00
matrix-synapse Merge pull request #80447 from Ma27/bump-matrix-synapse 2020-03-16 10:55:38 +01:00
matterbridge matterbridge: 1.16.3 -> 1.16.5 2020-03-14 08:39:09 +00:00
mattermost mattermost: 5.9.0 -> 5.15.0 2019-09-19 12:58:13 -07:00
mautrix-telegram mautrix-telegram: 0.7.0 -> 0.7.1 2020-02-04 22:28:15 +01:00
mautrix-whatsapp mautrix-whatsapp: 2020-01-12 -> 2020-02-09 2020-02-17 07:47:14 +01:00
mediatomb
meguca treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
memcached memcached: 1.5.21 -> 1.5.22 2020-02-10 13:22:37 +01:00
mesos-dns
metabase metabase: 0.34.2 -> 0.34.3 2020-03-06 07:25:17 +01:00
meteor meteor: 1.8.1 -> 1.8.2 2019-12-07 19:15:05 +01:00
miniflux miniflux: 2.0.18 -> 2.0.19 2019-12-19 17:43:16 +01:00
minio minio: 2019-10-12 -> 2020-03-06 2020-03-14 16:50:29 +00:00
mirrorbits mirrorbits: Fix build with go 1.12 2019-09-11 14:33:13 +01:00
misc client-ip-echo: 0.1.0.4 -> 0.1.0.5 2020-03-14 03:27:54 +00:00
mlflow-server mlflow-server: init at 1.4.0 2020-02-15 22:11:25 -08:00
monitoring grafana: 6.6.2 -> 6.7.0 2020-03-19 11:54:51 -07:00
mpd mpd: fix homepage 2020-03-02 18:44:17 +01:00
mqtt/mosquitto mosquitto: 1.6.7 -> 1.6.8 2020-01-22 03:55:00 +00:00
mtprotoproxy mtprotoproxy: 1.0.8 -> 1.0.9 2020-01-26 08:27:31 +00:00
mumsi treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
mxisd mxisd: use latest gradle 2020-01-10 04:21:18 +01:00
nas
nats-server nats-server: rename (from gnatsd), 1.4.0 -> 2.1.0 2019-10-28 21:50:14 -05:00
nats-streaming-server nats-streaming-server: 0.11.2 -> 0.16.2 2019-10-28 21:50:14 -05:00
neard
news/leafnode treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
nextcloud nixos/nextcloud: implement a safe upgrade-path between 19.09 and 20.03 2020-03-25 22:07:29 +01:00
nginx-sso nginx-sso: 0.23.0 -> 0.24.0 2020-01-14 23:44:05 -05:00
nosql Merge pull request #82864 from r-ryantm/auto-update/EventStore 2020-03-20 06:26:53 -05:00
nsq
oauth2_proxy
openafs openafs_1_8: 1.8.3 -> 1.8.5 (#75104) 2019-12-07 11:58:19 -05:00
openxpki
osrm-backend osrm-backend: fix build with gcc9 2019-11-03 14:43:38 +01:00
p910nd
pies
plex plex: 1.18.7.2457 -> 1.18.8.2527 2020-03-17 18:33:59 +01:00
polipo
pounce pounce: 1.0p1 -> 1.1 2020-02-11 20:04:58 +00:00
prayer prayer: fix build w/glibc-2.30 2020-01-30 15:36:40 +01:00
ps3netsrv treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
pulseaudio qpaeq: init at 13.0 2020-01-21 09:57:06 +01:00
quagga net-snmp: rename from net_snmp 2019-12-21 22:56:08 +00:00
radarr radarr: 0.2.0.1450 -> 0.2.0.1480 2020-03-03 15:04:32 +00:00
radicale radicale: Fix runtime 2019-09-14 00:56:19 +02:00
rainloop rainloop-standard: Fix pname and license (#73963) 2019-11-23 15:36:28 +01:00
rippled rippled: 1.2.1 -> 1.4.0 2020-01-12 19:23:31 +00:00
roon-server
roundcube roundcube: 1.4.2 -> 1.4.3 2020-02-19 23:57:37 +01:00
routinator routinator: upgrade cargo fetcher and cargoSha256 2020-02-29 10:51:30 -05:00
rpcbind treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
rt rt: fix build error 2020-03-19 18:13:20 -07:00
sabnzbd
samba samba: 4.11.3 -> 4.11.5 2020-01-27 13:40:09 +01:00
scylladb scylladb: don't build on Hydra; /cc PR #70576 2019-10-12 09:46:56 +02:00
search sphinxsearch: add workaround for darwin build failures 2020-02-27 17:24:49 +01:00
ser2net ser2net: init at 4.1.1 2020-01-22 16:42:27 +01:00
serf
serviio
shairplay
shairport-sync shairport-sync: 3.3.5 -> 3.3.6 2020-02-23 13:58:19 -08:00
shellinabox shellinabox: fix CVE-2018-16789 2019-11-03 16:44:17 +01:00
shishi
sickbeard sickgear: 0.21.5 -> 0.21.17 2020-03-14 14:28:08 +01:00
silc-server
simplehttp2server
sip freeswitch: include configuration templates, enable parallel building 2020-01-07 16:52:57 +02:00
sks treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
skydns treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
slimserver
smcroute
softether
sonarr sonarr: 2.0.0.5338 -> 2.0.0.5344 2020-03-20 14:06:19 +00:00
sql Merge pull request #82912 from marsam/update-postgresqlPackages.pg_auto_failover 2020-03-19 19:00:26 -05:00
squid squid: 4.9 -> 4.10 2020-01-30 13:59:46 +00:00
sslh
syncserver
tacacsplus tacacs+: tacacs+ -> tacacsplus 2019-09-03 21:27:40 +00:00
tailscale tailscale: 0.96-33 -> 0.97-0. 2020-03-18 06:08:20 +00:00
tang tang: init at 7 2020-02-17 15:14:28 +01:00
tautulli tautulli: 2.1.44 -> 2.2.0 2020-03-14 21:10:15 +00:00
tegola
teleport teleport: fix build with strict deps 2020-03-18 11:29:40 +00:00
tmate-ssh-server tmate-ssh-server: init at 2.3.0 2019-10-04 15:01:38 +02:00
traefik
trezord trezord-go: 2.0.28 -> 2.0.29 2020-03-09 19:28:24 +01:00
trickster nixos/trickster: add test 2019-11-01 14:10:53 +01:00
tt-rss tt-rss-theme-feedly: 2.0.0 -> 2.3.1 2020-01-17 11:54:21 +00:00
ttyd
tvheadend tvheadend: fix build with gcc9 2019-11-03 14:43:40 +01:00
u9fs
udpt treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
uftp uftp: 4.10 -> 4.10.1 2020-01-30 15:59:11 +00:00
uhub uhub: *Flags are lists 2019-12-30 12:15:29 +01:00
ums ums: 6.2.2 -> 9.1.0 2020-03-13 04:03:35 +00:00
unfs3
unifi unifiStable: 5.12.22 -> 5.12.35 2019-11-25 13:27:09 +01:00
unpfs unpfs: upgrade cargo fetcher and cargoSha256 2020-03-08 23:09:16 -04:00
uwsgi treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
varnish treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
web-apps base16-builder: regenerate with node2nix 1.8.0, add supplement.json with node-pre-gyp to fix build 2020-03-15 16:37:47 +01:00
webmetro webmetro: upgrade cargo fetcher and cargoSha256 2020-02-29 10:44:54 -05:00
x11 Merge pull request #75163 from rnhmjoj/gohu 2020-02-14 00:46:05 +01:00
xandikos xandikos: init at 0.1.0 2019-12-16 18:02:27 +01:00
xinetd
xmpp ejabberd: 19.09.1 -> 20.01 2020-01-26 21:37:14 +00:00
zoneminder zoneminder: add patch to fix improper caching 2020-03-07 12:59:39 -05:00
zookeeper zookeeper: Fix wrong paths in startup script 2019-10-17 02:59:10 -07:00