This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
# Updates
|
# Updates
|
||||||
## Nextcloud
|
## Nextcloud
|
||||||
Update nextcloud to a new major version:
|
Update nextcloud to a new major version:
|
||||||
|
- create state directories: `mkdir /tmp/var /tmp/data`
|
||||||
|
- run vm state dirs to initialize state `sudo run-vm nextcloud --dummy-secrets --networking --var /tmp/var --data
|
||||||
|
/tmp/data`
|
||||||
- Update lock file `nix flake update --commit-lock-file`
|
- Update lock file `nix flake update --commit-lock-file`
|
||||||
- Change services.nextcloud.package to the next version (do not skip major version upgrades)
|
- Change services.nextcloud.package to the next version (do not skip major version upgrades)
|
||||||
- change custom `extraApps` to the new version
|
- change custom `extraApps` to the new version
|
||||||
- TEST!
|
- TEST!
|
||||||
`sudo run-vm nextcloud --dummy-secrets --networking`
|
- run vm again, it should successfully upgrade nextcloud from old to new version
|
||||||
|
- run vm state dirs to initialize state `sudo run-vm nextcloud --dummy-secrets --networking --var /tmp/var --data
|
||||||
|
/tmp/data`
|
||||||
|
|||||||
Reference in New Issue
Block a user