Denied message when attempting to perform a manual backup

Sonarr version (exact version): 5.18.0.240
Mono version (if Sonarr is not running on Windows):
OS: Synology 6.2.2-24922-4
Debug logs:
Description of issue: Denied message when attempting to perform a manual backup

I’ll try to make this clear and concise.

Was running 3.0.3.712.
Sonarr was not able to upgrade to 3.0.3.713.
Backed up, stopped package, and then uninstalled package.
Installed 2x via SynoCommunity, upgraded to 3x using manual install method.
Launched 3x and upgraded to 3.0.3.713 without any issues.
Stopped package.
Restored from backup.
sudo su -
cd /usr/local/nzbdrone/var/.config/Sonarr
chown -R sc-nzbdrone:nzbdrone *
chmod -R 0664 * and also tried chmod -R 0775 *
Tested a manual backup which failed.
Noticed there is no manual directory under Backups directory.
Created manual directory and ran the same chown and chmod commands.
I still can’t backup.

Error occurred while executing task Backup: Access to the path "/volume1/@appstore/nzbdrone/var/.config/Sonarr/Backups/manual" is denied.
System.UnauthorizedAccessException: Access to the path "/volume1/@appstore/nzbdrone/var/.config/Sonarr/Backups/manual" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0005e] in <30c1a991558c4064acefa7cee0fc6779>:0 
  at System.IO.Directory.CreateDirectory (System.String path) [0x0008f] in <30c1a991558c4064acefa7cee0fc6779>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.CreateFolder (System.String path) [0x00047] in <68011f5c79df4faa9ddf2825cf7388f6>:0 
  at NzbDrone.Common.Disk.DiskProviderBase.EnsureFolder (System.String path) [0x00009] in <68011f5c79df4faa9ddf2825cf7388f6>:0 
  at NzbDrone.Core.Backup.BackupService.Backup (NzbDrone.Core.Backup.BackupType backupType) [0x00033] in <a16bb642eba34dbfb676b358cd5491a6>:0 
  at NzbDrone.Core.Backup.BackupService.Execute (NzbDrone.Core.Backup.BackupCommand message) [0x00007] in <a16bb642eba34dbfb676b358cd5491a6>:0 
  at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand] (TCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) [0x000f6] in <a16bb642eba34dbfb676b358cd5491a6>:0 
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel)
  at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2] (System.Runtime.CompilerServices.CallSite site, T0 arg0, T1 arg1, T2 arg2) [0x00035] in <c5be31df78334728a3fe9032214962d6>:0 
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel)
  at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommands () [0x0008c] in <a16bb642eba34dbfb676b358cd5491a6>:0 

I fixed the issue. Stopped the package and then ran the chmod command.

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