Can't Update Nextcloud AIO,

Upon updating master container, getting this in the logs:

time=“2023-11-11T17:22:20Z” level=debug msg=“Sleeping for a second to ensure the docker api client has been properly initialized.”
time=“2023-11-11T17:22:21Z” level=debug msg=“Making sure everything is sane before starting”
time=“2023-11-11T17:22:21Z” level=info msg=“Watchtower 1.6.0”
time=“2023-11-11T17:22:21Z” level=info msg=“Using no notifications”
time=“2023-11-11T17:22:21Z” level=info msg=“Only checking containers which name matches "nextcloud-aio-mastercontainer"”
time=“2023-11-11T17:22:21Z” level=info msg=“Running a one time update.”
time=“2023-11-11T17:22:21Z” level=debug msg=“Checking containers for updated images”
time=“2023-11-11T17:22:21Z” level=debug msg=“Retrieving running containers”
time=“2023-11-11T17:22:21Z” level=debug msg=“Trying to load authentication credentials.” container=/nextcloud-aio-mastercontainer image=“nextcloud/all-in-one:latest”
time=“2023-11-11T17:22:21Z” level=debug msg=“No credentials for index.docker.io found” config_file=/config.json
time=“2023-11-11T17:22:21Z” level=debug msg=“Got image name: nextcloud/all-in-one:latest”
time=“2023-11-11T17:22:21Z” level=debug msg=“Checking if pull is needed” container=/nextcloud-aio-mastercontainer image=“nextcloud/all-in-one:latest”
time=“2023-11-11T17:22:21Z” level=debug msg=“Built challenge URL” URL=“https://index.docker.io/v2/
time=“2023-11-11T17:22:25Z” level=debug msg=“Got response to challenge request” header=“Bearer realm="https://auth.docker.io/token\",service=\"registry.docker.io\”" status=“401 Unauthorized”
time=“2023-11-11T17:22:25Z” level=debug msg=“Checking challenge header content” realm=“https://auth.docker.io/tokenservice=registry.docker.io
time=“2023-11-11T17:22:25Z” level=debug msg=“Setting scope for auth token” image=docker.io/nextcloud/all-in-one scope=“repository:nextcloud/all-in-one:pull”
time=“2023-11-11T17:22:25Z” level=debug msg=“No credentials found.”
time=“2023-11-11T17:22:25Z” level=debug msg=“Parsing image ref” host=index.docker.io image=nextcloud/all-in-one normalized=docker.io/nextcloud/all-in-one tag=latest
time=“2023-11-11T17:22:25Z” level=debug msg=“Doing a HEAD request to fetch a digest” url=“https://index.docker.io/v2/nextcloud/all-in-one/manifests/latest
time=“2023-11-11T17:22:26Z” level=debug msg=“Found a remote digest to compare with” remote=“sha256:f8e93ea5fde19dad256385e95b31cb400821921507d2eddef662271eaa05e539”
time=“2023-11-11T17:22:26Z” level=debug msg=Comparing local=“sha256:b65a2d2aeb7afd4ac5c06893fd6bda4cd06dd56502560a90ea3dacba10c9286e” remote=“sha256:f8e93ea5fde19dad256385e95b31cb400821921507d2eddef662271eaa05e539”
time=“2023-11-11T17:22:26Z” level=debug msg=“Digests did not match, doing a pull.”
time=“2023-11-11T17:22:26Z” level=debug msg=“Pulling image” container=/nextcloud-aio-mastercontainer image=“nextcloud/all-in-one:latest”
time=“2023-11-11T17:22:32Z” level=debug msg=“Error pulling image nextcloud/all-in-one:latest, Error response from daemon: Head "https://registry-1.docker.io/v2/nextcloud/all-in-one/manifests/latest\”: Get "https://auth.docker.io/token?scope=repository%3Anextcloud%2Fall-in-one%3Apull&service=registry.docker.io\“: EOF”
time=“2023-11-11T17:22:32Z” level=info msg=“Unable to update container "/nextcloud-aio-mastercontainer": Error response from daemon: Head "https://registry-1.docker.io/v2/nextcloud/all-in-one/manifests/latest\”: Get "https://auth.docker.io/token?scope=repository%3Anextcloud%2Fall-in-one%3Apull&service=registry.docker.io\“: EOF. Proceeding to next.”
time=“2023-11-11T17:22:32Z” level=info msg=“Session done” Failed=0 Scanned=1 Updated=0 notify=no
time=“2023-11-11T17:22:32Z” level=info msg=“Waiting for the notification goroutine to finish” notify=no

