Upgrade nextcloud to 31 #105

Merged
kalipso merged 6 commits from nextcloud_upgrade_31 into master 2025-04-15 01:10:20 +02:00
Showing only changes of commit 7732abfd68 - Show all commits

View File

@@ -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`