Sonarr version (exact version): 220.127.116.117
Mono version (if Sonarr is not running on Windows): 18.104.22.1683
Description of issue:
Ubuntu pushed out an update a few days ago to Mono 22.214.171.1243 and since this update, Sonarr will not complete post-processing of completed downloads. The download is passed to Sabnzbd+ fine, the download completes and copies/renames the file to the proper folder but then hangs in Activity and turns orange stating “Failed to Import Episode” with log errors stating:
|Warn|ImportApprovedEpisodes|Couldn’t import episode
[v126.96.36.1997] System.UnauthorizedAccessException: Access to the path is denied. —> System.IO.IOException: Operation not permitted
The file itself is copies fine (it even renames the file as it always does) but has a .partial~ file extension to it.
Current work around is to manually remove the .partial~ file extension and then re-scan the show/remove it from Activity and it works perfectly. There are no permission issues (all my files folders are 777) and I’ve had this exact working Sonarr setup for years. The only thing that has changed is regular upgrades to Sonarr v3 (when released) and this upgrade to Mono 6.
Hope this helps find a resolution.