The Basics
- Nextcloud Server version (e.g., 29.x.x):
10.7.0
- Operating system and version (e.g., Ubuntu 24.04):
Debian
- Web server and version (e.g, Apache 2.4.25):
Latest Docker container
- Reverse proxy and version _(e.g. nginx 1.27.2)
Latest Docker container
- PHP version (e.g, 8.3):
Latest Docker container
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
Today
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Docker
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Yes, cloudflare tunnel
Summary of the issue you are facing:
Basically my [nextcloud-aio-nextcloud] container fails to start, which causes some sub container to not start as well.
Steps to replicate it (hint: details matter!):
- Start all containers
Log entries
Nextcloud
Connection to nextcloud-aio-database (172.18.0.3) 5432 port [tcp/postgresql] succeeded!
now
-------------------------------
2025-03-23 17:12:05.067262+00
(1 row)
+ '[' -f /dev-dri-group-was-added ']'
++ find /dev -maxdepth 1 -mindepth 1 -name dri
+ '[' -n '' ']'
+ set +x
Connection to nextcloud-aio-redis (172.18.0.4) 6379 port [tcp/redis] succeeded!
Appdata is not present. Did you maybe change the datadir after the initial Nextcloud installation? This is not supported!
See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
If you adjusted the datadir to be located on an external drive, make sure that the drive is still mounted!
In the datadir was found:
total 4
drwxr-x--- 2 www-data root 40 Mar 23 17:12 .
drwxr-xr-x 1 root root 4096 Mar 23 16:47 ..
Configuration
Nextcloud
services:
app:
image: nextcloud/all-in-one:latest
restart: unless-stopped
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- //var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 80:80
- 8080:8080
- 8443:8443
environment:
- APACHE_PORT=11000
- APACHE_IP_BINDING=0.0.0.0
- NEXTCLOUD_DATADIR=/run/desktop/mnt/host/d/ncdata
tunnel:
image: cloudflare/cloudflared:latest
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
Additional info:
I did not change the directory or change drives or anything, it was working before and now just stopped working.