Follow-up on #169733 For `data`, Nextcloud checks on its own if everything is readable. However, for `config` it's crucial that the ownership is actually correct: otherwise, systemd-tmpfiles will refuse any operations inside because of unsafe path transitions. This can result in a subtly broken setup by the `override.config.php` not being updated, but also not part of the system closure anymore (another override.config.php is referenced now) which means it'll be GCed eventually even though Nextcloud relies on it. If this precondition is not met, the following error will be printed: nextcloud-setup-start[972]: /var/lib/nextcloud/config is not owned by user 'nextcloud'! nextcloud-setup-start[972]: Please check the logs via 'journalctl -u systemd-tmpfiles-setup' nextcloud-setup-start[972]: and make sure there are no unsafe path transitions. nextcloud-setup-start[972]: (https://nixos.org/manual/nixos/stable/#module-services-nextcloud-pitfalls-during-upgrade)
54 KiB
54 KiB