Maximilian Bosch
39dcdc5c9b
nixos/nextcloud: check if ownership of config is correct
...
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 )
2025-04-02 09:30:17 +02:00
..
2025-03-29 19:25:44 +01:00
2024-12-15 13:35:30 +01:00
2024-12-20 15:06:04 +01:00
2025-03-29 19:44:20 +01:00
2025-04-01 20:10:43 +02:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2025-02-07 04:39:59 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2025-01-07 19:49:28 +01:00
2025-03-15 10:59:05 +01:00
2024-12-10 20:26:33 +01:00
2025-01-27 02:47:01 +01:00
2025-03-26 23:09:55 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-03-25 13:37:25 +00:00
2025-04-01 20:10:43 +02:00
2025-03-02 16:50:01 +01:00
2025-03-08 08:41:08 +00:00
2025-02-12 21:03:21 +01:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2025-03-29 13:32:10 +01:00
2025-03-06 02:01:23 +01:00
2024-12-10 20:26:33 +01:00
2025-02-12 21:03:21 +01:00
2024-12-10 20:26:33 +01:00
2025-01-19 12:03:41 +01:00
2025-01-07 19:49:28 +01:00
2025-01-07 19:49:28 +01:00
2025-03-13 17:16:34 +08:00
2025-04-01 20:10:43 +02:00
2025-04-01 20:10:43 +02:00
2025-03-23 18:05:54 +01:00
2025-04-01 20:10:43 +02:00
2025-02-12 21:03:21 +01:00
2025-04-01 20:10:43 +02:00
2025-03-05 00:24:50 +01:00
2025-02-12 21:03:21 +01:00
2025-01-27 02:47:01 +01:00
2025-03-24 10:09:27 +01:00
2024-12-13 22:10:53 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-02-21 01:01:10 +01:00
2025-03-12 18:00:38 +01:00
2025-02-05 12:14:02 +00:00
2025-01-30 21:58:24 +01:00
2024-12-10 20:26:33 +01:00
2024-12-29 19:42:47 -08:00
2025-02-03 08:03:49 +01:00
2025-02-12 21:03:21 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2025-03-25 23:17:58 +01:00
2024-12-08 20:17:10 -05:00
2025-04-01 20:10:43 +02:00
2025-03-20 12:07:38 +01:00
2025-03-23 20:23:59 +01:00
2025-01-12 10:03:33 -05:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2025-04-01 20:10:43 +02:00
2025-04-01 20:10:43 +02:00
2025-02-12 21:03:21 +01:00
2024-12-10 20:26:33 +01:00
2025-02-27 16:56:01 +08:00
2025-04-01 20:10:43 +02:00
2025-02-23 17:47:56 +01:00
2024-12-10 20:26:33 +01:00
2025-01-27 02:47:01 +01:00
2025-03-19 22:52:48 +01:00
2025-04-01 20:10:43 +02:00
2024-12-10 20:26:33 +01:00
2025-03-31 12:24:22 +02:00
2025-03-07 20:31:48 +01:00
2025-03-23 00:27:09 +01:00
2025-03-25 12:41:30 +00:00
2025-04-02 09:30:17 +02:00
2025-02-12 21:03:21 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-14 12:27:20 +02:00
2025-01-07 19:49:28 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-03-11 15:26:30 +11:00
2025-03-05 12:56:25 +01:00
2025-01-23 10:26:12 -07:00
2025-02-12 21:03:21 +01:00
2025-03-08 08:41:08 +00:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-02-22 02:02:07 +01:00
2025-04-01 20:10:43 +02:00
2025-04-01 20:10:43 +02:00
2025-02-12 21:03:21 +01:00
2024-12-14 23:14:47 +01:00
2024-12-10 20:26:33 +01:00
2025-02-02 14:22:22 +01:00
2025-02-03 00:00:30 +01:00
2024-12-10 20:26:33 +01:00
2025-01-20 22:17:30 +01:00
2024-12-10 20:26:33 +01:00
2025-02-11 23:57:16 +01:00
2025-03-29 20:00:27 +01:00
2025-02-12 21:03:21 +01:00
2025-03-28 22:46:39 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-01-04 04:08:22 +01:00
2025-04-01 20:10:43 +02:00
2025-04-01 20:10:43 +02:00
2025-03-08 08:41:08 +00:00
2025-01-24 10:50:55 -08:00
2025-02-27 16:56:01 +08:00
2025-04-01 23:20:15 +02:00
2025-04-01 23:20:15 +02:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2025-04-01 20:10:43 +02:00
2024-12-10 20:26:33 +01:00
2025-03-13 15:30:32 +00:00
2025-02-15 14:52:22 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2024-12-10 20:26:33 +01:00
2025-04-01 20:10:43 +02:00
2025-04-01 20:10:43 +02:00
2024-12-10 20:26:33 +01:00
2025-02-12 21:03:21 +01:00
2025-01-07 19:49:28 +01:00
2025-03-19 18:16:01 +01:00
2025-02-12 21:03:21 +01:00