I’ve been running this for months with no problems (on Ubuntu 14.04). Recently, however, I’ll go to use the app and find its not running. I have to “sudo start nzbdrone” and then its working again.
I think that I’ve noticed that it seems to stop when there is an update. If I run apt-get to check for updates, I’ll see one for nabdrone. So I think what might be happening is that the self-update is seeing there’s something to do but all it does is shut off my nzbdrone and doesn’t update it or turn it back on.
I’m really not sure where to even begin.
You could disable automatic updates (General Settings), but that doesn’t solve the issue.
Are you starting Sonarr (nzbdrone) with init.d? or Upstart? (There were a number of issues with Upstart and its respawn flag).
Is the update actually working? Or is it failing? (when you start the service is it the new version or old, or is to corrupt?)
What do the logs show? You should see it starting the update in the log files and then in the update log files it will stop Sonarr and update.
Upstart. And I saw the note about respawn so I followed those instructions. Come to think about it, its quite possible that’s when the issues started (when I “fixed” the respawn flag… previously it had always been on).
The update isn’t working, no. When this happens (symptom: service isn’t running when it should be, presumably after auto-update) and I start the service, its the old version. Then I run apt-get upgrade and stop and start the service and its the new one.
Logs: my logs are a mess and I think they were corrupt. I have 49 files all with today’s date and zero byte size. I’ve deleted them and restarted the service and now I have what looks to be a good clean log. So I’ll wait until the next update and see what I get. Should I turn on debugging (if there’s such a thing)?
Yeah, debug logging (set in general settings would be good). Respawn should keep the service running, spawn off the update and restart Sonarr. It stopping is odd, usually it just corrupts the install and its a mess.
Alright, I’ll set it to debug and wait for an update.
Hey, just a side note: OK, I get that we’re switching the name to Sonarr and I see you’re using it exclusively. But the service is still called “nzbdrone”. So for the sake of clarity, shouldn’t the service name be changed? Or is that something that would be the case if I did a fresh install??
bcsteeve:
OK, I get that we’re switching the name to Sonarr and I see you’re using it exclusively. But the service is still called “nzbdrone”. So for the sake of clarity, shouldn’t the service name be changed? Or is that something that would be the case if I did a fresh install??
You can name the service on your system however you want (its not something that comes from the deb package). As for NzbDrone.exe it will be renamed, but its not trivial, there are thousands of installations and dozens of possible configurations, we need to be very sure that we’re not going to break anything. We may end up deferring the executable name change to a major release which would be a manual update, we’ll see how testing goes.
OK, it happened again. This is the update log: http://pastebin.com/VFJrfR5x
After the failed update was Sonarr running?
Based on the logs its permissions or the file was locked for some reason.
No, after the failed update it wasn’t running. I started it and it was on the old version. I updated (via apt-get) and started and then it was running with the new version.
Can you try another chmod/chown/whatever you did before to make sure the user running Sonarr had permissions on the files? Wondering if the permissions aren’t enough on one or more of the files and its bombing out.
OK, well I can certainly confirm that the log is correct… the user running Sonarr (which is me) doesn’t have permission to access the /opt directory it is trying to use. Why is it trying to use that directory?? /opt is in root’s domain. Sure I could chmod/chown it to loosen it up, but I’m not sure that’s a good idea. Why not contain those files somewhere that already has permission (based on the install instructions, or by storing them in the users’ home directory).
I’m not sure why you said “whatever [I] did before”… did “before” what?
You should be getting health check warning about the folder being write protected, the whatever you did before is nothing in this case (or you did something and don’t recall).
You can either move Sonarr to a new location of give your user write access to /opt/NzbDrone - it needs permissions to update otherwise its going to continue to fail.
I’m not sure what a health check warning is, but I haven’t seen any (I vaguely remember one about my version of mono not being up to snuff, but that was before I updated to Ubuntu 14.04).
I changed the ownership of the folder. Problem should be resolved now, but I’ll have to wait for another update to know.
Thanks for your help.
OK, problem isn’t resolved. I’d like to get this fixed.
The last entries in my log are this:
14-12-30 16:01:20.5|Info|InstallUpdateService|Downloading update 2.0.0.2549
14-12-30 16:01:23.1|Info|InstallUpdateService|Verifying update package
14-12-30 16:01:23.1|Info|InstallUpdateService|Update package verified successfully
14-12-30 16:01:23.1|Info|InstallUpdateService|Extracting Update package
14-12-30 16:01:23.5|Info|InstallUpdateService|Update package extracted successfully
14-12-30 16:01:23.5|Info|BackupService|Starting Backup
14-12-30 16:01:25.2|Info|InstallUpdateService|Preparing client
14-12-30 16:01:25.2|Info|InstallUpdateService|Starting update client /tmp/nzbdrone_update/NzbDrone.Update.exe
14-12-30 16:01:25.2|Info|InstallUpdateService|NzbDrone will restart shortly.
But it doesn’t restart… or whatever it does do results in a non-working Sonarr. When I manually try to start the service:
sudo start nzbdrone
I get the following response:
nzbdrone stop/waiting
If I try to STOP it, I get:
stop: Unknown instance:
My resolution seems to be to update using apt-get and then rebooting.
What does the update log show (System -> Logs -> Updates), that part of the log just shows the updater starting.
I suspect its an issue with deleting either the UI or Update folder within /opt/NzbDrone
, due to permissions issues (apt-get re-add the update folder with different permissions and messes things up).
We need to fix the apt-get issue with having that folder, but a chown/chmod should fix it up.
upstart isn’t starting the service because NzbDrone.exe was deleted and the rollback to restore it failed (another issue) and its not stoppable because its not actually running.
This is the latest update log:
14-12-31 15:40:27.4|Info|UpdateApp|Updating NzbDrone to version 2.0.0.2556
14-12-31 15:40:27.4|Debug|UpdateApp|NzbDrone process ID: 29353
14-12-31 15:40:27.4|Debug|UpdateApp|Using executing application: /opt/NzbDrone/NzbDrone.exe
14-12-31 15:40:27.4|Debug|UpdateApp|Executable location: /opt/NzbDrone/NzbDrone.exe
14-12-31 15:40:27.4|Info|UpdateApp|Starting update process. Target Path:/opt/NzbDrone
14-12-31 15:40:27.4|Info|InstallUpdateService|Verifying requirements before update…
14-12-31 15:40:27.4|Debug|ProcessProvider|Finding process with Id:29353
14-12-31 15:40:28.0|Debug|ProcessProvider|Found process 29353:mono-sgen [/usr/bin/mono-sgen]
14-12-31 15:40:28.0|Info|InstallUpdateService|Verifying Update Folder
14-12-31 15:40:28.0|Info|TerminateNzbDrone|Stopping all instances
14-12-31 15:40:28.0|Info|ProcessProvider|[29353]: Killing process
14-12-31 15:40:28.0|Info|ProcessProvider|[29353]: Waiting for exit
14-12-31 15:40:28.0|Info|ProcessProvider|[29353]: Process terminated successfully
14-12-31 15:40:28.1|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
14-12-31 15:40:28.1|Debug|ProcessProvider|Found 0 processes to kill
14-12-31 15:40:28.1|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
14-12-31 15:40:28.1|Debug|ProcessProvider|Found 0 processes to kill
14-12-31 15:40:28.1|Info|BackupAndRestore|Creating backup of existing installation
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone → /tmp/nzbdrone_update/nzbdrone_backup/
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/ICSharpCode.SharpZipLib.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/ICSharpCode.SharpZipLib.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NLog.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NLog.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/Newtonsoft.Json.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/Newtonsoft.Json.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NzbDrone.Common.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NzbDrone.Common.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NzbDrone.Common.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NzbDrone.Common.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NzbDrone.Mono.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NzbDrone.Mono.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NzbDrone.Mono.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NzbDrone.Mono.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NzbDrone.Update.exe → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NzbDrone.Update.exe
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NzbDrone.Update.exe.config → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NzbDrone.Update.exe.config
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Update/NzbDrone.Update.exe.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/NzbDrone.Update.exe.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI → /tmp/nzbdrone_update/nzbdrone_backup/UI
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/FontAwesome → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/FontAwesome
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/FontAwesome/FontAwesome.otf → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/FontAwesome/FontAwesome.otf
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/FontAwesome/fontawesome-webfont.eot → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/FontAwesome/fontawesome-webfont.eot
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/FontAwesome/fontawesome-webfont.svg → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/FontAwesome/fontawesome-webfont.svg
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/FontAwesome/fontawesome-webfont.ttf → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/FontAwesome/fontawesome-webfont.ttf
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/FontAwesome/fontawesome-webfont.woff → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/FontAwesome/fontawesome-webfont.woff
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/background → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/background
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/background/logo.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/background/logo.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/logos → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/logos
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/logos/128.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/logos/128.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/logos/32.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/logos/32.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/logos/48.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/logos/48.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/logos/64.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/logos/64.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/touch → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/touch
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/touch/114.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/touch/114.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/touch/144.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/touch/144.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/touch/57.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/touch/57.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/touch/72.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/touch/72.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/404.png → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/404.png
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/favicon.ico → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/favicon.ico
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Images/poster-dark.jpg → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Images/poster-dark.jpg
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Messenger → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Messenger
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Messenger/messenger.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Messenger/messenger.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/Messenger/messenger.flat.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/Messenger/messenger.flat.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/UbuntuMono-Regular.ttf → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/UbuntuMono-Regular.ttf
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-light.eot → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-light.eot
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-light.ttf → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-light.ttf
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-light.woff → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-light.woff
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-regular.eot → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-regular.eot
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-regular.ttf → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-regular.ttf
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-regular.woff → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-regular.woff
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-semibold.eot → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-semibold.eot
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-semibold.ttf → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-semibold.ttf
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/opensans-semibold.woff → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/opensans-semibold.woff
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/ubuntumono-regular.eot → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/ubuntumono-regular.eot
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fonts/ubuntumono-regular.woff → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fonts/ubuntumono-regular.woff
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/activity.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/activity.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/addSeries.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/addSeries.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/bootstrap.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/bootstrap.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/bootstrap.toggle-switch.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/bootstrap.toggle-switch.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/calendar.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/calendar.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/cells.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/cells.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/fullcalendar.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/fullcalendar.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/logs.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/logs.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/overrides.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/overrides.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/series.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/series.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/settings.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/settings.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/theme.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/theme.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/update.css → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/update.css
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Content/zero.clipboard.swf → /tmp/nzbdrone_update/nzbdrone_backup/UI/Content/zero.clipboard.swf
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Handlebars → /tmp/nzbdrone_update/nzbdrone_backup/UI/Handlebars
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Handlebars/Helpers → /tmp/nzbdrone_update/nzbdrone_backup/UI/Handlebars/Helpers
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Handlebars/Helpers/Enumerable.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/Handlebars/Helpers/Enumerable.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/JsLibraries → /tmp/nzbdrone_update/nzbdrone_backup/UI/JsLibraries
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/JsLibraries/handlebars.runtime.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/JsLibraries/handlebars.runtime.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/JsLibraries/handlebars.runtime.min.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/JsLibraries/handlebars.runtime.min.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/JsLibraries/jquery.knob.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/JsLibraries/jquery.knob.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/JsLibraries/require.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/JsLibraries/require.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/JsLibraries/xrayquire.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/JsLibraries/xrayquire.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Tags → /tmp/nzbdrone_update/nzbdrone_backup/UI/Tags
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/Tags/TagHelpers.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/Tags/TagHelpers.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/app.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/app.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/index.html → /tmp/nzbdrone_update/nzbdrone_backup/UI/index.html
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/main.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/main.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/piwik.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/piwik.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/polyfills.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/polyfills.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/UI/templates.js → /tmp/nzbdrone_update/nzbdrone_backup/UI/templates.js
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/DDay.iCal.dll → /tmp/nzbdrone_update/nzbdrone_backup/DDay.iCal.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/FluentMigrator.Runner.dll → /tmp/nzbdrone_update/nzbdrone_backup/FluentMigrator.Runner.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/FluentMigrator.Runner.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/FluentMigrator.Runner.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/FluentMigrator.dll → /tmp/nzbdrone_update/nzbdrone_backup/FluentMigrator.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/FluentMigrator.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/FluentMigrator.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/FluentValidation.dll → /tmp/nzbdrone_update/nzbdrone_backup/FluentValidation.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/FluentValidation.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/FluentValidation.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Growl.Connector.dll → /tmp/nzbdrone_update/nzbdrone_backup/Growl.Connector.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Growl.CoreLibrary.dll → /tmp/nzbdrone_update/nzbdrone_backup/Growl.CoreLibrary.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/ICSharpCode.SharpZipLib.dll → /tmp/nzbdrone_update/nzbdrone_backup/ICSharpCode.SharpZipLib.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Marr.Data.dll → /tmp/nzbdrone_update/nzbdrone_backup/Marr.Data.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Marr.Data.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/Marr.Data.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/MediaInfoDotNet.dll → /tmp/nzbdrone_update/nzbdrone_backup/MediaInfoDotNet.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/MediaInfoDotNet.dll.config → /tmp/nzbdrone_update/nzbdrone_backup/MediaInfoDotNet.dll.config
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Microsoft.AspNet.SignalR.Core.dll → /tmp/nzbdrone_update/nzbdrone_backup/Microsoft.AspNet.SignalR.Core.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Microsoft.AspNet.SignalR.Core.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/Microsoft.AspNet.SignalR.Core.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Microsoft.AspNet.SignalR.Owin.dll → /tmp/nzbdrone_update/nzbdrone_backup/Microsoft.AspNet.SignalR.Owin.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Microsoft.AspNet.SignalR.Owin.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/Microsoft.AspNet.SignalR.Owin.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Microsoft.Owin.Host.HttpListener.dll → /tmp/nzbdrone_update/nzbdrone_backup/Microsoft.Owin.Host.HttpListener.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Microsoft.Owin.Hosting.dll → /tmp/nzbdrone_update/nzbdrone_backup/Microsoft.Owin.Hosting.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Microsoft.Owin.dll → /tmp/nzbdrone_update/nzbdrone_backup/Microsoft.Owin.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NLog.dll → /tmp/nzbdrone_update/nzbdrone_backup/NLog.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Nancy.Authentication.Basic.dll → /tmp/nzbdrone_update/nzbdrone_backup/Nancy.Authentication.Basic.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Nancy.Owin.dll → /tmp/nzbdrone_update/nzbdrone_backup/Nancy.Owin.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Nancy.dll → /tmp/nzbdrone_update/nzbdrone_backup/Nancy.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Newtonsoft.Json.dll → /tmp/nzbdrone_update/nzbdrone_backup/Newtonsoft.Json.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Api.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Api.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Api.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Api.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Common.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Common.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Common.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Common.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Core.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Core.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Core.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Core.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Host.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Host.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Host.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Host.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Mono.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Mono.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.Mono.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Mono.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.SignalR.dll → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.SignalR.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.SignalR.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.SignalR.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.exe → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.exe
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.exe.config → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.exe.config
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/NzbDrone.exe.mdb → /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.exe.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Omu.ValueInjecter.dll → /tmp/nzbdrone_update/nzbdrone_backup/Omu.ValueInjecter.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Owin.dll → /tmp/nzbdrone_update/nzbdrone_backup/Owin.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/Prowlin.dll → /tmp/nzbdrone_update/nzbdrone_backup/Prowlin.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/RestSharp.dll → /tmp/nzbdrone_update/nzbdrone_backup/RestSharp.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/System.Data.SQLite.dll → /tmp/nzbdrone_update/nzbdrone_backup/System.Data.SQLite.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/TVDBSharp.dll → /tmp/nzbdrone_update/nzbdrone_backup/TVDBSharp.dll
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/TVDBSharp.dll.mdb → /tmp/nzbdrone_update/nzbdrone_backup/TVDBSharp.dll.mdb
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/libsqlite3.0.dylib → /tmp/nzbdrone_update/nzbdrone_backup/libsqlite3.0.dylib
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /opt/NzbDrone/libsqlite3.dylib → /tmp/nzbdrone_update/nzbdrone_backup/libsqlite3.dylib
14-12-31 15:40:28.1|Info|BackupAppData|Backing up appdata (database/config)
14-12-31 15:40:28.1|Info|InstallUpdateService|Moving update package to target
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/DDay.iCal.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/FluentMigrator.Runner.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/FluentMigrator.Runner.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/FluentMigrator.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/FluentMigrator.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/FluentValidation.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/FluentValidation.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Growl.Connector.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Growl.CoreLibrary.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/ICSharpCode.SharpZipLib.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Marr.Data.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Marr.Data.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/MediaInfoDotNet.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/MediaInfoDotNet.dll.config
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Microsoft.AspNet.SignalR.Core.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Microsoft.AspNet.SignalR.Core.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Microsoft.AspNet.SignalR.Owin.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Microsoft.AspNet.SignalR.Owin.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Microsoft.Owin.Host.HttpListener.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Microsoft.Owin.Hosting.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Microsoft.Owin.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NLog.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Nancy.Authentication.Basic.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Nancy.Owin.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Nancy.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Newtonsoft.Json.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Api.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Api.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Common.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Common.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Core.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Core.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Host.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Host.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Mono.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.Mono.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.SignalR.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.SignalR.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.exe
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.exe.config
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/NzbDrone.exe.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Omu.ValueInjecter.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Owin.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/Prowlin.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/RestSharp.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/System.Data.SQLite.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/TVDBSharp.dll
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/TVDBSharp.dll.mdb
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/libsqlite3.0.dylib
14-12-31 15:40:28.1|Trace|DiskProviderBase|Deleting file: /opt/NzbDrone/libsqlite3.dylib
14-12-31 15:40:28.1|Info|BackupAndRestore|Attempting to rollback upgrade
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /tmp/nzbdrone_update/nzbdrone_backup/ → /opt/NzbDrone
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update → /opt/NzbDrone/NzbDrone.Update
14-12-31 15:40:28.1|Debug|DiskProviderBase|Copy /tmp/nzbdrone_update/nzbdrone_backup/NzbDrone.Update/ICSharpCode.SharpZipLib.dll → /opt/NzbDrone/NzbDrone.Update/ICSharpCode.SharpZipLib.dll
14-12-31 15:40:28.1|Info|StartNzbDrone|Starting NzbDrone
14-12-31 15:40:28.1|Info|StartNzbDrone|Starting NzbDrone.exe
14-12-31 15:40:28.1|Debug|ProcessProvider|Starting mono /opt/NzbDrone/NzbDrone.exe --nobrowser
14-12-31 15:40:28.1|Fatal|UpdateApp|An error has occurred while applying update package.
System.UnauthorizedAccessException: Access to the path “/opt/NzbDrone/NzbDrone.Update/ICSharpCode.SharpZipLib.dll” is denied.
at System.IO.File.Delete (System.String path) [0x00000] in :0
at System.IO.FileInfo.CopyTo (System.String destFileName, Boolean overwrite) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileInfo:CopyTo (string,bool)
at NzbDrone.Common.Disk.DiskProviderBase.TransferFolder (System.String source, System.String target, TransferAction transferAction) [0x00000] in :0
at NzbDrone.Common.Disk.DiskProviderBase.TransferFolder (System.String source, System.String target, TransferAction transferAction) [0x00000] in :0
at NzbDrone.Common.Disk.DiskProviderBase.CopyFolder (System.String source, System.String destination) [0x00000] in :0
at NzbDrone.Update.UpdateEngine.BackupAndRestore.Restore (System.String target) [0x00000] in :0
at NzbDrone.Update.UpdateEngine.InstallUpdateService.Start (System.String installationFolder, Int32 processId) [0x00000] in :0
at NzbDrone.Update.UpdateApp.Start (System.String args) [0x00000] in :0
at NzbDrone.Update.UpdateApp.Main (System.String args) [0x00000] in :0
I swear I changed the permissions on that folder before but now I see /opt/NzbDrone/NzbDrone.Update is root:root again. I guess that’s what you meant about apt-get messing it up. OK, I’ll apt-get update it again and check/change the folder permissions after and hopefully the next update will work.
Thanks.
This is fixed in the latest versions of the debian packages (develop and master).
Sorry to come back to this…
So now if I leave everything alone, it works (yay!). But (!!!) when I go to apply updates to my server, it will show nzbdrone needing updating even though the auto update did its thing (successfully). When I go ahead and run the updates (including nzbdrone), I guess it re-overwrites the permissions on those files and I’m hooped all over again.
So I wonder, do I need to somehow take nzbdrone out of my system’s updating? How do I do that?
Sorry, I just saw this other post after I hit submit (Ruh roh. NzbDrone.exe missing ) and see that maybe I just need to do this one more time
Remove the repo from /etc/apt/sources.list.d/sonarr.list
The reverse of what you did when [installing] (https://github.com/Sonarr/Sonarr/wiki/Installation#debianubuntu )