arcane icon indicating copy to clipboard operation
arcane copied to clipboard

🐞 Bug: Image update scan not checking all images!

Open Im-hsh opened this issue 2 months ago • 1 comments

Bug Description

Arcane's Check for updates operation only checks 12 image references, even though my Docker host has more than 40 running containers/image references.

The scan completes successfully with:

image scan run started
image scan run completed checked=12 updates=3 errors=0

There are no scan errors, but most running container images are never checked.

Steps To Reproduce

Check updates in ui

Expected Behavior

Update check for all images

Actual Behavior

It only checks for 12 images out of my +40 images

Screenshots

No response

Arcane Version

v2.12.0

Installation Method

Docker Compose (Recommended)

Environment Type

Local Docker (Single instance)

Database Type

SQLite (Default)

Operating System

Linux

Docker Version

29.7.2

Browser & Version

No response

Debug Logs

10:11:17 AM INFO Arcane is starting... version=2.12.0
10:11:17 AM INFO Arcane Identity Configuration PUID=1000  PGID=1000
10:11:17 AM INFO Resolved database migration state provider=sqlite  currentVersion=87  requiredVersion=87
10:11:17 AM INFO Database schema is up to date provider=sqlite  migrationVersion=87
10:11:17 AM INFO Database initialized successfully 
10:11:17 AM INFO Loaded Environment Settings Overrides count=10
10:11:17 AM INFO Checking for orphaned volume helper containers from previous runs 
10:11:17 AM INFO Orphaned volume helper cleanup completed removed_count=0
10:11:17 AM INFO Ensuring default settings are initialized 
10:11:17 AM INFO Default settings initialized successfully 
10:11:17 AM INFO Updated global variables path=/mnt/srv/docker/.env.global  count=0
10:11:17 AM INFO Docker API versions detected effective_api_version=1.55  client_api_version=1.55  server_api_version=1.55
10:11:17 AM INFO OIDC_ROLE_MAPPINGS reconciled envManagedCount=1
10:11:17 AM INFO Initializing job scheduler timezone=XXX/XXX
10:11:17 AM INFO Registered scheduled volume backup jobs count=0
10:11:17 AM INFO Registered backup schedules systemPolicies=0  volumePolicies=0
10:11:17 AM INFO Registered gitops auto-sync jobs on startup count=0
10:11:17 AM INFO Starting Job name=environment-health:0  schedule=0 */2 * * * *
10:11:17 AM INFO Registered environment health jobs on startup count=1
10:11:17 AM INFO Configured edge tunnel server websocket_enabled=true  poll_enabled=true  grpc_enabled=true
10:11:18 AM INFO Using shared HTTP/gRPC listener for edge tunnel addr=:3552
10:11:18 AM INFO Starting scheduler 
10:11:18 AM INFO Job rescheduled newSchedule=0 0 0 * * *  nextRun=null  name=auto-update  previousSchedule=
10:11:18 AM INFO image update watcher started 
10:11:18 AM INFO Starting Job name=docker-client-refresh  schedule=*/30 * * * * *
10:11:18 AM INFO Starting Job name=analytics-heartbeat  schedule=0 0 * * * *
10:11:18 AM INFO Starting Job name=event-cleanup  schedule=0 0 */6 * * *
10:11:18 AM INFO Starting Job schedule=0 */5 * * * *  name=pruning-volume-helper
10:11:18 AM INFO Starting Job name=expired-sessions-cleanup  schedule=0 0 0 * * *
10:11:18 AM INFO Starting Job name=scheduled-prune  schedule=0 0 0 * * *
10:11:18 AM INFO Job rescheduled previousSchedule=  newSchedule=0 0 0 * * *  nextRun=null  name=vulnerability-scan
10:11:18 AM INFO Job rescheduled name=auto-patch  previousSchedule=  newSchedule=0 0 3 * * *  nextRun=null
10:11:18 AM INFO Starting Job name=auto-heal  schedule=*/30 * * * * *
10:11:18 AM INFO Starting Job name=activity-sweep  schedule=0 */5 * * * *
10:11:18 AM INFO Starting Job name=upload-sessions-cleanup  schedule=0 0 * * * *
10:11:18 AM INFO Starting Job name=git-clone-scratch-cleanup  schedule=0 30 * * * *
10:11:18 AM INFO Job rescheduled name=apns-outbox  previousSchedule=  newSchedule=0 */5 * * * *  nextRun=null
10:11:18 AM INFO Filesystem watcher job registered 
10:11:18 AM WARN Projects filesystem watcher is monitoring directories recursively; very deep trees may require increasing fs.inotify.max_user_watches path=/mnt/srv/docker  sysctl=fs.inotify.max_user_watches
10:11:18 AM INFO Starting HTTP server port=3552  tls_enabled=false  addr=:3552  listen=
10:11:18 AM INFO Filesystem watcher started path=/mnt/srv/docker
10:11:18 AM INFO Projects filesystem watcher started path=/mnt/srv/docker
10:11:18 AM INFO auto-heal: detected own container; it will never be auto-restarted container_id=e5e7203aa2be1c2328e0ad1076d86a86a1ecf4ed89ecb2e953ff3c7397ad6ccf
10:11:18 AM INFO Filesystem watcher started path=/app/data/templates
10:11:18 AM INFO Templates filesystem watcher started path=/app/data/templates
10:11:20 AM INFO image scan run started 
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=docker.io/olbat/cupsd:latest  registry=docker.io  error=distribution inspect of docker.io/olbat/cupsd:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup registry=docker.io  error=distribution inspect of docker.io/henrygd/beszel:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>  imageRef=docker.io/henrygd/beszel:latest
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/papra-hq/papra:latest-rootless  registry=ghcr.io  error=distribution inspect of ghcr.io/papra-hq/papra:latest-rootless failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/gethomepage/homepage:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/gethomepage/homepage:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=docker.io/henrygd/beszel-agent:latest  registry=docker.io  error=distribution inspect of docker.io/henrygd/beszel-agent:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/euro-office/documentserver:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/euro-office/documentserver:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=docker.io/adguard/adguardhome:latest  registry=docker.io  error=distribution inspect of docker.io/adguard/adguardhome:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=docker.io/actualbudget/actual-server:latest  registry=docker.io  error=distribution inspect of docker.io/actualbudget/actual-server:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/alam00000/bentopdf-simple:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/alam00000/bentopdf-simple:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/gamosoft/notediscovery:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/gamosoft/notediscovery:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:20 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/tecnativa/docker-socket-proxy:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/tecnativa/docker-socket-proxy:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:21 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/cmintey/wishlist:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/cmintey/wishlist:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:11:22 AM INFO No orphaned image update records found 
10:11:22 AM INFO image scan run completed checked=12  updates=2  errors=0
10:11:34 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup error=distribution inspect of ghcr.io/getarcaneapp/arcane:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>  imageRef=ghcr.io/getarcaneapp/arcane:latest  registry=ghcr.io
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup registry=docker.io  error=distribution inspect of docker.io/olbat/cupsd:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>  imageRef=docker.io/olbat/cupsd:latest
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup registry=ghcr.io  error=distribution inspect of ghcr.io/gethomepage/homepage:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>  imageRef=ghcr.io/gethomepage/homepage:latest
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup error=distribution inspect of docker.io/adguard/adguardhome:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>  imageRef=docker.io/adguard/adguardhome:latest  registry=docker.io
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=docker.io/actualbudget/actual-server:latest  registry=docker.io  error=distribution inspect of docker.io/actualbudget/actual-server:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=docker.io/henrygd/beszel-agent:latest  registry=docker.io  error=distribution inspect of docker.io/henrygd/beszel-agent:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup error=distribution inspect of ghcr.io/papra-hq/papra:latest-rootless failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>  imageRef=ghcr.io/papra-hq/papra:latest-rootless  registry=ghcr.io
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=docker.io/henrygd/beszel:latest  registry=docker.io  error=distribution inspect of docker.io/henrygd/beszel:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/gamosoft/notediscovery:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/gamosoft/notediscovery:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/euro-office/documentserver:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/euro-office/documentserver:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup error=distribution inspect of ghcr.io/alam00000/bentopdf-simple:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>  imageRef=ghcr.io/alam00000/bentopdf-simple:latest  registry=ghcr.io
10:12:00 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/tecnativa/docker-socket-proxy:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/tecnativa/docker-socket-proxy:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:12:01 AM WARN distribution inspect unavailable, falling back to direct registry digest lookup imageRef=ghcr.io/cmintey/wishlist:latest  registry=ghcr.io  error=distribution inspect of ghcr.io/cmintey/wishlist:latest failed: Error response from daemon: <html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
10:12:01 AM INFO No orphaned image update records found

