Update Not working

Hi,
The auto update of drone seems to have stopped working.
Version 2.0.0.1651

14-7-10 14:16:52.8|Info|InstallUpdateService|Deleting old update files
14-7-10 14:16:53.0|Info|InstallUpdateService|Downloading update 2.0.0.1657
14-7-10 14:18:00.1|Info|InstallUpdateService|Verifying update package
14-7-10 14:18:00.4|Info|InstallUpdateService|Update package verified successfully
14-7-10 14:18:00.5|Info|InstallUpdateService|Extracting Update package
14-7-10 14:18:01.3|Info|InstallUpdateService|Update package extracted successfully
14-7-10 14:18:01.4|Info|BackupService|Starting Backup
14-7-10 14:18:01.7|Error|InstallUpdateService|Update process failed

System.IO.DirectoryNotFoundException: Directory ‘/home/brenden/.config/NzbDrone/Backups/update’ not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in :0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in :0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in :0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, SearchOption searchOption) [0x00000] in :0
at NzbDrone.Common.Disk.DiskProviderBase.GetFiles (System.String path, SearchOption searchOption) [0x00000] in :0
at NzbDrone.Core.Backup.BackupService.GetBackupFiles (System.String path) [0x00000] in :0
at NzbDrone.Core.Backup.BackupService.CleanupOldBackups (BackupType backupType) [0x00000] in :0
at NzbDrone.Core.Backup.BackupService.Backup (BackupType backupType) [0x00000] in :0
at NzbDrone.Core.Update.InstallUpdateService.InstallUpdate (NzbDrone.Core.Update.UpdatePackage updatePackage) [0x00000] in :0

14-7-10 14:18:32.1|Info|Database|Vacuuming database
14-7-10 14:18:33.0|Info|Database|Database Compressed
14-7-10 14:19:33.4|Info|RssSyncService|Starting RSS Sync
14-7-10 14:19:57.4|Info|DownloadDecisionMaker|Processing 900 reports
14-7-10 14:20:13.8|Info|RssSyncService|RSS Sync Completed. Reports found: 900, Reports downloaded: 0
14-7-10 14:21:15.1|Info|BackupService|Starting Backup
14-7-10 14:21:32.7|Info|InstallUpdateService|Deleting old update files
14-7-10 14:21:32.9|Info|InstallUpdateService|Downloading update 2.0.0.1657
14-7-10 14:22:38.9|Info|InstallUpdateService|Verifying update package
14-7-10 14:22:39.2|Info|InstallUpdateService|Update package verified successfully
14-7-10 14:22:39.4|Info|InstallUpdateService|Extracting Update package
14-7-10 14:22:40.1|Info|InstallUpdateService|Update package extracted successfully
14-7-10 14:22:40.3|Info|BackupService|Starting Backup
14-7-10 14:22:40.5|Error|InstallUpdateService|Update process failed

System.IO.DirectoryNotFoundException: Directory ‘/home/brenden/.config/NzbDrone/Backups/update’ not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in :0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in :0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in :0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, SearchOption searchOption) [0x00000] in :0
at NzbDrone.Common.Disk.DiskProviderBase.GetFiles (System.String path, SearchOption searchOption) [0x00000] in :0
at NzbDrone.Core.Backup.BackupService.GetBackupFiles (System.String path) [0x00000] in :0
at NzbDrone.Core.Backup.BackupService.CleanupOldBackups (BackupType backupType) [0x00000] in :0
at NzbDrone.Core.Backup.BackupService.Backup (BackupType backupType) [0x00000] in :0
at NzbDrone.Core.Update.InstallUpdateService.InstallUpdate (NzbDrone.Core.Update.UpdatePackage updatePackage) [0x00000] in :0

I just created the directory update in .config/NzbDrone/Backups and Drone seems to be updating flawlessly again!!

Yep same issue, it appears newer versions backup before upgrading, and if it doesn’t find that path, it doesn’t work.

Same with the need to create the ‘manual’ folder in order to do a regular backup.

I had to create the Backups folder as well as the updates folder in it before it worked. Not sure if it was needed but I also chowned both folders to my nzbdrone user.

It was trying to clean up files before the folder was created (if it didn’t already exist), it is fixed in the latest version of develop, you will need to create that folder manually or update to the latest version manually (the former being the quickest).

On Windows the expected path is: C:\\ProgramData\zbDrone\\Backups\\update on OS X / Linux it is: ~/.config/NzbDrone/Backups/update Just make sure drone has read/write permissions to the folder and you’re set.

1 Like

@NMe : What’s full dir in synology ? i have tried a few rep, nothing work.

@nonobis check the error message for the full path.

@markus101 : thanks found it :slight_smile: