Joshua Parker Ruehlig
Hall of Famer
- Joined
- Dec 5, 2011
- Messages
- 5,949
looks like some stuff the sonarr guys need to work out.So i think there are lots of update issues with sonarr because it is meant for windows. I just did an update from .3154 to .3212 and the command that it uses to update is using windows syntax. If you take this update command and modify the forward slash for the optional arguments to be -- then it works and everything gets updated.
Code:mono /tmp/nzbdrone_update/NzbDrone.Update.exe 86280 /tmp/nzbdrone_update /usr/pbi/sonarr-amd64/share/sonarr/NzbDrone/NzbDrone.exe /data=/var/db/sonarr /nobrowser
here are my logs from the failed update showing that this actually happens and I'm not sure how @depasseg actually got it to update because it is impossible.
Code:15-6-10 11:36:37.7|Info|InstallUpdateService|Deleting old update files 15-6-10 11:36:37.8|Info|InstallUpdateService|Downloading update 2.0.0.3212 15-6-10 11:36:41.1|Info|InstallUpdateService|Verifying update package 15-6-10 11:36:41.2|Info|InstallUpdateService|Update package verified successfully 15-6-10 11:36:41.2|Info|InstallUpdateService|Extracting Update package 15-6-10 11:36:41.6|Info|InstallUpdateService|Update package extracted successfully 15-6-10 11:36:41.6|Info|BackupService|Starting Backup 15-6-10 11:36:41.7|Info|InstallUpdateService|Preparing client 15-6-10 11:36:41.7|Info|InstallUpdateService|Starting update client /tmp/nzbdrone_update/NzbDrone.Update.exe 15-6-10 11:36:41.8|Info|InstallUpdateService|NzbDrone will restart shortly. 15-6-10 11:36:41.8|Error|InstallUpdateService|Update process failed System.ComponentModel.Win32Exception: ApplicationName='mono', CommandLine='/tmp/nzbdrone_update/NzbDrone.Update.exe 86280 /tmp/nzbdrone_update /usr/pbi/sonarr-amd64/share/sonarr/NzbDrone/NzbDrone.exe /data=/var/db/sonarr /nobrowser', CurrentDirectory='', Native error= Cannot find the specified file at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () at NzbDrone.Common.Processes.ProcessProvider.Start (System.String path, System.String args, System.Action`1 onOutputDataReceived, System.Action`1 onErrorDataReceived) [0x00000] in <filename unknown>:0 at NzbDrone.Core.Update.InstallUpdateService.InstallUpdate (NzbDrone.Core.Update.UpdatePackage updatePackage) [0x00000] in <filename unknown>:0
on a side note i think there is a permission issues someplace when running as the media user in the pbi but i'm still tracking that down and will be a new thread.
if you find any permission issues that would be great so we can get them fixed up (either in sonarr or the PBI)