Docker volume not transferable

Hi,

I have a docker volume on an external USB that contains my ncdata directory, created using nextcloudpi-armhf on a RPI3+ using DietPI.

I have installed docker on my Rock64 and while I can get Nextcloudpi to run and can activate if I try to mount the original ncdata on the HDD by launching a new docker instance with the data path set as follows

/mnt/6ffe8608-c88d-433f-96c5-d0611bf517e2/ncdata:/data

the container fails as follows.

sudo docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v /mnt/6ffe8608-c88d-433f-96c5-d0611bf517e2/ncdata:/data --restart unless-stopped --name nextcloudpi ownyourbits/nextcloudpi-armhf 192.168.1.20
553b078421a328ff27ca1c6664f4297a935b45c3f748787d84d6e9ab09864f48
ian@DietPi:/mnt/6ffe8608-c88d-433f-96c5-d0611bf517e2$ sudo docker logs -f nextcloudpi
Making /etc/shadow persistent ...
Starting PHP-fpm
Starting Apache
AH00526: Syntax error on line 5 of /etc/apache2/sites-enabled/ncp.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/cloud.raspberryhills.co.uk/fullchain.pem' does not exist or is empty
Action 'start' failed.
The Apache error log may have more information.
Provisioning
Provisioning Redis password
Updating NextCloud config with Redis password
Provisioning MariaDB password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")
Updating NextCloud config with MariaDB password
PHP threads set to 4
Starting Redis
Starting Cron
Starting Postfix
Could not open input file: /var/www/nextcloud/occ
Init done

The problems seem to be that the drive does not contain /etc/letsencrypt.

Can I move the volume between machines?

let’s continue this in github