Error on manual update

I keep receiving the following error when I try to manually updated sonarr:

System.IO.IOException: The file or directory is corrupted and unreadable.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.AddSearchableDirsToStack(SearchData localSearchData)
   at System.IO.FileSystemEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at NzbDrone.Common.Disk.DiskProviderBase.DeleteFolder(String path, Boolean recursive) in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 279
   at NzbDrone.Core.Update.InstallUpdateService.InstallUpdate(UpdatePackage updatePackage) in m:\BuildAgent\work\328d72309b633a8\src\NzbDrone.Core\Update\InstallUpdateService.cs:line 74

Please pastebin the entire error.

Probably the easiest way to resolve it is to apply the update manually by removing the contents of C:\ProgramData\NzbDrone\bin and reinstalling.

reinstalling what? sonarr?

Yes, Sonarr.

oh man… I guess I have no choice.

Why would this happen though? I am just curious to know if this will happen again.

thanks

Its really not that invasive, download the installer, uninstall and reinstall. Settings will remain intact.

Some sort of corruption of the files on the drive, could happen any way a file can get corrupted, failing hard drive, improper shutdown during write, bad copy during update, plus I’m sure many more ways.

ok, I will try and re-install.

thanks