Docker Compose Configuration

services:
  dockerproxy:
    image: ghcr.io/tecnativa/docker-socket-proxy:latest
    container_name: dockerproxy
    restart: unless-stopped
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    tmpfs:
      - /tmp:rw,noexec,nosuid,nodev
      - /run:rw,noexec,nosuid,nodev
    networks:
      - socketproxy-net
    #    ports:
    #      - 127.0.0.1:2375:2375
    environment:
      - CONTAINERS=1 # Container management
      - IMAGES=1 # Image management
      - NETWORKS=1 # Network management
      - VOLUMES=1 # Volume management
      - INFO=1 # Docker system info
      - EXEC=1 # Execute commands in containers
      - POST=1 # Required for create/update operations
      # Allowed by default
      - EVENTS=1 # Container event monitoring
      - PING=1 # Health checks
      - VERSION=1 # Docker version info
      # Not needed
      - AUTH=0 # Authentication APIs
      - SECRETS=0 # Docker secrets access
      - BUILD=0 # Image building
      - COMMIT=0 # Container commits
      - CONFIGS=0 # Docker configs
      - DISTRIBUTION=1 # Distribution APIs
      - NODES=0 # Node management
      - PLUGINS=0 # Node management
      - SERVICES=0 # Service management (Swarm)
      - SESSION=0 # Session management
      - SWARM=0 # Docker Swarm features
      - SYSTEM=0 # System-wide operations
      - TASKS=0 # Task management (Swarm)
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
  arcane:
    image: ghcr.io/getarcaneapp/manager:latest # arcane:next-distroless 
    container_name: arcane
    restart: unless-stopped
    user: 1000:1000
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    #    ports:
    #      - '3552:3552'
    volumes:
      - ${DOCKER_DIR}/arcane/data:/app/data
      - ${DOCKER_DIR}/arcane/builds:/builds
      - ${DOCKER_DIR}:${DOCKER_DIR} # Stacks Directory
    environment:
      - TZ=${TZ}
      - LOG_LEVEL=debug
      - APP_URL=https://arcane.${MY_DOMAIN}
      - ENCRYPTION_KEY=${ENCRYPTION_KEY}
      - PROJECTS_DIRECTORY=${DOCKER_DIR}
      - DOCKER_HOST=tcp://dockerproxy:2375
      - OIDC_ENABLED=true
      - OIDC_PROVIDER_NAME=${PROVIDER_NAME}
      - OIDC_CLIENT_ID=${CLIENT_ID}
      - OIDC_CLIENT_SECRET=${CLIENT_SECRET}
      - OIDC_ISSUER_URL=${ISSUER_URL}
      - OIDC_SCOPES=openid email profile groups
      - OIDC_GROUPS_CLAIM=groups # grant admin access based on user "group"
      - OIDC_ROLE_MAPPINGS=[{"claimValue":"admins","roleId":"role_admin"}] # if user in group admins grant admin access
      - OIDC_AUTO_REDIRECT_TO_PROVIDER=true
      - ANALYTICS_DISABLED=true
    networks:
      - socketproxy-net
      - arcane-net
    depends_on:
      - dockerproxy
    healthcheck:
      test:
        ["CMD", "./arcane", "health", "--timeout", "2s"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 15s
networks:
  socketproxy-net:
    name: socketproxy-net
    internal: true
  arcane-net:
    name: arcane-net

Environment Configuration (.env file)


Additional Context

No response

Im-hsh avatar Sep 17 '26 08:09 Im-hsh

It's not fixed in v2.13.0

Im-hsh avatar Sep 20 '26 11:09 Im-hsh