Hi, I have tried to update the mastercontainer to the newest version by pressing a button in the AIO user interface. This results in a screen with the following information:
Nextcloud AIO v9.3.0
Mastercontainer update currently running. Once the update is complete the mastercontainer will restart, making it unavailable for a moment. Please wait until it's done. (Logs)
After a couple of seconds this screen disappears, and I end up in a screen in which all containers are stopped, and the only available action is Update mastercontainer
. Pressing this button again leads to an endless loop.
The Logs look like this:
2024-10-19T10:11:32.035290174Z time="2024-10-19T10:11:32Z" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."
2024-10-19T10:11:33.036513792Z time="2024-10-19T10:11:33Z" level=debug msg="Making sure everything is sane before starting"
2024-10-19T10:11:33.036571473Z time="2024-10-19T10:11:33Z" level=info msg="Watchtower 1.7.1"
2024-10-19T10:11:33.036579398Z time="2024-10-19T10:11:33Z" level=info msg="Using no notifications"
2024-10-19T10:11:33.036585310Z time="2024-10-19T10:11:33Z" level=info msg="Only checking containers which name matches \"nextcloud-aio-mastercontainer\""
2024-10-19T10:11:33.036591161Z time="2024-10-19T10:11:33Z" level=info msg="Running a one time update."
2024-10-19T10:11:33.036692406Z time="2024-10-19T10:11:33Z" level=debug msg="Checking containers for updated images"
2024-10-19T10:11:33.036710941Z time="2024-10-19T10:11:33Z" level=debug msg="Retrieving running containers"
2024-10-19T10:11:33.041457963Z time="2024-10-19T10:11:33Z" level=debug msg="Trying to load authentication credentials." container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
2024-10-19T10:11:33.041504202Z time="2024-10-19T10:11:33Z" level=debug msg="No credentials for index.docker.io found" config_file=/config.json
2024-10-19T10:11:33.041508520Z time="2024-10-19T10:11:33Z" level=debug msg="Got image name: nextcloud/all-in-one:latest"
2024-10-19T10:11:33.041510724Z time="2024-10-19T10:11:33Z" level=debug msg="Checking if pull is needed" container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
2024-10-19T10:11:33.041544008Z time="2024-10-19T10:11:33Z" level=debug msg="Built challenge URL" URL="https://index.docker.io/v2/"
2024-10-19T10:11:33.343974336Z time="2024-10-19T10:11:33Z" level=debug msg="Got response to challenge request" header="Bearer realm=\"https://auth.docker.io/token\",service=\"registry.docker.io\"" status="401 Unauthorized"
2024-10-19T10:11:33.344030464Z time="2024-10-19T10:11:33Z" level=debug msg="Checking challenge header content" realm="https://auth.docker.io/token" service=registry.docker.io
2024-10-19T10:11:33.344038188Z time="2024-10-19T10:11:33Z" level=debug msg="Setting scope for auth token" image=docker.io/nextcloud/all-in-one scope="repository:nextcloud/all-in-one:pull"
2024-10-19T10:11:33.344044140Z time="2024-10-19T10:11:33Z" level=debug msg="No credentials found."
2024-10-19T10:11:33.649026538Z time="2024-10-19T10:11:33Z" level=debug msg="Parsing image ref" host=index.docker.io image=nextcloud/all-in-one normalized=docker.io/nextcloud/all-in-one tag=latest
2024-10-19T10:11:33.649059612Z time="2024-10-19T10:11:33Z" level=debug msg="Doing a HEAD request to fetch a digest" url="https://index.docker.io/v2/nextcloud/all-in-one/manifests/latest"
2024-10-19T10:11:33.999136412Z time="2024-10-19T10:11:33Z" level=debug msg="Found a remote digest to compare with" remote="sha256:c06aa0cf8c31ba0ab9471cbab3d5064b0dbf14043cc116d0c1e87a899ec8de51"
2024-10-19T10:11:33.999176439Z time="2024-10-19T10:11:33Z" level=debug msg=Comparing local="sha256:1789869aed9e05f0e5a65f3b4e14766977c2f9842b22f4ba4ac79205c10d6347" remote="sha256:c06aa0cf8c31ba0ab9471cbab3d5064b0dbf14043cc116d0c1e87a899ec8de51"
2024-10-19T10:11:33.999205976Z time="2024-10-19T10:11:33Z" level=debug msg="Digests did not match, doing a pull."
2024-10-19T10:11:33.999210144Z time="2024-10-19T10:11:33Z" level=debug msg="Pulling image" container=/nextcloud-aio-mastercontainer image="nextcloud/all-in-one:latest"
2024-10-19T10:11:34.915400652Z time="2024-10-19T10:11:34Z" level=info msg="Found new nextcloud/all-in-one:latest image (8fece69618bf)"
2024-10-19T10:11:34.915421061Z time="2024-10-19T10:11:34Z" level=info msg="Stopping /nextcloud-aio-mastercontainer (1d9913a40926) with SIGTERM"
2024-10-19T10:11:34.931657825Z time="2024-10-19T10:11:34Z" level=error msg="Error response from daemon: Cannot kill container: 1d9913a409266779170f49274ffb58a40a1c3487e265c80b598b8c9f191336fa: Cannot kill container 1d9913a409266779170f49274ffb58a40a1c3487e265c80b598b8c9f191336fa: unknown error after kill: runc did not terminate successfully: exit status 1: unable to signal init: permission denied\n: unknown"
2024-10-19T10:11:34.931668095Z time="2024-10-19T10:11:34Z" level=info msg="Session done" Failed=1 Scanned=1 Updated=0 notify=no
2024-10-19T10:11:34.931670660Z time="2024-10-19T10:11:34Z" level=info msg="Waiting for the notification goroutine to finish" notify=no
Can anyone tell me how to fix this situation? Note that I can stop the container manually using docker stop 1d9913a40926
. But the logs indicate that an attempt to kill the same container has failed.
Best regards,
Wieger