From 3fac5751e45026d73fccc2521e8fcb43c4ae7cdd Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sun, 9 Aug 2026 20:00:58 -0400 Subject: [PATCH] Point the master template at scripts that exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nine entries named paths nothing lives at — a directory that was renamed to System_Essentials, and docker_update_remaining.sh which has never existed — and the API key renewal was absent from both arrays it runs from on this host. A fresh install would have skipped all of it. --- Deployment/master.conf.template | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Deployment/master.conf.template b/Deployment/master.conf.template index d3a345a..adf7df6 100644 --- a/Deployment/master.conf.template +++ b/Deployment/master.conf.template @@ -358,12 +358,13 @@ # Watchdogs (resource_watchdog, docker_watchdog, system_watchdog) are cronned via # watchdog_orchestrator.sh — NOT launched here. ARRAY_START_SCRIPTS=( + "Plugin/unraid/System_Essentials/unraid_api_key_renew.sh" # re-register Varaverk API key — registry is ephemeral "System_Essentials/conf_sync.sh" # pull partner confs + push own conf into /tmp/.vv/ RAM cache "System_Essentials/conf_cache_restore.sh" # load partner confs from persistent backup if conf_sync couldn't reach partner "Transcodes/ramdisk_setup.sh" # creates ramdisk + symlink before Emby starts - "unRAID_Essentials/docker_syslog_filter.sh" # suppress veth noise before logs fill - "unRAID_Essentials/php_fpm_max_children.sh" # WebGUI performance tuning - "unRAID_Essentials/inotify_tuning.sh" # bump inotify limits — containers miss events if exhausted + "System_Essentials/docker_syslog_filter.sh" # suppress veth noise before logs fill + "Plugin/unraid/System_Essentials/php_fpm_max_children.sh" # WebGUI performance tuning + "System_Essentials/inotify_tuning.sh" # bump inotify limits — containers miss events if exhausted "Docker_Essentials/docker_network_connect.sh" # ensure networks exist + connect containers "Arrs_Stack/arr_cache_prefill.sh" # warm Lidarr/Sonarr/Radarr tracked-data caches before anything reads them cold "Arrs_Stack/start_webhook_listener.sh" # arr upgrade webhook listener — continuous @@ -376,10 +377,10 @@ # Order matters: user scripts first (prevents new ops), then data movement, then containers. ARRAY_STOP_SCRIPTS=( "System_Essentials/conf_cache_save.sh" # snapshot partner conf RAM cache → /boot before anything stops - "unRAID_Essentials/user_scripts_stop.sh" # stop background scripts before they start new ops + "Plugin/unraid/System_Essentials/user_scripts_stop.sh" # stop background scripts before they start new ops "Fallback/fallback.sh --stop" # gracefully stop fallback (not caught by user_scripts_stop) - "unRAID_Essentials/rsync_stop.sh --rsync-only" # kill rsync; skip container recovery (handled below) - "unRAID_Essentials/mover_stop.sh" # stop mover after rsync (they conflict on same files) + "System_Essentials/rsync_stop.sh --rsync-only" # kill rsync; skip container recovery (handled below) + "Plugin/unraid/System_Essentials/mover_stop.sh" # stop mover after rsync (they conflict on same files) "Docker_Essentials/docker_container_stop.sh" # stop all containers last ) @@ -403,6 +404,7 @@ "Watchdogs/resource_watchdog.sh" # reduce system pressure before healing attempts "Watchdogs/docker_watchdog.sh" # heal containers with freed resources "Watchdogs/system_watchdog.sh" # system component health — storage + webgui + "Plugin/unraid/System_Essentials/unraid_api_key_renew.sh" # re-register API key if registry lost it "Plugin/unraid/Tools/ai_repair_sweep.sh" # read what the last cycle logged; off unless AI_REPAIR_ENABLED "Watchdogs/stability_watchdog.sh" # reboot if all else fails — last line of defense ) @@ -510,9 +512,9 @@ # syncs WEEKLY_SYNC_SHARES → restarts → then iterates WEEKLY_MAINTENANCE_SCRIPTS. # Schedule: 30 2 * * 0 (Sunday 2:30am) WEEKLY_MAINTENANCE_SCRIPTS=( + "Docker_Essentials/docker_update.sh --weekly" # pull latest images for WEEKLY_RESTART_CONTAINERS before restart "Docker_Essentials/docker_weekly_restart.sh" # weekly container restarts after sync - "Docker_Essentials/docker_update_remaining.sh" # pull updates for all other containers - "unRAID_Essentials/clear_logs.sh" # purge aged logs — Sunday only, low priority + "System_Essentials/clear_logs.sh" # purge aged logs — Sunday only, low priority "Arrs_Stack/arr_full_rescan.sh" # full disk↔DB reconciliation for Lidarr/Sonarr/Radarr — keeps tracked stats honest, runs before discovery so it works off fresh data "Arrs_Stack/arr_corruption_scan.sh --remediate" # ffprobe-based corruption sweep of Sonarr's tracked files — deletes+re-searches only after CORRUPTION_SCAN_STRIKE_LIMIT consecutive hits on the same file "Arrs_Stack/playback_aware_lidarr_discovery.sh" # behavior-driven music discovery using weekly Emby playback history