CLONE Nextcloudpi SD to SD

To prevent update problems i want to clone Nexcloudpi which is currently running on SD.
The Clone will be done on an SD card like the one currently in use.
I have used to do it Easus Patition Master but as soon I have inserted the SD the sistema doesn’t stand.
Anyone can tel me how to do it.
Thanks in advance

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


Or for longer, use three backticks above and below the code snippet:


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 :heart:

Nextcloud version (eg, 20.0.5): replace me
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


Hi, first thought is… are you sure you actually made a copy.
Then, confirm how you are mounting the disk as this can be done by label or uuid.

When you add disks they end up assigned with an available identifier like /dev/sdb
Which will change for each new thing plugged in and removed.
So, that could be the issue right there.

Easiest solution is to use the tool fstab to make sure you mount the disk by either label or uuid.
uuid is the way to go because it is a unique sequence that confirms exactly which disk you are uniquely using. You can write an fstab rule for each SD card to make sure they are mounted properly. See: