Rename error - Lock violation on path

Hello, I am pulling my hair out on this renaming issue I had everything setup previously with a MHDFFS drive pool but kept gettting a seg fault error so I switched to a AUF pool. Ever since then sonarr will not move or rename files. I have it setup so Sabnzbd drops all the completed files into a completed/Tv and give 777 permissions to the files. The download directory is owned by Sabnzbd and the folder where sonar is suppose to move the show is owned by sonar both users are in the same group and have read/write access to both folders. I have included the error log below aswell as a printout of ls -l of the tv download directory. Any help would be greatly appreciated.

Sonarr Ver. 2.0.0.3357

Openmediavault 2.0

> Couldn't import episode /media/4a95f9af-8889-4f99-9fc0-89d4884241f8/Media/Downloads/NZBS/Complete/Tv/Archer.2009.S03E07.720p.BluRay.X264-REWARD/Archer.2009.S03E07.720p.BluRay.X264-REWARD.mkv: Lock violation on path 

>     System.IO.IOException: Lock violation on path 
>   at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00000] in <filename unknown>:0 
>   at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, Boolean overwrite) [0x000d0] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:210 
>   at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, TransferMode mode, Boolean overwrite, Boolean verified) [0x003a6] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskTransferService.cs:202 

drwxrwsrwx 2 sabnzbd users 4096 Jul 30 01:03 Archer.2009.S01E03.720p.BluRay.X264-REWARD

drwxrwxrwx 2 sabnzbd users 4096 Jul 31 18:00 Archer.2009.S01E04.720p.BluRay.X264-REWARD

drwxrwxrwx 2 sabnzbd users 4096 Jul 30 07:59 Archer.2009.S01E05.720p.BluRay.X264-REWARD

drwxrwxrwx 2 sabnzbd users 4096 Jul 31 18:17 Archer.2009.S01E06.720p.BluRay.X264-REWARD

drwxrwxrwx 2 sabnzbd users 4096 Jul 31 18:26 Archer.2009.S01E07.720p.BluRay.X264-REWARD

drwxrwxrwx 2 sabnzbd users 4096 Jul 30 11:00 Archer.2009.S01E08.720p.BluRay.X264-REWARD

drwxrwxrwx 2 sabnzbd users 4096 Jul 31 18:35 Archer.2009.S01E08.720p.BluRay.X264-REWARD.1

drwxrwxrwx 2 sabnzbd users 4096 Jul 31 18:44 Archer.2009.S01E09.720p.BluRay.X264-REWARD

What are the permissions on the directory Sonarr is moving the files to? When an error is thrown during a move it could be the source or destination that has caused the error.

it moves it to the following folder:

drwxrwsr-x 64 sonarr users 4096 Jul 30 21:20 Tv Shows

then into its respective show

drwxrwsr-x 9 sonarr users 4096 Jul 31 23:31 Archer (2009)

Hello @prailone can you please try and switch to the branch disk instead of the pool, i’ve always seen issues with permissions not being reset at the pool and not descending into the branch disk.

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