I meant the data folder, where your images are stored. It’s basically your external drive.
I just realized you just attached the drive to your VM. Great, now you need to mount it either with a
sudo mount command or via adding a line to your
/etc/fstab file inside your VM.
You have to find out which device is your hard disk. It’s probably the one with the highest letter in /dev, but to be sure, execute
sudo lsblk and
df -Th to get a view on your attached devices. You should be able to mount your drive with something like
sudo mount /dev/sdb1 /mnt/my-share. If it complains that
mnt/my-share doesn’t exist, create the folder with
If that worked, you can add an entry to your
/etc/fstab. You’ll find plenty of information about this one on the internet. Just be sure to provide the correct filesystem, which is probably NTFS.
AFTER all that, you can execute the “sudo chown…” from above on the now mounted data in
/mnt/your-share to give nextclod access to the drive.
And even AFTER that, you can add the local path to your Nextcloud as my post above suggests.