diff --git a/doc/src/anleitung/updates.md b/doc/src/anleitung/updates.md index 6860ef6..d8b2ef2 100644 --- a/doc/src/anleitung/updates.md +++ b/doc/src/anleitung/updates.md @@ -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` \ No newline at end of file +- 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`