“Unable to update container "/nextcloud-aio-mastercontainer": Error response from daemon: Head "https://registry-1.docker.io/v2/nextcloud/all-in-one/manifests/latest\”: Get "https://auth.docker.io/token?scope=repository%3Anextcloud%2Fall-in-one%3Apull&service=registry.docker.io\“: EOF. Proceeding to next.”

looking to be the main issue. Any suggestions?

Hm… Maybe you network is not able to resolve domain names? Can you make sure that it can do so?

I’m getting the same problem:

level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."
level=debug msg="Making sure everything is sane before starting"
level=info msg="Watchtower 1.6.0"
level=info msg="Using no notifications"
level=info msg="Only checking containers which name matches \"nextcloud-aio-mastercontainer\""
level=info msg="Running a one time update."
level=debug msg="Checking containers for updated images"
level=debug msg="Retrieving running containers"
level=debug msg="Trying to load authentication credentials." container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
level=debug msg="No credentials for index.docker.io found" config_file=/config.json
level=debug msg="Got image name: nextcloud/all-in-one:latest"
level=debug msg="Checking if pull is needed" container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
level=debug msg="Built challenge URL" URL="https://index.docker.io/v2/"
level=debug msg="Got response to challenge request" header="Bearer realm=\"https://auth.docker.io/token\",service=\"registry.docker.io\"" status="401 Unauthorized"
level=debug msg="Checking challenge header content" realm="https://auth.docker.io/token" service=registry.docker.io
level=debug msg="Setting scope for auth token" image=docker.io/nextcloud/all-in-one scope="repository:nextcloud/all-in-one:pull"
level=debug msg="No credentials found."
level=debug msg="Parsing image ref" host=index.docker.io image=nextcloud/all-in-one normalized=docker.io/nextcloud/all-in-one tag=latest
level=debug msg="Doing a HEAD request to fetch a digest" url="https://index.docker.io/v2/nextcloud/all-in-one/manifests/latest"
level=debug msg="Found a remote digest to compare with" remote="sha256:910ae5cff27b766d0063c97a799508abcda4eee88bed6cc7e1e4d65798a4c33d"
level=debug msg=Comparing local="sha256:f8e93ea5fde19dad256385e95b31cb400821921507d2eddef662271eaa05e539" remote="sha256:910ae5cff27b766d0063c97a799508abcda4eee88bed6cc7e1e4d65798a4c33d"
level=debug msg="Digests did not match, doing a pull."
level=debug msg="Pulling image" container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
level=info msg="Found new nextcloud/all-in-one:latest image (47803d2f0a14)"
level=info msg="Stopping /nextcloud-aio-mastercontainer (dd4bdeef737b) with SIGTERM"
level=debug msg="Removing container dd4bdeef737b"
level=info msg="Creating /nextcloud-aio-mastercontainer"
level=debug msg="Starting container /nextcloud-aio-mastercontainer (5751b2bb9365)"
level=info msg="Removing image f81b370f64f2"
level=debug msg="Image removal completed" deleted="f81b370f64f2, b46e721c00bc, c3e27717c511, d3d36d320066, e95dbc5c553e, ed2e72146612, bbe1a67368cc, e2b843874171, 9bc9e288eeb2, 5c6683f0b726, b17222a6cf8d, 0d6ff1ce597a, b367d03e6637, ddbc77833346, 2f8a04a37bb6" untagged="nextcloud/all-in-one@sha256:f8e93ea5fde1"
level=info msg="Session done" Failed=0 Scanned=1 Updated=1 notify=no
level=info msg="Waiting for the notification goroutine to finish" notify=no
level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."
level=debug msg="Making sure everything is sane before starting"
level=info msg="Watchtower 1.6.0"
level=info msg="Using no notifications"
level=info msg="Only checking containers which name matches \"nextcloud-aio-mastercontainer\""
level=info msg="Running a one time update."
level=debug msg="Checking containers for updated images"
level=debug msg="Retrieving running containers"
level=debug msg="Trying to load authentication credentials." container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
level=debug msg="No credentials for index.docker.io found" config_file=/config.json
level=debug msg="Got image name: nextcloud/all-in-one:latest"
level=debug msg="Checking if pull is needed" container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
level=debug msg="Built challenge URL" URL="https://index.docker.io/v2/"
level=debug msg="Got response to challenge request" header="Bearer realm=\"https://auth.docker.io/token\",service=\"registry.docker.io\"" status="401 Unauthorized"
level=debug msg="Checking challenge header content" realm="https://auth.docker.io/token" service=registry.docker.io
level=debug msg="Setting scope for auth token" image=docker.io/nextcloud/all-in-one scope="repository:nextcloud/all-in-one:pull"
level=debug msg="No credentials found."
level=debug msg="Parsing image ref" host=index.docker.io image=nextcloud/all-in-one normalized=docker.io/nextcloud/all-in-one tag=latest
level=debug msg="Doing a HEAD request to fetch a digest" url="https://index.docker.io/v2/nextcloud/all-in-one/manifests/latest"
level=debug msg="Found a remote digest to compare with" remote="sha256:910ae5cff27b766d0063c97a799508abcda4eee88bed6cc7e1e4d65798a4c33d"
level=debug msg=Comparing local="sha256:910ae5cff27b766d0063c97a799508abcda4eee88bed6cc7e1e4d65798a4c33d" remote="sha256:910ae5cff27b766d0063c97a799508abcda4eee88bed6cc7e1e4d65798a4c33d"
level=debug msg="Found a match"
level=debug msg="No pull needed. Skipping image."
level=debug msg="No new images found for /nextcloud-aio-mastercontainer"
level=info msg="Session done" Failed=0 Scanned=1 Updated=0 notify=no
level=info msg="Waiting for the notification goroutine to finish" notify=no

