Changing root folder of series fails to move files: "Try moving files manually: Cross-device link"

Sonarr version (exact version): 3.0.8.1540
Mono version (if Sonarr is not running on Windows): 6.12.0.122
OS: Linux (Docker)
Description of issue:

When changing the root folder of a series the move process instantly fails. It appears to be trying to hard link files across devices, but since the mount points are not the same device it fails with the event message of:

Unable to move series from '/media/tv-shows6/Show Title (Year)' to '/media/tv-shows7/Show Title (Year)'. Try moving files manually: Cross-device link

With the exception:

System.IO.IOException: Cross-device link
  at System.IO.FileSystem.MoveDirectory (System.String sourceFullPath, System.String destFullPath) [0x0008a] in /home/buildozer/aports/testing/mono/src/mono-6.12.0.122/external/corefx/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs:356 
  at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000ed] in /home/buildozer/aports/testing/mono/src/mono-6.12.0.122/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:286 
  at NzbDrone.Common.Disk.DiskProviderBase.MoveFolder (System.String source, System.String destination) [0x00088] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:263 
  at NzbDrone.Common.Disk.DiskTransferService.TransferFolder (System.String sourcePath, System.String targetPath, NzbDrone.Common.Disk.TransferMode mode) [0x0025e] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskTransferService.cs:88 
  at NzbDrone.Core.Tv.MoveSeriesService.MoveSingleSeries (NzbDrone.Core.Tv.Series series, System.String sourcePath, System.String destinationPath, System.Nullable`1[T] index, System.Nullable`1[T] total) [0x000db] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Tv\MoveSeriesService.cs:59

My mounts are CIFS (SMB) shares from my file server and are mounted on my Docker host, which are then mounted via Docker volume mounts into the Sonarr container.

File Server ---CIFS---> Docker Host ---mounted---> Sonarr Container

File processing of downloads works quite well, but changing the root folder of an existing show instantly fails. This used to work, but sadly I’m not sure what version it worked in since this is an operation I don’t perform too often.

I’m wondering if anyone has any insights into this issue?

Note: The log file contains the same information I pasted above.

Here are my mount points (edited for privacy):

//192.168.1.13/downloads on /downloads type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/downloads on /tv type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media/TV\040Shows on /media/tv-shows1 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media2/TV\040Shows on /media/tv-shows2 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media3/TV\040Shows on /media/tv-shows3 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media4/tv-shows on /media/tv-shows4 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media5/tv-shows on /media/tv-shows5 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media6/tv-shows on /media/tv-shows6 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media7/tv-shows on /media/tv-shows7 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)
//192.168.1.13/media3/Anime on /media/anime3 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.13,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)

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