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
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
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!
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.
I can't get past the repeating restart of the database.
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
Steps to reproduce
datadir
location. Followed the procedures stated athttps://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
nextcloud-aio-mastercontainer
. Stopped Docker. Performed arsync -av
from old location to new location. Updated my Docker Compose YAML file by changing theNEXTCLOUD_DATADIR
to the new location. Started Docker. And Performed the normaldocker compose up -d && docker compose logs -f
nextcloud-aio-...
. I tried manually removing each image allowing AIO to repull the image usingdocker image rm image-id
.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 thecp -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