I think the relevant part is:

level=debug msg="No credentials for index.docker.io found" config_file=/config.json
level=debug msg="Got image name: nextcloud/all-in-one:latest"
level=debug msg="Checking if pull is needed" container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
level=debug msg="Built challenge URL" URL="https://index.docker.io/v2/"
level=debug msg="Got response to challenge request" header="Bearer realm=\"https://auth.docker.io/token\",service=\"registry.docker.io\"" status="401 Unauthorized"
level=debug msg="Checking challenge header content" realm="https://auth.docker.io/token" service=registry.docker.io
level=debug msg="Setting scope for auth token" image=docker.io/nextcloud/all-in-one scope="repository:nextcloud/all-in-one:pull"
level=debug msg="No credentials found."

Then the nextcloud-aio-watchtower container always goes into exited state. I’ve checked from inside other containers, domain name resolving works fine (can’t check from inside the nextcloud-aio-watchtower container because it’s not running).

This looks like a hickup on hub.docker.com

It’s been happening for days…

Ah I think you are confusing something here. The watchtower container of aio is indeed only meant to run temporarily.

1 Like

Oh, thanks! I thought it’s supposed to be running constantly and was worried that something is broken. I’m fairly new to the AIO version of Nextcloud (2 weeks or so).

My issue resolved itself randomly.

1 Like