Add storage keepalive (upholds) across services, Nextcloud cron, disable Nextcloud PHP JIT
Requires= doesn't restart a service once its required mount comes back after a USB disconnect/remount, so a dedicated storage-keepalive unit now Upholds= every storage-dependent service to bring it back automatically. Also adds the missing Nextcloud cron.php timer (background jobs were never triggered), and disables opcache.jit in the Nextcloud container — PHP 8.4's JIT was miscompiling OC\Config\UserConfig::getValueBool(), crashing every session-bootstrapping request with a bogus strtolower() TypeError. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -152,6 +152,8 @@ in
|
||||
# -----------------------------------------------------------------------
|
||||
# Storage directories (UID 1000 = USERMAP_UID in container)
|
||||
# -----------------------------------------------------------------------
|
||||
homey.storage.upholds = [ "podman-paperless-redis.service" "podman-paperless.service" ];
|
||||
|
||||
homey.storage.extraDirs = [
|
||||
{ path = "paperless"; }
|
||||
{ path = "paperless/data"; user = "1000"; group = "1000"; }
|
||||
|
||||
Reference in New Issue
Block a user