對話摘要 2026-10-29

容器更新檢查(06:30 HKT,cron)

掃描:containers=88 / images=82 → UPDATE=13、UP-TO-DATE=58、LOCAL-BUILD=10、NEEDS-AUTH=1、RATE-LIMITED=0、ERROR=0、UPSTREAM-STALE=0

Tier A(已執行 1 個)

  • openserp karust/openserp:latest
    • 舊 digest sha256:7aebcbf65f9e... → 新 sha256:526c45d65ae8...(= registry remote,已對上)
    • status=UPDATED,stack=openserp(Dockhand id=46),health=healthy,restarts=0
    • 驗證:curl http://172.21.0.20:7000/health → 200 {"status":"healthy","engines":[...ready]}
    • rollback tag rb-20261029-0630 已 PURGE(digest 記入 /home/opc/logs/image-rollback-manifest.txt)
    • 容器 IP 172.21.0.20、內部 port 7000(無 published port;healthcheck 用 wget /health)

Tier C(只報告,未動)

ntfy、litellm(main-latest)、tuwunel(main)、mindroom、wg-easy:15、infisical-backend、syncthing、n8n、nextcloud(app+cron)、redis-main(7-alpine)、dolibarr-db(mariadb:11)、erpnext-mariadb(mariadb:11.8)

注意:mariadb:11 同 11.8 上游同一個 remote digest sha256:c4124d1afa... → 兩個 stack 會一齊升,需要先 db-dump(見 skill container-update §7.2)。

其他

  • karakeep_chrome gcr.io/zenika-hub/alpine-chrome:124 → NEEDS-AUTH,今次 AUTH_FALLBACK 無回應,未能判定(09-20 對 Hub 鏡像 zenika/alpine-chrome 最新 tag=124 = 本地,傾向已最新)
  • 自建 image 4 項全部 UPSTREAM-OK:fastmcp 4.1.4 / olw(synto) 0.8.0 / alist 3.66.0 / crawl4ai 0.9.5 → 無需 rebuild
  • 磁碟 / 84%(153G/183G,剩 31G)—— 偏高,下次接近 88% 要跑 skill disk-cleanup

Telegram 報告已發送(06:35)。

Tier C 容器更新批次(用戶批准,06:49–07:03)

事前備份(全 OK):pg n8n 61MB / litellm_proxy 27MB / infisical 355KB / nextcloud 3.6MB、mariadb erpnext-mariadb 13MB / dolibarr-db 3.9MB、volume tar tuwunel 53MB / mindroom 2.9MB(/home/opc/backup/)。

結果:12 個候選 → 11 個 UPDATED(syncthing、ntfy、tuwunel、mindroom、nextcloud-app+cron、dolibarr-db、erpnext-mariadb、redis-main、infisical-backend、n8n)+ litellm 交延遲腳本。rollback tag 全部 purge,manifest 有 digest。

驗證:erpnext api/method/ping → {"message":"pong"};n8n /healthz 200;redis PONG + keyspace 完好(db1/2/3/4 都在);infisical /api/status 200;dolibarr-web 200(DB 重連正常);tuwunel 200、ntfy 200、syncthing 200、mindroom 307、wg-easy 302;nextcloud status.php 400 trusted-domain(IP 直連正常現象,PHP 有回應)。磁碟 154G/183G(85%,30G free)。

坑(已寫入 skill container-update 規則 9b):container-update-apply.py 預設 verify = 10×6s(60 秒),wg-easy healthcheck interval 60s + start_period → 60 秒時仍 starting ⇒ 誤判失敗並觸發回滾(回滾同樣驗唔到 ⇒ 報「回滾失敗」)。實際:deploy 已成功換到新 image 並 healthy、UI 302。修法:之後跑 apply 一律 CU_VERIFY_TRIES=25(=150 秒)。

手法:長批次用 detached + log 檔逐段監察(setsid sh -c 'CU_VERIFY_TRIES=25 sh /tmp/tierc-run.sh <containers> > /home/opc/logs/tierc-pN.log 2>&1' &),每 40–50 秒 tail 一次,避免單個 ssh call 超時。redis-main 用 apply 正常 deploy 路徑(無人手 rm -f),PONG + 資料完好。