Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
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
Nextcloud version: 30.0.1
Operating system and version: Ubuntu 24.04
The issue you are facing and steps to replicate it:
I can’t / don’t know exactly how to import the database dump correctly.
I’, getting an error while executing this comment:
sudo docker run --rm --volume nextcloud_aio_database_dump:/mnt/data:rw alpine rm /mnt/data/database-dump.sql
rm: can't remove '/mnt/data/database-dump.sql': No such file or directory
I followed all the steps from the migration page (link) but stuck at step 8:
Next, copy the database dump into the correct place and prepare the database container which will import from the database dump automatically the next container start:
sudo docker run --rm --volume nextcloud_aio_database_dump:/mnt/data:rw alpine rm /mnt/data/database-dump.sql
sudo docker cp database-dump.sql nextcloud-aio-database:/mnt/data/
sudo docker run --rm --volume nextcloud_aio_database_dump:/mnt/data:rw alpine chmod 777 /mnt/data/database-dump.sql
sudo docker run --rm --volume nextcloud_aio_database_dump:/mnt/data:rw alpine rm /mnt/data/initial-cleanup-done
What is the “correct place” to copy the database into?
I created the directory /mnt/data and copied it into it, but I get the error above.
Thanks in advance!