Iāve been reading for hours and hours on forumsā¦ but i still cant fix it.
I set up /etc/fstab UUID="6d0ab6c5-cef1-4fc4-9fdb-261cfdc99ce1" /media/ncp ext4 rw,users 0 0
output of lsblk sdb 8:16 0 596.2G 0 disk āāsdb1 8:17 0 596.2G 0 part /media/ncp
Cleaned docker, nextcloudpi works if i have everything in the normal location, but as soon as i remove the container, delete it and want to create a new container with the following command:
I get this error code: /run-parts.sh: line 42: /etc/services-enabled.d/000ncp: Permission denied /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
ls -lha /media/ncp
total 12K
drwxr-xr-x 3 pi root 4.0K Dec 31 10:07 .
drwxr-xr-x 3 root root 4.0K Dec 31 07:11 ā¦
drwxr-xr-x 7 pi pi 4.0K Dec 31 10:10 data
looking to use another internal drive formated BTRFS as ncdata .
Itās working on normal location but as soon as i remove the container, delete it and want to create a new container with the following command:
I installed it accordingly in OMV5 and it worked like a charm. When changing back to OMV4, out of stability reasons, I have the following error and canāt solve it:
/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
/run-parts.sh: line 6: /etc/services-enabled.d/020nextcloud: Permission denied
/run-parts.sh: line 6: /etc/services-enabled.d/010lamp: Permission denied
/run-parts.sh: line 6: /etc/services-enabled.d/000ncp: Permission denied
I have removed the noexec in the config and I also gave an additional line into fstab:
UUID= UUID /media/ncp ext4 rw,users,exec 0 0
No success. Do you have any idea?
I have the same problem like @liziyo with the latest docker image for armhf in openmediavault 5. I have used the instructions from the docs site, but it continues to tell āpermission deniedā.
exactly: /run-parts.sh: line 47: /etc/services-enabled.d/010lamp: Permission denied /run-parts.sh: line 47: /etc/services-enabled.d/020nextcloud: Permission denied
I also tried to mount the USB drive directly via OMV which writes the following entry in fstab:
After a couple of trial and errors I finally managed to successfully install NCP via docker in my OMV5. My problem was simply the mountingā¦After so many changes in fstab the mountpoint was simply not really set with the correct options.
So what I did:
unmounting the device in OMV
check with command lsblk if the unmount was done correctly (in my case it was not)
use command umount /MOUNTPOINT to unmount correctly
check lsblk again
edit ftstab like this: UUID=YOUR_UUID /media/USB1 ext4 defaults 0 0 (/media/USB1 is depending on folder structure)
create the folder structure you like for ncdata
run the docker command
for example: sudo docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v /media/USB1/nextcloud/ncp/ncdata:/data --name nextcloudpi --network=āMYNETWORKā --ip=āMYIPā ownyourbits/nextcloudpi-armhf:latest DOMAIN
The first time I did this without defining the network I ran into the ācalendar not installedā issue which led to a never ending initializationā¦so I changed the run command to configure the container with the correct network settings and it finally works!
I hope this will help youā¦linux sucks if you are not that experienced (like meā¦)
Good to here you got it working, thanks for sharing.
Quit some people struggle with Linux when starting out.
It really rocks once you get past its first rather steep learning curve. Well worth the efforts and very rewarding imho