Update from UI not possible on Synology DSM?

Hi all,

I’m in the process of setting up my new nas, which runs on Synology DSM, I have been playing around with the settings, but today I ran into the weird problem that the newly released build can’t install via the UI.

When I check the logs I get an UnauthorizedAccessException and I basically want to know whether I tinkered too much with the user rights or something is broken in the new release?

Logs:
System.UnauthorizedAccessException: Access to the path “/tmp/nzbdrone_update/NzbDrone/UI/Content/FontAwesome/FontAwesome.otf” is denied.
at System.IO.File.Delete (System.String path) [0x0007b] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/File.cs:166
at System.IO.Directory.RecursiveDelete (System.String path) [0x00057] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/Directory.cs:167
at System.IO.Directory.RecursiveDelete (System.String path) [0x0002d] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/Directory.cs:162
at System.IO.Directory.RecursiveDelete (System.String path) [0x0002d] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/Directory.cs:162
at System.IO.Directory.RecursiveDelete (System.String path) [0x0002d] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/Directory.cs:162
at System.IO.Directory.RecursiveDelete (System.String path) [0x0002d] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/Directory.cs:162
at System.IO.Directory.Delete (System.String path, Boolean recursive) [0x0000c] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.IO/Directory.cs:178
at NzbDrone.Common.Disk.DiskProviderBase.DeleteFolder (System.String path, Boolean recursive) [0x00068] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:301
at NzbDrone.Core.Update.InstallUpdateService.InstallUpdate (NzbDrone.Core.Update.UpdatePackage updatePackage) [0x00093] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Update\InstallUpdateService.cs:84
at NzbDrone.Core.Update.InstallUpdateService.Execute (NzbDrone.Core.Update.Commands.ApplicationUpdateCommand message) [0x0006f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Update\InstallUpdateService.cs:202
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[ApplicationUpdateCommand] (NzbDrone.Core.Messaging.Commands.Command command) [0x00099] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:131

Anyone with a similar experience?

Permission on the temp folder seem to be the issue, try removing /tmp/nzbdrone_update/ and all its contents then trying again.

1 Like

very simple and good advice, I removed the package, the folder, redid it all clean and the update works again, thanks a lot! Should have thought of that myself, thank you markus!

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