Hello all. I’ve faced a problem after upgrade to 24.0.4
nextcloud:production from hub.docker.com, mariadb 10.5
Docker compose:
services:
image: nextcloud:production
container_name: nextcloud
hostname: nas
restart: always
ports:
- "50082:80"
links:
- db
volumes:
- /mnt/media/docker/containers/nextcloud/:/var/www/html
- /mnt/media/docker/containers/nextcloud/apps:/var/www/html/custom_apps
- /mnt/media/docker/containers/nextcloud/config:/var/www/html/config
- /mnt/media/docker/containers/nextcloud/data:/var/www/html/data
environment:
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
- NEXTCLOUD_ADMIN_USER=admin
- NEXTCLOUD_ADMIN_PASSWORD=
db:
image: mariadb:10.5
container_name: nextcloud-db
hostname: nas
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- /mnt/media/docker/containers/nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
After upgrade I see this
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Nextcloud log - https://0x0.st/oppO.log
Seems like I even have no option to downgrade…
nextcloud | Can't start Nextcloud because the version of the data (24.0.4.1) is higher than the docker image version (24.0.3.2) and downgrading is not supported. Are you sure you have pulled the newest image version?
How to restore nextcloud? TBO it’s not the first time I see this error. It follows me almost every upgrade of docker image. Earlier I just gave up and recreated whole nextcloud container from scratch. But I’m done now. Is there any way to restore it and make fully functional? Thanks.