I've followed a series of videos starting here: I've created a VM, into which I've installed RancherOS. I've then used Rancher to install Docker and Portainer, and then Portainer to install qBittorrent from here (this wasn't covered in the videos, but I've followed essentially the same process as the videos showed). Everything is working at the moment, but I want to set up a monitor folder for qBittorrent to watch and I'm not having any luck.
I want to use a folder which already exists in a different dataset to all of the above (specifically, one I created to use with NextCloud). The relevant FreeNAS details are:
Pool: volume_1
Dataset: Cloud
Path to the watch folder: Cloud/Neil/Documents/qBittorrentWatchFolder
I thought that since the watch folder sits in an existing Samba shared folder, I'd just be able to use a network path to specify it, but I don't know how to specify the path or whether SMB shares are accessible in FreeBSD/Docker or if it would need to be an NFS share instead.
I've also tried creating a new NFS share in FreeNAS with the path "/mnt/volume_1/Cloud/Neil/Documents/qBittorrentWatchFolder": I've then added a new line to the rancheros-cloud-config.yml file, under "volumes:"
- /mnt/nfs-2:/mnt/nfs-2:shared
(This line was identical to the line above it, with "1" changed to "2".)
Having restarted the VM and logged in using SSH, I was able to confirm that the new mount was visible, but as an empty folder. Files which I had placed in the folder were not visible to the VM, and files I created in that folder from within the VM were not visible from outside of it. I don't know where the files I created in the VM were actually stored, even.
Can anyone tell me where I'm going wrong? How can I make the existing folder visible to the qBittorrent Docker image, with read/write permissions to it?
Thanks in advance.
I want to use a folder which already exists in a different dataset to all of the above (specifically, one I created to use with NextCloud). The relevant FreeNAS details are:
Pool: volume_1
Dataset: Cloud
Path to the watch folder: Cloud/Neil/Documents/qBittorrentWatchFolder
I thought that since the watch folder sits in an existing Samba shared folder, I'd just be able to use a network path to specify it, but I don't know how to specify the path or whether SMB shares are accessible in FreeBSD/Docker or if it would need to be an NFS share instead.
I've also tried creating a new NFS share in FreeNAS with the path "/mnt/volume_1/Cloud/Neil/Documents/qBittorrentWatchFolder": I've then added a new line to the rancheros-cloud-config.yml file, under "volumes:"
- /mnt/nfs-2:/mnt/nfs-2:shared
(This line was identical to the line above it, with "1" changed to "2".)
Having restarted the VM and logged in using SSH, I was able to confirm that the new mount was visible, but as an empty folder. Files which I had placed in the folder were not visible to the VM, and files I created in that folder from within the VM were not visible from outside of it. I don't know where the files I created in the VM were actually stored, even.
Can anyone tell me where I'm going wrong? How can I make the existing folder visible to the qBittorrent Docker image, with read/write permissions to it?
Thanks in advance.