Hello forum,
my Docker hangs in a loop after starting:
next | Initializing nextcloud 30.0.0.14 ...
next | Upgrading nextcloud from 29.0.6.1 ...
next exited with code 0
next | Initializing nextcloud 30.0.0.14 ...
next | Upgrading nextcloud from 29.0.6.1 ...
Here is my Compose file, which I have been using for 2-3 years.
services:
app:
image: nextcloud
container_name: "mynextc"
restart: always
ports:
- 7435:80
labels:
- "autoheal=true"
- "traefik.enable=true"
healthcheck:
test: curl --fail http://localhost:80/ || exit 1
interval: 40s
timeout: 30s
retries: 3
start_period: 60s
volumes:
- /FS-Cluster/docker/next/data:/var/www/html
environment:
- MYSQL_PASSWORD=*PASSWORD*
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=mynextc
- MYSQL_HOST=192.168.231.231:60033
networks:
default:
name: public-traefik-proxy
external: true
Up until now it was always enough to end the maintenance mode and then start the update.
docker exec -u www-data mynextc php occ maintenance:mode --off
Does anyone have an idea or a solution for this?