SSHFS for Synology

Is there any way to prevent drone factory from deleting the season folder when importing? I use Syncthing to sync to the drone factory folder. When Sonarr finds the first episode it deletes the season folder within drone factory and Syncthing stops syncing after that. Is there anyway to prevent this from happening? Unfortunately there isn’t really an option to use SSHFS and remote folder mapping for me so I am stuck using drone factory, which works perfectly except for season packs.

Big problem, i use the drone factory with syncthing (just for rar packed torrents), but lately with transmission it has more become more a problem than a solution, get’s stuck most of the time, for video files i use nfs mount.

In the future the drone factory will be removed.

All i can think now is (thinking in linux environment ) is to keep permissions on the remote site as 755 so sonarr can’t delete after importing.

Thanks for the tip, I was thinking of trying something along those lines, I think I’ll give it a go. What I’m hoping for with Syncthing is that they implement a post-transfer script option so then we could use something like nzbToMedia triggered by syncthing when it completes transfer of a folder. There is a thread on Syncthings forums, maybe you could join in and request this feature also.
I also raised this as an issue with nzbToMedia. Hopefully we can get a solution. It would be nice to get SSHFS working but I’ve spent way to many hours trying to get that going on my synology to no avail.
Actually though, considering your idea, the folder doesn’t get deleted at the source side, only on the local side, yet it still disrupts the sync. I haven’t tried setting the remote side to master yet… Maybe that will keep the sync from stopping with an error but I kind of doubt it which is why I haven’t tried it yet.

Another simple thing would be not to pass the season folder but as multiple single files, either with hard links or copy. You can do this with a post processing script in the downloader (I am familiar with deluge and transmission in this aspect)

Yea, that is an idea that I haven’t thought of. Could have rtorrent run a script to do that. So are you using the NFS mount across WAN or just on LAN?

Across WAN under an openvpn tunnel. i have no experience in rtorrent post scripting.

I finally managed to get a working sshfs mount on my synology nas. I ended up using JuNest to create a choot environment where I was able to install sshfs and mount a remote folder so now sonarr can import releases using CDH.

Update: So far it’s not a perfect solution yet. I’m trying to get some help to streamline and secure the process a little bit more than the way it is working currently.

I just created an spk for sshfs on the synocommunity repo. Hopefully if all goes well it should be available in the synocommunity repo soon. If anyone wishes to compile it themselves before it becomes available in the repo, you can do so using my fork.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.