Failed to rename file: Access to the path is denied

Sonarr version (exact version): 2.0.0.5163
Mono version (if Sonarr is not running on Windows): 4.6.2
OS: Ubuntu 16.04
Debug logs:
Failed to rename file /home/kamos/cloud/tv/Person of Interest/Season 02/Person of Interest - S02E01 - The Contingency Bluray-720p.mkv: Access to the path is denied.

System.UnauthorizedAccessException: Access to the path is denied.
  at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00140] in <8f2c484307284b51944a1a13a14c0266>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFileInternal (System.String source, System.String destination) [0x00000] in <6d548036160a49ed8e2657c617163f50>:0 
  at NzbDrone.Mono.Disk.DiskProvider.MoveFileInternal (System.String source, System.String destination) [0x00076] in <a4f6bcacc2ea4724bcba67562d4e7206>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, System.Boolean overwrite) [0x000e3] in <6d548036160a49ed8e2657c617163f50>:0 
  at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified (System.String sourcePath, System.String targetPath, System.Int64 originalSize) [0x00000] in <6d548036160a49ed8e2657c617163f50>:0

Description of issue:
I used the series editor to change the root folder from /home/kamos/cloud/tv/ to '
/home/kamos/media/tv/. Location /home/kamos/cloud/tv/ is a unionfs of /home/kamos/media/tv/ and /home/kamos/.media/tv/.
Sonarr is trying to rename the folder but that folder is read-only. I don’t want anything renamed, I just want to change the root folder location. Folders are already there.

Changing the root folder for a series won’t move any files.

That error would only be logged if multiple series are renamed from Series Editor or rename is run on a series or season from the series details page for it.

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