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:
(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):
Nextcloud AIO v11.2.1
Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04.2 LTS
Web server and version (e.g, Apache 2.4.25):
don't know
Reverse proxy and version _(e.g. nginx 1.27.2)
Caddy
PHP version (e.g, 8.3):
don't know
Is this the first time you’ve seen this error? (Yes / No):
yes
When did this problem seem to first start?
After nextcloud AIO update
Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
After an AIO update (stop containersandstart and update container`), i can’t start my nextcloud instance anymore. It seems that nextcloud database is the component failing to start and avoiding other nextcloud components to start correctly.
Here is the logs of the nextcloud database:
Database export failed the last time. Most likely was the export time not high enough.
Please report this to https://github.com/nextcloud/all-in-one/issues. Thanks!
I tried to stop nextcloud-aio-database, remove it and prune. After that i restarted nextcloud-aio-mastercontainer but i had the same issue.
Steps to replicate it (hint: details matter!):
Open AIO interface
Stop containers
Start and update containers
Log entries
Nextcloud
My nextcloud.log is empty in the nextcloud data directory
It sounds like the database container is failing due to an incomplete or failed export during the update. Try increasing the database export timeout if possible. Since removing and pruning the database container didn’t help, you might need to restore from a backup if available. Otherwise, check the AIO GitHub issues for similar reports and consider reporting your logs there. Also, verify disk space and permissions on your host, as these can cause database startup failures. Make sure all containers are properly stopped before updating to avoid corruption.
I have this permission for my data folder: drwxr-x--- 19 www-data root 4096 juil. 4 11:56 nextcloud_data .
As far as i know it always worked like that but maybe it’s wrong.
I did not succeed to repair the database after some tries. How can i do to just “reset” my nextcloud AIO instance? The only thing i want is to preserve my files.
My database container also didn’t work after the update with the message “The database import failed. Please restore a backup and try again”. I tried many different methods. Including restoring from a backup. And nothing helped. Old version of AIO worked but update fails. In the end, I solved the problem by simply deleting the docker_data/volumes/nextcloud_aio_database_dump/import.failed file and restarting the database container. Before doing such manipulations, I recommend making a backup.