Sonarr version (exact version): 2.0.0 Mono version (if Sonarr is not running on Windows): 4.8.0 OS: Arch Linux Debug logs: https://p.teknik.io/YMB7a (Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here) Description of issue: I set hardlinks on in Sonarr’s settings, but when I checked, I saw the files had two different inodes:
Not sure what you mean by an import, but heres sonarr.txt: https://p.teknik.io/0ybjC
The rest of the log files are all named sonarr.debug.n.txt, and they seem similar to the first one, which was sonarr.debug.txt.
All of the files are on the same volume, and I’m using ext4.
EDIT: Also, I just tested:
$ touch foo && ln foo bar && stat -c %i foo bar
16520535
16520535
So it looks like hardlinking normally works just fine.
If necessary, I could delete the episode, turn on trace logging, and make sonarr download it again. Currently airing shows are freeleech anyway, so it’s fine.
From the time Sonarr actually imported the file (copied/hardlinked it).
Sonarr won’t import it unless you also remove the series since it thinks it was already imported. Grabbing something else and having Sonarr import it will test the same thing (or wait for a new episode).
Okay, so I got around to testing and tried deleting the series from sonarr and the most recent episode from my disk. After re-adding it and syncing the rss feed, something strange happened. It found the torrent link, added it to transmission, and downloaded it just fine. However, this time, it didn’t copy OR hardlink the episode to my specified folder. Additionally, (despite the episode having finished downloading, and my scanning for recent episodes) I didn’t get a notification, and the episode is still under “Wanted.”
Trace logs: https://p.teknik.io/KfLqH
Tried a manual import on my download folder (didn’t work) and then a manual import on the actual file (didn’t work)
No.[quote=“markus101, post:7, topic:14275”]
Didn’t work in what way? The default for manual import is to move the files, not copy/hardlink them.
[/quote]
Oops, didn’t know that. My bad.
Tried restarting, still encountering the same problems.
EDIT: The episode was copied (not hardlinked) to my series folder Logs: https://p.teknik.io/ay7Pt
Note: It’s still not in Activity: Queue
Note 2: I think this is a permissions problem, I’ll do a bit of poking around.
The way I have sonarr set up is that I added the sonarr user to my user group, and added g+w to my series folder and home directory.
So I took a look at the permissions, and noticed a couple things:
The copy (the one in my series folder) was owned by the user sonarr and the group sonarr, with permissions 644.
There was an error about Sonarr being unable to view my download folder (despite it having the permissions 755) and the actual file (with permissions 644). Both the file and the directory are owned by my user and group.