Error installing update 2.0.0.3527

Hi,

On a Synology DS412+ with latest DSM and Mono 4.0.4.1-5 (from synocommunity) I get the following error while trying to update (has always worked before)

Message
Error occurred while executing task ApplicationUpdate: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies.

Exception
System.IO.FileNotFoundException: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. File name: 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' at NzbDrone.Common.ArchiveService.Extract (System.String compressedFile, System.String destination) [0x00023] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\ArchiveService.cs:38 at NzbDrone.Core.Update.InstallUpdateService.InstallUpdate (NzbDrone.Core.Update.UpdatePackage updatePackage) [0x0015f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Update\InstallUpdateService.cs:108 at NzbDrone.Core.Update.InstallUpdateService.Execute (NzbDrone.Core.Update.Commands.ApplicationUpdateCommand message) [0x00070] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Update\InstallUpdateService.cs:207 at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[ApplicationUpdateCommand] (NzbDrone.Core.Update.Commands.ApplicationUpdateCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) [0x0008a] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:77

Can you tell me what to do?

If you run a backup of Sonarr (System: Backup), does it complete successfully?

Based on the error message it looks like a file used for backups and updates is missing. Running a backup should confirm whether the file is missing or something else is affecting the update.

You’re right, when I run a Back-up I get the same error:

Message
Error occurred while executing task Backup: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies.

Exception
System.IO.FileNotFoundException: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. File name: 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' at NzbDrone.Core.Backup.BackupService.Backup (BackupType backupType) [0x0008f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Backup\BackupService.cs:76 at NzbDrone.Core.Backup.BackupService.Execute (NzbDrone.Core.Backup.BackupCommand message) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Backup\BackupService.cs:170 at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[BackupCommand] (NzbDrone.Core.Backup.BackupCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) [0x0008a] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:77

It’s missing ICSharpCode.SharpZipLib, how can I fix this?

I have the same error on my machine, any way to fix this?

@KiefDelicious / @Toxic_Waste

Its a of a tricky issue on Synology, since removing the Sonarr package would remove the settings as well, the easiest would be to grab the Sonarr tar.gz (https://download.sonarr.tv/v2/master/latest/NzbDrone.master.tar.gz) and copy ICSharpCode.SharpZipLib.dll to Sonarr’s Startup Directory (as shown on System: Status) in Sonarr.

You could also grab the zip: https://download.sonarr.tv/v2/master/latest/NzbDrone.master.zip if thats easier, since you’re only copying that one file (and not the entire contents), either the tar.gz or zip will work for you.

Thx for you’r reply, that worked! now updated succesfully to the latest version.

And now I also found out why it was missing, I’m using Antivirus Essential on my Synology and it had flagged the file and moved it to Quarantaine. Now I’ve whitelisted the file and the problem is gone.

Thx again for your help.

1 Like

interesting! I will check this out aswell on my synology, thanks!

On my DS412+, Synocommunity packages Mono 3.10 and Sonarr I didn’t experience the Upgrade/virusscan issue.

Edit 1: Whahaha, maybe I should have check the virus scanner first. Hasn’t run a scheduled scan since 2013 :blush:

Same situation as @KiefDelicious, antivirus essential had flagged a file from Sonarr and a file from Mono, once I whitelisted them it updated fine

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