Sonarr version (exact version): 2.0.0.3953
Mono version (if Sonarr is not running on Windows): 4.2.3
OS: Ubuntu 14.04 Server
((Debug logs)) (posted to hastebin or similar): http://pastebin.com/rebVzrKY
Description of issue:
I have move with hardlink activated, however this is not actually happening. I added a new torrent (Gotham S02E11) as seen in the logs (towards the top), then when it finished (never shows up in the logs), it was moved and renamed into my movie folder.
The issue I am having, is it isn’t actually hardlinking. See images below for more information (proof of different inodes, etc)
Edit: I have another show finishing soon, changed logs to “trace” for more verbosity
Edit2: Here is what I found, mono thinks this is a cross-device link, unfortuantely it is not. If I run this link command by hand, it works perfectly, so need to figure out why that is happening.
I am using a docker, if that helps
16-5-8 01:13:17.4|Debug|DiskProvider|Hardlink '/media/downloads/seeding/tvshows/The Big Bang Theory S09E22 The Fermentation Bifurcation 1080p WEB-DL DD5.1 H.264-Oosh.mkv' to '/media/tvshows/The Big Bang Theory/Season 9/The Big Bang Theory - S09E22 - The Fermentation Bifurcation WEBDL-1080p.mkv' failed.
[v2.0.0.3953] Mono.Unix.UnixIOException: Invalid cross-device link [EXDEV].
at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () <0x408ffe10 + 0x00013> in <filename unknown>:0
at Mono.Unix.UnixMarshal.ThrowExceptionForLastErrorIf (Int32 retval) <0x408ffdf0 + 0x00013> in <filename unknown>:0
at Mono.Unix.UnixFileSystemInfo.CreateLink (System.String path) <0x408ffb70 + 0x0002b> in <filename unknown>:0
at NzbDrone.Mono.DiskProvider.TryCreateHardLink (System.String source, System.String destination) <0x408fee80 + 0x00037> in <filename unknown>:0
Edit 3:
The issue was being caused by docker. Make sure that your volumes are not different between where you seed, and where you store your plex things, even if they’re on the same volume on the host system. In my case, deluge and plex were using different areas (but on the same disk), so I just mounted both volumes in the sonarr docker. Changing this to 1 volume (by restructuring a little), fixed everything and it now works as intended.