From bfc3cbe2044cdbc8e056e9e055744dab0f9dcffb Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sun, 14 Jun 2026 11:03:26 -0400 Subject: [PATCH] Include WEEKLY_RESTART_CONTAINERS in remainder updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docker_weekly_restart.sh restarts them but never pulls images — remainder is the only update path they have. --- Docker_Essentials/docker_update.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Docker_Essentials/docker_update.sh b/Docker_Essentials/docker_update.sh index 2803acb..2d0173d 100755 --- a/Docker_Essentials/docker_update.sh +++ b/Docker_Essentials/docker_update.sh @@ -29,8 +29,9 @@ # Targets all currently running containers NOT in: # DAILY_RESTART_CONTAINERS — already updated daily # emby + critical-data profiles — updated inline by the weekly sync window -# WEEKLY_RESTART_CONTAINERS — restarted by docker_weekly_restart.sh after sync # FALLBACK_*_TIER* — owned by the remote server's update cycle +# WEEKLY_RESTART_CONTAINERS are included — docker_weekly_restart.sh restarts +# them but doesn't pull images; remainder is the only place they get updated. # Pull → compare → prune dangling images. # # ============================================================================================== @@ -189,11 +190,6 @@ if [[ "$REMAINDER_MODE" == true ]]; then done unset _weekly_str _weekly_arr - # Weekly restart containers — restarted by docker_weekly_restart.sh after sync - for _c in "${WEEKLY_RESTART_CONTAINERS[@]}"; do - [[ -n "$_c" ]] && _exclude["$_c"]=1 - done - # Fallback coverage containers — owned by the remote server's update cycle. # This server runs them during fallback but should never update them independently. # Updating them here risks version divergence: if remote's writeback after handback @@ -237,7 +233,7 @@ if [[ "$SHOW_STATUS" == true ]]; then echo "$ICON_HOST Identity: $MY_ID ($LOCAL_SERVER_NAME)" echo "$ICON_GEAR Mode: $([[ "$REMAINDER_MODE" == true ]] && echo "remainder" || echo "normal (daily)")" if [[ "$REMAINDER_MODE" == true ]]; then - echo "$ICON_CONTAINERS Containers: ${#TARGET_CONTAINERS[@]} running (excluding daily, weekly sync, weekly restart, and fallback)" + echo "$ICON_CONTAINERS Containers: ${#TARGET_CONTAINERS[@]} running (excluding daily, weekly sync, and fallback)" for _c in "${TARGET_CONTAINERS[@]}"; do echo " $_c"; done else echo "$ICON_CONTAINERS Containers: ${TARGET_CONTAINERS[*]}"