20 Sep 2020
How to fix Sonarr update failure
If you are seeing the following errors in Sonarr
Error occurred while executing task ApplicationUpdate: Access to the path "/tmp/nzbdrone_backup/config.xml" is denied.
System.UnauthorizedAccessException: Access to the path "/tmp/nzbdrone_backup/config.xml" is denied.
Error occurred while executing task ApplicationUpdate: Access to the path "/tmp/nzbdrone_update/NzbDrone/UI/Content/FontAwesome/FontAwesome.otf" is denied.
System.UnauthorizedAccessException: Access to the path "/tmp/nzbdrone_update/NzbDrone/UI/Content/FontAwesome/FontAwesome.otf" is denied.
This can easily be rectified by connecting to your Sonarr instance via SSH and issuing the following commands to remove the /tmp/nzbdrone_backup/ and rm -rf /tmp/nzbdrone_update/
rm -rf /tmp/nzbdrone_backup/
rm -rf /tmp/nzbdrone_update/
It appears the user the update runs under has changed in recent times and doesn’t have the same permissions.