I’m currently running OpenMediaVault on an Odroid HC1/HC2 and I’m trying to install NextCloudPi using the OMV docker plugin. If I run the NextCloudPi image without specifying the /data
volume for the docker instance, it works fine but the data won’t be persistent. When I specify the /data
file to be on the SSD when setting up the docker container, it is unable to init (permission error). I tried resetting the permissions on the SSD nextcloud directory to be read/write for everyone, but that did not fix the issue. Any advice would be appreciated.
System Info:
- Odroid HC-1
- 64 GB microSD card
- 500 GB SSD attached via SATA interface
- OpenMediaVault 4.1.23-1 (Arrakis), installed on the microSD card
- Kernel: Linux 4.14.133-odroidxu4
- docker OMV plugin: Client Docker engine 19.03.1
- NextCloudPi docker version ownyourbits/nextcloudpi-armhf, v1.15.2
- NextCloud desired usage: local only, no port fowarding
NextCloudPi Docker container info:
- Restart policy:
unless-stopped
- Network mode:
Macvlan
- Host path:
/sharedfolders/Nextcloud
, Container path:/data
- Extra Args:
-p 4443:4443 -p 443:443 -p 80:80
Sample Log:
Initializing empty volume…
Making /usr/local/etc/ncp-config.d persistent …
Making /etc/services-enabled.d persistent …
Making /etc/letsencrypt persistent …
Making /etc/shadow persistent …
Making /etc/cron.d persistent …
Making /etc/cron.daily persistent …
Making /etc/cron.hourly persistent …
Making /etc/cron.weekly persistent …
Making /usr/local/bin persistent …
/run-parts.sh: line 47: /etc/services-enabled.d/010lamp: Permission denied
/run-parts.sh: line 47: /etc/services-enabled.d/020nextcloud: Permission denied
Init done