Sonarr version (exact version): 2.0.0.4949
Mono version (if Sonarr is not running on Windows): 4.6.1
OS: Ubuntu 16.04
((Debug logs)): https://drive.google.com/open?id=0B94OvyHliPFVdzJBWVYzc2s5dms
(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: After transmission has finished downloading a torrent Sonnar will not auto import if the seeding is already finished in Transmission. If the file is still seeding it will import without issue. Each time a torrent has fully seeded before the download is finished Sonnar will not import properly. The logs will always show Couldn’t import episode - System.IO.IOException: Destination already exists. The issue is the file never existed before and should import properly. It seems that for some reason if a file is already fully seeded that it will actually import the file but seems to think it failed resulting in me having to manually go into Activity, manual import episode, refresh the series then delete the file. The notification to Emby will also not happed due to Sonnar never thinking it auto imported.
I can confrim each time this only happens when the seeding ratio is met before the file finishes downloading.
Sonnar is running on the same machine as Transmission (Transmission 2.84 (14307))(Virtual Machine 1 - Ubuntu 16.04)
Seed ratio can be 1.0 or 2.0 (does not really matter either will have the problem if the ratio is met before download is finished)
The file are stored on different machine (Virtual Machine 2 - Windows 2012 R2 SMB Share - Share is mounted in Ubuntu via fstab on boot and a keepalive file is used to make sure connection does not drop via crontab)
Different virtual machine is running Emby Media Server (Virtual Machine 3 - Ubuntu 16.04)
All virtual machine are running in Windows 2012 R2 Hypervisor
All downloads are done through RSS from Sonnar to Transmission
fstab entrys
//10.10.0.3/TorDownloads$ /media/tordownloads cifs credentials=/home/jweber/.smbcredentials,vers=3.0,_netdev,uid=debian-transmission,gid=media,iocharset=utf8,noserverino,sec=ntlm 0 0
//10.10.0.3/Media/TV\040Shows /media/tv-shows cifs credentials=/home/jweber/.smbcredentials,vers=3.0,_netdev,uid=sonarr,gid=media,iocharset=utf8,noserverino,sec=ntlm 0 0
Transmission download directory
/media/tordownloads/completed/sonarr
Download Clients Settings
Transmission
Category – sonarr
Directory – blank
Sonnar Media Management settings
Rename Episodes - Yes
Replace Illegal Characters - Yes
Create empty series folders – No
Skip Free Space Check – No
Use Hardlinks instead of Copy – No
Import Extra Files – No
Set Permissions – No
Sonnar Download Clients Settings
Completed Download Handling
Enable – Yes
Remove – Yes
Failed Download Handling
Redownload – Yes
Remove – Yes
Drone Factory Options
Off
Remote Path Mappings
None