[docs] update updates
Some checks failed
Check flake syntax / flake-check (push) Has been cancelled

This commit is contained in:
2025-04-13 15:29:28 +02:00
parent da12a73334
commit 7732abfd68

View File

@@ -1,8 +1,13 @@
# Updates
## Nextcloud
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`
- Change services.nextcloud.package to the next version (do not skip major version upgrades)
- change custom `extraApps` to the new version
- 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`