Nextcloud: Difference between revisions
imported>Onny Tip: How to enable HEIC image preview |
imported>Luelista nextcloud-setup enables/disables maintenance mode by itself, and fails if it is already enabled externally |
||
| Line 158: | Line 158: | ||
Upgrading then consists of these steps: | Upgrading then consists of these steps: | ||
# Increment the version of <code>services.nextcloud.package</code> in your config by 1 (leaving out a major version is not supported) | # Increment the version of <code>services.nextcloud.package</code> in your config by 1 (leaving out a major version is not supported) | ||
# <code>nixos-rebuild switch</code> | # <code>nixos-rebuild switch</code> | ||
In theory, your nextcloud has now been upgraded by one version. NixOS attempts <code>nextcloud-occ upgrade</code>, if this succeeds without problems you don't need to do anything. Check <code>journalctl</code> to make sure nothing horrible happened. Go to the <code>/settings/admin/overview</code> page in your nextcloud to see whether it recommends further processing, such as database reindexing or conversion. | In theory, your nextcloud has now been upgraded by one version. NixOS attempts <code>nextcloud-occ upgrade</code>, if this succeeds without problems you don't need to do anything. Check <code>journalctl</code> to make sure nothing horrible happened. Go to the <code>/settings/admin/overview</code> page in your nextcloud to see whether it recommends further processing, such as database reindexing or conversion. | ||