Back up failing

Sonarr version (exact version): 3.0.9.1549
Mono version (if Sonarr is not running on Windows): 6.12.0.182
OS: Synology DSM7 - Package.
Debug logs:

2023-02-15 15:56:58.5|Info|BackupService|Starting Backup
2023-02-15 15:56:58.6|Error|CommandExecutor|Error occurred while executing task Backup

[v3.0.9.1549] System.UnauthorizedAccessException: Access to the path ‘/tmp/sonarr_backup/config.xml’ is denied. —> System.IO.IOException: Permission denied
— End of inner exception stack trace —
at System.IO.FileSystem.DeleteFile (System.String fullPath) [0x0006d] in :0
at System.IO.File.Delete (System.String path) [0x00014] in :0
at NzbDrone.Common.Disk.DiskProviderBase.DeleteFile (System.String path) [0x00067] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:200
at NzbDrone.Common.Disk.DiskProviderBase.EmptyFolder (System.String path) [0x0005d] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:382
at NzbDrone.Core.Backup.BackupService.Cleanup () [0x00013] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Backup\BackupService.cs:185
at NzbDrone.Core.Backup.BackupService.Backup (NzbDrone.Core.Backup.BackupType backupType) [0x00060] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Backup\BackupService.cs:75
at NzbDrone.Core.Backup.BackupService.Execute (NzbDrone.Core.Backup.BackupCommand message) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Backup\BackupService.cs:243
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand] (TCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) [0x000e0] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:96
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 :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 () [0x00027] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:41

Description of issue:

When ever I try to backup my synology I instantly get a failed notification and the logs are as above. appreciate any help I can get.

If you delete that file does it still fail? Perhaps an old backup running under a different user is causing issues.

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