Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
AIO v12.3.0
- Operating system and version (e.g., Ubuntu 24.04):
Synology DSM 7.3.2-86009
- Web server and version (e.g, Apache 2.4.25):
2.4.66
- Reverse proxy and version _(e.g. nginx 1.27.2)
Synology DSM Reverse Proxy
- PHP version (e.g, 8.3):
8.3.28
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
On first startup
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Yes, Cloudflare
Summary of the issue you are facing:
Nextcloud AIO /containers page shows all containers as “Starting”, with a yellow dot. Except for the Fulltextsearch, which is Stopped red (due to me stopping it, after I realised I had installed it despite my platform not supporting Seccomp, but the “Optional containers” checkbox being greyed out even when it’s stopped).
Many of these containers show as green/healthy in the DSM Container Manager
Steps to replicate it (hint: details matter!):
-
Start the aio mastercontainer through the DSM Container Manager UI
-
Proceed through the web UI, specifying desired apps
Log entries
Nextcloud
Waiting for database to start...
Waiting for database to start...
Waiting for database to start...
Database
2025-12-21T13:21:05.562427890Z + rm -rf '/var/lib/postgresql/data/*'
2025-12-21T13:21:05.656258563Z + touch /mnt/data/initial-cleanup-done
2025-12-21T13:21:05.656889271Z + set +ex
2025-12-21T13:21:05.779623448Z chmod: /var/run/postgresql: Operation not permitted
2025-12-21T13:21:06.464963974Z The files belonging to this database system will be owned by user "postgres".
2025-12-21T13:21:06.465101366Z This user must also own the server process.
2025-12-21T13:21:06.465138336Z
2025-12-21T13:21:06.465162917Z The database cluster will be initialized with locale "en_US.utf8".
2025-12-21T13:21:06.465188767Z The default database encoding has accordingly been set to "UTF8".
2025-12-21T13:21:06.465219828Z The default text search configuration will be set to "english".
2025-12-21T13:21:06.465243508Z
2025-12-21T13:21:06.465258588Z Data page checksums are disabled.
2025-12-21T13:21:06.465281418Z
2025-12-21T13:21:06.465297739Z fixing permissions on existing directory /var/lib/postgresql/data ... ok
2025-12-21T13:21:06.465901747Z creating subdirectories ... ok
2025-12-21T13:21:06.466059189Z selecting dynamic shared memory implementation ... posix
2025-12-21T13:21:06.507602447Z selecting default "max_connections" ... 100
2025-12-21T13:21:06.523971660Z selecting default "shared_buffers" ... 128MB
2025-12-21T13:21:06.524084632Z selecting default time zone ... Australia/Brisbane
2025-12-21T13:21:06.555621613Z creating configuration files ... ok
2025-12-21T13:21:06.706547055Z running bootstrap script ... ok
2025-12-21T13:21:06.946316572Z sh: locale: not found
2025-12-21T13:21:07.175560615Z 2025-12-21 23:21:06.946 AEST [30] WARNING: no usable system locales were found
2025-12-21T13:21:07.437488264Z performing post-bootstrap initialization ... ok
2025-12-21T13:21:08.828020426Z initdb: warning: enabling "trust" authentication for local connections
2025-12-21T13:21:08.828183759Z initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
2025-12-21T13:21:08.828055927Z syncing data to disk ... ok
2025-12-21T13:21:08.828331721Z
2025-12-21T13:21:08.828364201Z
2025-12-21T13:21:08.828399262Z Success. You can now start the database server using:
2025-12-21T13:21:08.828437292Z
2025-12-21T13:21:08.828459482Z pg_ctl -D /var/lib/postgresql/data -l logfile start
2025-12-21T13:21:08.828490553Z
2025-12-21T13:21:08.977757193Z waiting for server to start....2025-12-21 23:21:08.977 AEST [36] LOG: starting PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
2025-12-21T13:21:09.125095516Z 2025-12-21 23:21:08.977 AEST [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-12-21T13:21:09.275430750Z 2025-12-21 23:21:09.275 AEST [39] LOG: database system was shut down at 2025-12-21 23:21:07 AEST
2025-12-21T13:21:09.708291816Z 2025-12-21 23:21:09.708 AEST [36] LOG: database system is ready to accept connections
2025-12-21T13:21:09.771828364Z done
2025-12-21T13:21:09.771966176Z server started
2025-12-21T13:21:10.992455894Z CREATE DATABASE
2025-12-21T13:21:11.846687788Z
2025-12-21T13:21:11.846763219Z
2025-12-21T13:21:11.846790839Z /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-user-db.sh
2025-12-21T13:21:11.846834690Z CREATE ROLE
2025-12-21T13:21:11.846862380Z ALTER DATABASE
2025-12-21T13:21:10.996038283Z + touch /mnt/data/initialization.failed
2025-12-21T13:21:11.846970822Z + psql -v ON_ERROR_STOP=1 --username nextcloud --dbname nextcloud_database
2025-12-21T13:21:12.257052886Z GRANT
2025-12-21T13:21:12.594722310Z GRANT
2025-12-21T13:21:12.595123056Z + rm /mnt/data/initialization.failed
2025-12-21T13:21:12.597200414Z
2025-12-21T13:21:12.597375527Z waiting for server to shut down....2025-12-21 23:21:12.597 AEST [36] LOG: received fast shutdown request
2025-12-21T13:21:12.597483768Z + set +ex
2025-12-21T13:21:12.859660561Z 2025-12-21 23:21:12.859 AEST [36] LOG: aborting any active transactions
2025-12-21T13:21:12.862194215Z 2025-12-21 23:21:12.862 AEST [36] LOG: background worker "logical replication launcher" (PID 42) exited with exit code 1
2025-12-21T13:21:12.862985896Z 2025-12-21 23:21:12.862 AEST [37] LOG: shutting down
2025-12-21T13:21:12.909750175Z 2025-12-21 23:21:12.909 AEST [37] LOG: checkpoint starting: shutdown immediate
2025-12-21T13:21:15.318301459Z ..2025-12-21 23:21:15.318 AEST [37] LOG: checkpoint complete: wrote 934 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.805 s, sync=0.674 s, total=2.456 s; sync files=308, longest=0.322 s, average=0.003 s; distance=4260 kB, estimate=4260 kB; lsn=0/19163B0, redo lsn=0/19163B0
2025-12-21T13:21:15.323658133Z 2025-12-21 23:21:15.323 AEST [36] LOG: database system is shut down
2025-12-21T13:21:15.402813184Z done
2025-12-21T13:21:15.402914806Z server stopped
2025-12-21T13:21:15.407218694Z
2025-12-21T13:21:15.407269795Z PostgreSQL init process complete; ready for start up.
2025-12-21T13:21:15.407299736Z
2025-12-21T13:21:15.968804599Z 2025-12-21 23:21:15.968 AEST [14] LOG: starting PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
2025-12-21T13:21:15.969043492Z 2025-12-21 23:21:15.968 AEST [14] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-12-21T13:21:15.969129003Z 2025-12-21 23:21:15.968 AEST [14] LOG: listening on IPv6 address "::", port 5432
2025-12-21T13:21:16.274157772Z 2025-12-21 23:21:16.274 AEST [14] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-12-21T13:21:16.507429259Z 2025-12-21 23:21:16.506 AEST [57] LOG: database system was shut down at 2025-12-21 23:21:15 AEST
2025-12-21T13:21:16.578022454Z 2025-12-21 23:21:16.577 AEST [14] LOG: database system is ready to accept connections
2025-12-21T13:26:16.651307917Z 2025-12-21 23:26:16.651 AEST [55] LOG: checkpoint starting: time
2025-12-21T13:26:23.256196576Z 2025-12-21 23:26:23.256 AEST [55] LOG: checkpoint complete: wrote 48 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.592 s, sync=0.911 s, total=6.666 s; sync files=13, longest=0.172 s, average=0.071 s; distance=270 kB, estimate=270 kB; lsn=0/1959CE8, redo lsn=0/1959C58
2025-12-21T13:49:28.414977240Z ++ rm -f /mnt/data/database-dump.sql.temp
2025-12-21T13:49:28.415685189Z ++ touch /mnt/data/export.failed
2025-12-21T13:49:28.416344068Z ++ pg_dump --username nextcloud nextcloud_database
2025-12-21T13:49:29.451795613Z ++ rm -f /mnt/data/database-dump.sql
2025-12-21T13:49:29.452398681Z ++ mv /mnt/data/database-dump.sql.temp /mnt/data/database-dump.sql
2025-12-21T13:49:29.458978581Z ++ pg_ctl stop -m fast
2025-12-21T13:49:29.466707586Z 2025-12-21 23:49:29.466 AEST [14] LOG: received fast shutdown request
2025-12-21T13:49:29.511536478Z 2025-12-21 23:49:29.510 AEST [14] LOG: aborting any active transactions
2025-12-21T13:49:29.513463834Z 2025-12-21 23:49:29.513 AEST [14] LOG: background worker "logical replication launcher" (PID 60) exited with exit code 1
2025-12-21T13:49:29.514228884Z 2025-12-21 23:49:29.514 AEST [55] LOG: shutting down
2025-12-21T13:49:29.564193175Z 2025-12-21 23:49:29.564 AEST [55] LOG: checkpoint starting: shutdown immediate
2025-12-21T13:49:30.016221357Z 2025-12-21 23:49:30.016 AEST [55] LOG: checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.502 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=243 kB; lsn=0/1959D98, redo lsn=0/1959D98
2025-12-21T13:49:30.020470965Z 2025-12-21 23:49:30.020 AEST [14] LOG: database system is shut down
2025-12-21T13:49:30.067840541Z waiting for server to shut down.... done
2025-12-21T13:49:30.067994113Z server stopped
2025-12-21T13:49:30.068241556Z ++ rm /mnt/data/export.failed
2025-12-21T13:49:30.068836314Z ++ echo 'Database dump successful!'
2025-12-21T13:49:30.068910375Z ++ set +x
2025-12-21T13:49:30.068852695Z Database dump successful!
2025-12-21T13:49:36.202712119Z Setting postgres values...
2025-12-21T13:49:36.465886247Z chmod: /var/run/postgresql: Operation not permitted
2025-12-21T13:49:36.466881410Z
2025-12-21T13:49:36.466936001Z PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-12-21T13:49:36.466970092Z
2025-12-21T13:49:37.006809920Z 2025-12-21 23:49:37.006 AEST [14] LOG: starting PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
2025-12-21T13:49:37.006975353Z 2025-12-21 23:49:37.006 AEST [14] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-12-21T13:49:37.007006653Z 2025-12-21 23:49:37.006 AEST [14] LOG: listening on IPv6 address "::", port 5432
2025-12-21T13:49:37.093179128Z 2025-12-21 23:49:37.093 AEST [14] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-12-21T13:49:37.268406476Z 2025-12-21 23:49:37.268 AEST [24] LOG: database system was shut down at 2025-12-21 23:49:29 AEST
2025-12-21T13:49:37.832308533Z 2025-12-21 23:49:37.832 AEST [14] LOG: database system is ready to accept connections
Mastercontainer
2025-12-21T15:32:41.645304529Z NOTICE: PHP message: 404 Not Found
2025-12-21T15:32:41.645657464Z Type: Slim\Exception\HttpNotFoundException
2025-12-21T15:32:41.645696964Z Code: 404
2025-12-21T15:32:41.645716525Z Message: Not found.
2025-12-21T15:32:41.645735055Z File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
2025-12-21T15:32:41.645771015Z Line: 76
2025-12-21T15:32:41.645796486Z Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.645827476Z #1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.645855407Z #2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(178): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
2025-12-21T15:32:41.645881647Z #3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.645909837Z #4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2025-12-21T15:32:41.645940318Z #5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(53): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.645964398Z #6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(283): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2025-12-21T15:32:41.645990308Z #7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.646014509Z #8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2025-12-21T15:32:41.646079920Z #9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.646114880Z #10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.646138890Z #11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-12-21T15:32:41.646161211Z #12 /var/www/docker-aio/php/public/index.php(200): Slim\App->run()
2025-12-21T15:32:41.646181861Z #13 {main}
2025-12-21T15:32:41.646197831Z Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
Redis
2025-12-21T13:21:30.102273140Z Memory overcommit is disabled but necessary for safe operation
2025-12-21T13:21:30.102687425Z See https://github.com/nextcloud/all-in-one/discussions/1731 how to enable overcommit
2025-12-21T13:21:30.102736156Z Redis has started
2025-12-21T13:21:30.527970567Z 7:C 21 Dec 2025 23:21:30.527 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
2025-12-21T13:21:30.529053902Z 7:M 21 Dec 2025 23:21:30.528 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
I don’t think these are causing my current problem, but I suspect they may be an issue later…
Configuration
Nextcloud
My AIO compose.yaml file:
name: nextcloud-aio
services:
nextcloud-aio-mastercontainer:
image: ghcr.io/nextcloud-releases/all-in-one:latest
init: true
restart: always
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /run/docker.sock:/var/run/docker.sock:ro
network_mode: bridge
ports:
- 8080:8080
environment:
APACHE_PORT: 11000
APACHE_IP_BINDING: 127.0.0.1
DOCKER_API_VERSION: 1.43 # As far as I can tell, this is the version supported on Synology when running "docker version | grep API"
NEXTCLOUD_DATADIR: /volume1/nextcloud
WATCHTOWER_DOCKER_SOCKET_PATH: /run/docker.sock
COLLABORA_SECCOMP_DISABLED: true
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
I don’t know where to run occ as recommended. execing into the nextcloud-aio-nextcloud container gives occ: not found, as does the mastercontainer.
Apps
- Collabora (with seccomp disabled)
- Fulltextsearch (because I made a mistake and can’t turn it off)
- Imaginary
- Whiteboard

