Joshua Parker Ruehlig
Hall of Famer
- Joined
- Dec 5, 2011
- Messages
- 5,949
welcome, thanks for giving adequate information to figure out the issue.I was able to apply the new PBI and everything is in working order now.
Thanks so much for all your help, and for the fixed package! I wouldn't have been able to figure it out on my own, that's for sure.
welcome, thanks for giving adequate information to figure out the issue.
sonarr runs as the user 'media', there is no 'sonarr' user in this case.I mean no offense, but I don't like this solution. Sonarr wants to store its config in its home dir. It should be running as user "sonarr" with a group of "media". The sonarr user should have a valid home dir. Doing it this way means any other media type software I install can share data using the media group, but is otherwise completely isolated from each other.
sonarr runs as the user 'media', there is no 'sonarr' user in this case.
having a home directory in no way facilitates sharing media with another plugin
also, anything you want is possible, you can...
* set a home directory for sonarr
* change the user sonarr runs as
* create groups that share files
does in-app updating not work? I thought it used toAny chance you could update the PBI? There's been quite a lot of changes lately, specifically v2.0.0.3154 was huge.
thanks, I don't see too much of a reason to update the PBI then. there's always a chance I screw things up in the processWorks for me. I just updated to 2.0.0.3212 - Jun 4 2015.
its worse than you think. if you've updated several times your freenas might downgrade itself to a windows home server!I'm curious what happens if the PBI does get updated and I've applied in-app updates and I click the Plug-In "Update" button in FreeNAS. Does it go Boom!?
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
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