diff --git a/scripts/mac-mini/startup.sh b/scripts/mac-mini/startup.sh index 2852be517..8028cd478 100755 --- a/scripts/mac-mini/startup.sh +++ b/scripts/mac-mini/startup.sh @@ -95,6 +95,11 @@ log "Starting Docker containers..." cd "$PROJECT_ROOT" docker compose -f "$COMPOSE_FILE" --env-file "$ENV_FILE" up -d --no-build 2>&1 | tee -a "$LOG_FILE" +# ─── Force-recreate stateful containers that cache config ─── +# synapse copies homeserver.yaml at startup; stale container uses old cached config +log "Force-recreating config-sensitive containers..." +docker compose -f "$COMPOSE_FILE" --env-file "$ENV_FILE" up -d --no-build --force-recreate synapse 2>&1 | tee -a "$LOG_FILE" + # ─── Wait and verify ─── log "Waiting 45s for services to initialize..." sleep 45