-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nextcloud All-In-One fails to update, watchtover segfaults? #1942
Comments
Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏 |
I know this is a month ago, but @lvets did you get anywhere with this? |
I just tried to update my Nextcloud AIO on a Raspberry PI 5 with docker in rootless mode and I am having the exact same problem. |
The error mentions |
This appears to be the original ticket for this issue on the Nextcloud AIO issue tracker: nextcloud/all-in-one#4309 FWIW I am not yet fully convinced that the source of this issue is with Watchtower based on the limited evidence presented so far. |
Sorry for not answering sooner, but I fixed this last weekend. What I think happened is that at some point I (or something) started or restarted the Nextcloud AIO mastercontainer without the The fix for me (ymmv!) was to use
Once both mastercontainer and watchtower are restarted with |
If the issue is that the watchtower container is being started with the wrong parameters, then that is not the fault of watchtower itself; it was just using the socket path it was told to use, which doesn't exist. I think this issue should be reported as part of Nextcloud AIO. @szaimen |
I was able to resolve the issue by deleting the mastercontainer instance and then re-running the initial creation command. In my case the command looks like this because I have a datadir mapped to a subdirectory of my home directory. docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume "$XDG_RUNTIME_DIR/docker.sock":/var/run/docker.sock:ro \
--env NEXTCLOUD_DATADIR="$HOME/nextcloud/data/nc" \
--env WATCHTOWER_DOCKER_SOCKET_PATH="$XDG_RUNTIME_DIR/docker.sock" \
nextcloud/all-in-one:latest \
; The instructions for rootless Docker do explicitly mention needing to set |
Describe the bug
I've installed Nextcloud AIO on a docker rootless setup. I'm trying to update the mastercontainer by stopping all containers and then clicking "Update mastercontainer". This shows "Mastercontainer update currently running. It will restart the mastercontainer soon which will make it unavailable for a moment. Please wait until that's done. (Logs)" for a couple of seconds then goes back to the main AIO screen. Nothing seems to happen...
Apparently, the actual update is done by a watchtower container. When I check the logs of that container, I see the following:
Steps to reproduce
See above.
Expected behavior
Nextcloud All-In-One updates successfully and everything is hunky-dory.
Screenshots
No response
Environment
Your logs
Additional context
No response
The text was updated successfully, but these errors were encountered: