My nextcloud updater wont work

I want to update my nextcloud wich runs as docker but when i try to open theupdater it shows me the error below. Any ideas on a fix?

I’m not an expert when it comes to Docker, and I don’t use it for Nextcloud. But as far as I know, at least if you are using the official Docker images, you shouldn’t use the built in updater, but rebuild your containers manually, every time you want to upgrade to a new version of Nextcloud, Meaning you have to download the new image, then you stop and delete the existing container, and start a new one from the new image you downloaded.

docker pull nextcloud
docker stop <your_nextcloud_container>
docker rm <your_nextcloud_container>
docker run <OPTIONS> -d nextcloud

or if you are using Docker Compose:

docker-compose pull
docker-compose up -d

See here: https://github.com/docker-library/docs/blob/master/nextcloud/README.md#update-to-a-newer-version

2 Likes