nextcloud / all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
4.63k stars 555 forks source link

Database continues to restart due to "Database export failed the last time. Most likely was the export time not high enough." #4915

Closed wildernessfamily closed 1 week ago

wildernessfamily commented 1 week ago

Steps to reproduce

  1. NextCloud AIO was up and running with no problems. I was running semi-low on storage space and decided to move it over onto a large storage drive. Doing so, I needed to change the datadir location. Followed the procedures stated at https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
  2. Stopped NextCloud-AIO. Removed the nextcloud-aio-mastercontainer. Stopped Docker. Performed a rsync -av from old location to new location. Updated my Docker Compose YAML file by changing the NEXTCLOUD_DATADIR to the new location. Started Docker. And Performed the normal docker compose up -d && docker compose logs -f
  3. The database container would continue to restart. The nextcloud-aio-database container log would show a constant repeat of the following:
    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!
  4. I tried manually removing each continuer nextcloud-aio-.... I tried manually removing each image allowing AIO to repull the image using docker image rm image-id.
  5. I can't get past the repeating restart of the database.
  6. I did creat a docker container with PostGres15 and Adminer and attach it to the nextcloud-aio-database volume. I was able to verify the database is intact. I also exported the database to a .sql file, just in case. I also made a copy of the volume with the cp -r /var/lib/docker/volume/nextcloud-aio-database/_data /backup-location/

Expected behavior

Normal startup behavior.

Actual behavior

See above.

Host OS

Raspberry Pi 4, 8GB. Ubuntu 22.04.4 LTS (Jammy) | Linux 5.15.0-1055-raspi| Arm64

Nextcloud AIO version

v9.0.1

Current channel

Latest

Other valuable info