VM updater skips Imaginary because the image disables Watchtower

Đang mở Phù hợp với người mới
#2,885 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@enoch85 đang làm issue này rồi.

Từ ngày 9/11/2026.

  • #2886 của @enoch85 — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
75/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, shell
Lĩnh vực
devops

Hướng nghiên cứu

Bắt đầu trong lib.sh, gần dòng 1997, và lần theo docker_update_specific khi hàm này gọi Watchtower cho Imaginary. Kiểm tra hành vi chọn container của Watchtower so với nhãn com.centurylinklabs.watchtower.enable=false của image. Tái hiện quá trình cập nhật và xác minh rằng sau đó container đang chạy sử dụng image ổn định mới hơn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Steps To Reproduce
  1. Install Imaginary using the Nextcloud VM scripts.
  2. Run the standard Nextcloud VM updater.
  3. Compare the running Imaginary image ID before and after the update.
Expected Result

When a newer stable Imaginary image is available, the updater replaces the running container with the newer image.

Actual Result

My VM is still running an Imaginary image built on May 30, 2025, even though a newer stable image is available. The running container has com.centurylinklabs.watchtower.enable=false, which causes Watchtower to skip it even when the container is selected by name.

Screenshots, Videos, or Pastebins

No response

Additional Context

The VM updater calls docker_update_specific for Imaginary. The helper runs Watchtower with --cleanup --run-once imaginary and treats a successful exit as a successful image update.

https://github.com/nextcloud/vm/blob/main/lib.sh#L1997
https://containrrr.dev/watchtower/container-selection/

Build Version

35.0.2

Environment

By downloading the VM

Environment Details

Ubuntu 24.04.5 LTS on Proxmox VE (amd64)
Docker Engine 29.9.3
Imaginary image: ghcr.io/nextcloud-releases/aio-imaginary:latest

Ngôn ngữ chính
Shell
Star
1.6k
Fork
666
Merge trung bình
4 giờ 45 phút
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/vm

Tất cả issue của nextcloud/vm

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.