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).
Nextcloud AIO issue. AIO failes to bringup nextcloud server after restore of my data.
The Basics
-
Nextcloud AIO version v12.1.4
-
Operating system and version: Debian Bookworm on VPS
-
Behind NPM (Nginx Proxy Manager)
-
Is this the first time you’ve seen this error? Yes
-
When did this problem seem to first start? Maybee just a few days ago…
-
Installation method AIO on VPS
-
Are you using Cloudflare, mod_security, or similar? No
Summary of the issue you are facing:
The Nextcloud Docker will not go green (log below) once I have completed a restore of my data. However, if I do a fresh install with no data it will come up. I need to figure out how to get it to come up with my data!
Steps to replicate it (hint: details matter!):
- Launch nextcloud AIO using this command:
docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 10.9.0.1:8080:8080 \
--env APACHE_PORT=11000 \
--env APACHE_IP_BINDING=10.9.0.1 \
--env APACHE_ADDITIONAL_NETWORK=“” \
--env SKIP_DOMAIN_VALIDATION=false \
--env NEXTCLOUD_DATADIR=“/mnt/data/nextcloud” \
--env TALK_PORT=3477 \
--env TALK_IP_BINDING=10.9.0.1 \
--env AIO_COMMUNITY_CONTAINERS=" " \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
ghcr.io/nextcloud-releases/all-in-one:latest
2. Restore the borg backup of my data using AIO mastercontainer web gui
3. Start Containers
Log entries
Nextcloud
2025-12-09T15:21:46.295899800Z -------------------------------
2025-12-09T15:21:46.295928783Z 2025-12-09 08:21:46.294313-07
2025-12-09T15:21:46.295964897Z (1 row)
2025-12-09T15:21:46.295971238Z
2025-12-09T15:21:46.313446968Z + '[' -f /dev-dri-group-was-added ']'
2025-12-09T15:21:46.314525638Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2025-12-09T15:21:46.317195898Z + '[' -n '' ']'
2025-12-09T15:21:46.318173802Z + set +x
2025-12-09T15:21:46.359985800Z Connection to nextcloud-aio-redis (172.19.0.8) 6379 port [tcp/redis] succeeded!
2025-12-09T15:21:46.765896713Z The initial Nextcloud installation failed.
2025-12-09T15:21:46.765948802Z For more information about what went wrong, check the logs above.
2025-12-09T15:21:46.765953708Z Please reset AIO properly and try again.
2025-12-09T15:21:46.765999167Z See:
2025-12-09T15:21:46.766007371Z https://github.com/nextcloud/all-in-one#how-to-properly-reset-the-instance
2025-12-09T15:21:53.479431535Z Connection to nextcloud-aio-database (172.19.0.7) 5432 port [tcp/postgresql] succeeded!
2025-12-09T15:21:55.540608852Z now
2025-12-09T15:21:55.540670357Z -------------------------------
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
PASTE HERE
Configuration
Nextcloud
/var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/config# cat config.php
<?php
$CONFIG = array (
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'check_data_directory_permissions' => false,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-aio-redis',
'password' => '8459b9b693e707b9ea48804f9a64904789a3b775e0b7840e',
'port' => 6379,
),
'overwritehost' => 'nc.alliumacres.ca',
'overwriteprotocol' => 'https',
'passwordsalt' => 'DfBnFq7vBJl3ghAMzCa6GhlB/xDg+p',
'secret' => 'nU6lH2WnMxAHAWlFtWvTCUHPFIgKykXrnEf6Yr8TjqtSG7ZV',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'nc.alliumacres.ca',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '32.0.2.2',
'overwrite.cli.url' => 'https://nc.alliumacres.ca/',
'dbname' => 'nextcloud_database',
'dbhost' => 'nextcloud-aio-database:5432',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextcloud',
'dbpassword' => 'e6544b0489394db11751bb051e6d557bf8596615c051ca9c',
'installed' => true,
'instanceid' => 'ocwteeia90xs',
'maintenance' => false,
'updatechecker' => false,
'loglevel' => 2,
'log_type' => 'file',
'logfile' => '/var/www/html/data/nextcloud.log',
'log_rotate_size' => 10485760,
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'preview_max_x' => 2048,
'preview_max_y' => 2048,
'jpeg_quality' => 60,
'enabledPreviewProviders' =>
array (
1 => 'OC\\Preview\\Image',
2 => 'OC\\Preview\\MarkDown',
3 => 'OC\\Preview\\MP3',
4 => 'OC\\Preview\\TXT',
5 => 'OC\\Preview\\OpenDocument',
6 => 'OC\\Preview\\Movie',
7 => 'OC\\Preview\\Krita',
0 => 'OC\\Preview\\Imaginary',
23 => 'OC\\Preview\\ImaginaryPDF',
),
'enable_previews' => true,
'upgrade.disable-web' => true,
'mail_smtpmode' => 'smtp',
'trashbin_retention_obligation' => 'auto, 30',
'versions_retention_obligation' => 'auto, 30',
'activity_expire_days' => 30,
'simpleSignUpLink.shown' => false,
'share_folder' => '/Shared',
'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
'updatedirectory' => '/nc-updater',
'maintenance_window_start' => 100,
'allow_local_remote_servers' => true,
'davstorage.request_timeout' => 3600,
'documentation_url.server_logs' => 'https://github.com/nextcloud/all-in-one/discussions/5425',
'htaccess.RewriteBase' => '/',
'dbpersistent' => false,
'auth.bruteforce.protection.enabled' => true,
'ratelimit.protection.enabled' => true,
'files_external_allow_create_new_local' => false,
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
10 => '172.19.0.0/16',
),
'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
'preview_imaginary_key' => '423d79fe496a72652cb7adc290c5c732e9fa2a95d9b8df54',
);