Sonarr 3732 Update is Freenas encounters an error and wont update

Here is the log file:

16-1-21 11:22:28.1|Info|UpdateApp|Starting Sonarr Update Client
16-1-21 11:22:28.2|Info|UpdateApp|Updating Sonarr to version 2.0.0.3732
16-1-21 11:22:28.3|Info|AppFolderInfo|Data directory is being overridden to [/var/db/sonarr]
16-1-21 11:22:28.3|Debug|UpdateApp|NzbDrone process ID: 11902
16-1-21 11:22:28.3|Debug|UpdateApp|Arguments:
16-1-21 11:22:28.3|Debug|UpdateApp| 11902
16-1-21 11:22:28.3|Debug|UpdateApp| /tmp/nzbdrone_update
16-1-21 11:22:28.3|Debug|UpdateApp| /usr/pbi/sonarr-amd64/share/sonarr/NzbDrone.exe
16-1-21 11:22:28.3|Debug|UpdateApp| /data=/var/db/sonarr
16-1-21 11:22:28.3|Debug|UpdateApp| /nobrowser
16-1-21 11:22:28.3|Debug|UpdateApp|Using executing application: /usr/pbi/sonarr-amd64/share/sonarr/NzbDrone.exe
16-1-21 11:22:28.3|Debug|UpdateApp|Executable location: /usr/pbi/sonarr-amd64/share/sonarr/NzbDrone.exe
16-1-21 11:22:28.3|Info|UpdateApp|Starting update process. Target Path:/usr/pbi/sonarr-amd64/share/sonarr
16-1-21 11:22:28.3|Info|InstallUpdateService|Verifying requirements before update…
16-1-21 11:22:28.3|Debug|ProcessProvider|Finding process with Id:11902
16-1-21 11:22:28.3|Fatal|UpdateApp|An error has occurred while applying update package.

System.NotSupportedException: This system does not support EnumProcesses
at (wrapper managed-to-native) System.Diagnostics.Process:GetProcesses_internal ()
at System.Diagnostics.Process.GetProcesses () [0x00000] in /usr/wrkdirprefix/usr/ports/lang/mono/work/mono-4.2.1/mcs/class/System/System.Diagnostics/Process.cs:861
at NzbDrone.Common.Processes.ProcessProvider.GetProcessById (Int32 id) [0x00023] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Processes\ProcessProvider.cs:75
at NzbDrone.Common.Processes.ProcessProvider.Exists (Int32 processId) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Processes\ProcessProvider.cs:58
at NzbDrone.Update.UpdateEngine.InstallUpdateService.Verify (System.String targetFolder, Int32 processId) [0x0005c] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateEngine\InstallUpdateService.cs:67
at NzbDrone.Update.UpdateEngine.InstallUpdateService.Start (System.String installationFolder, Int32 processId) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateEngine\InstallUpdateService.cs:79
at NzbDrone.Update.UpdateApp.Start (System.String[] args) [0x00020] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateApp.cs:59
at NzbDrone.Update.UpdateApp.Main (System.String[] args) [0x00042] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Update\UpdateApp.cs:43

Its an issue with mono on FreeBSD.

Is there something I can do on my end? Or its this a Freenas issue that will need fixing on your side?

Someone familiar with mono and FreeBSD will need to investigate there is nothing for us to do on our end.

as a temporary solution I built the latest version of the freenas plugin with mono 3.10. in my testing, updates should work.
we eventually need a more permanent solution

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