Sonarr version (exact version): Latest according to linuxserver.io (v3 preview release) OS: Ubuntu 18.04.2 LTS (GNU/Linux 5.0.0-23-generic x86_64) Mono version: Mono JIT compiler version 5.14.0.177 (tarball Mon Aug 6 09:07:45 UTC 2018) Docker-compose version 1.23.2 Docker server version 19.03.1
System.IO.IOException: Lock violation on path /tv/Rick_and_Morty/Season 02
Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
Description of issue:
After the download client finished the download Sonarr copies the file to the right folder. When Sonarr should rename the file from tvserie.mkv.partial to tvserie.mkv the whole container gets stuck.
Im using CIFS to mount an SMB share on Ubuntu. I think this is related with the problem. The following thread says something about that issue. Link Also, after the Sonarr container gets stuck I have to force reboot the whole system to get it up and running again.
Upgrading to mono 5.20.1.34 according to this link fixes the issue for me.
Used the following commands
apt-get remove mono-runtime
Edit your /etc/apt/sources.list.d/mono-official-stable.list and change:
deb https://download.mono-project.com/repo/ubuntu stable-bionic main
to:
deb https://download.mono-project.com/repo/ubuntu stable-bionic/snapshots/5.20.1.34 main
apt-get update -y
apt install mono-devel -y