# 110 canary, multiple sources not supported (?)

**URL:** <https://forum.duplicati.com/t/110-canary-multiple-sources-not-supported/10583>\
**Category:** Support\
**Tags:** canary, bug\
**Created:** [August 23, 2020, 1:39pm UTC](https://forum.duplicati.com/t/110-canary-multiple-sources-not-supported/10583 "2020-08-23T13:39:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sami\_Lehtinen](https://forum.duplicati.com/user_avatar/forum.duplicati.com/sami_lehtinen/32/1779_2.png) [@Sami\_Lehtinen](https://forum.duplicati.com/u/Sami_Lehtinen)\
**Post date:** [August 23, 2020, 1:39pm UTC](https://forum.duplicati.com/t/110-canary-multiple-sources-not-supported/10583/1 "2020-08-23T13:39:41Z")

</div>

v2.0.5.110-2.0.5.110\_canary\_2020-08-10 version on Linux got some strange issues when using multiple --source statements. It basically ends up “deleting everything” from the backup. Around 4% of data remained in the last backup set , rest was deleted from the version. Of course it wasn’t that bad, because the block files remained and I’m using versioning. But in general that means that the data was deleted from most recent backup.

108 version works without that problem.

Maybe related, maybe not:  
Failed to load process type System.Reactive.Concurrency.DispatcherScheduler assembly /usr/lib/duplicati/System.Reactive.dll, error message: Could not load type of field ‘System.Reactive.Concurrency.DispatcherScheduler:k\_\_BackingField’ (0) due to: Could not load file or assembly ‘WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. =\> Could not load type of field ‘System.Reactive.Concurrency.DispatcherScheduler:k\_\_BackingField’ (0) due to: Could not load file or assembly ‘WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies.  
Failed to load process type Duplicati.Library.Backend.Tardigrade.Tardigrade assembly /usr/lib/duplicati/Duplicati.Library.Backend.Tardigrade.dll, error message: Could not load type of field ‘Duplicati.Library.Backend.Tardigrade.Tardigrade:\_access’ (14) due to: Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. =\> Could not load type of field ‘Duplicati.Library.Backend.Tardigrade.Tardigrade:\_access’ (14) due to: Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies.

Just warning, that always check out the backup after backup is completed. You might be missing almost all of your data. Luckily I checked and found out that for some reason data isn’t getting backed up.

---

<div class="post-metadata">

**Author:** ![warwickmm](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/w/5e9695/32.png) [@warwickmm](https://forum.duplicati.com/u/warwickmm)\
**Post date:** [August 23, 2020, 4:25pm UTC](https://forum.duplicati.com/t/110-canary-multiple-sources-not-supported/10583/2 "2020-08-23T16:25:48Z")

</div>

> [@Sami\_Lehtinen](#):
>
> Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies.

This is likely the problem. Supporting the Tardigrade and TencentCOS backends (which are built on .NET Standard) required us to move to .NET 4.7.1 (and hence Mono 5.10.0 or greater). However, it seems that there is an issue with mono packaging in Debian-based distributions:

> <https://github.com/mono/mono/issues/17148>
>
> The netstandard.dll is located in Debian/Ubuntu’s "mono-devel" package, which re…quires Mono users to install the complete Mono development platform in order to run a .NET app. Having to force end-users to install the whole development platform in order to run a .NET app is currently preventing many developers from including .NET Standard 2.0 projects in multi-platform software that targets “normal” (non-developer) users.
> 
> It would make much more sense to move the netstandard.dll into the "libmono-corlib\*" or "mono-runtime" packages instead.
> 
> Mono users in Debian/Ubuntu who haven’t installed the "mono-devel" or "mono-complete" packages currently get an Unhandled Exception saying something like:
> 
> \`System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. \`
> 
> \## On which platforms did you notice this
> 
> \[\] macOS
> \[x \] Linux
> \[\] Windows
> 
> \*\*Version Used\*\*: 5.18.0.240 and 6.4.0.198
> 
> \<!--
> You can use \`mono --version\` or About dialog to obtain this information.
> \--\>

This also causes a problem with our official Docker image:

> <https://github.com/duplicati/duplicati/issues/4289>
>
> \- \[x \] I have searched open and closed issues for duplicates.
> 
> \---------------…-------------------------
> 
> \## Environment info
> 
> 
> \- \*\*Duplicati version\*\*: 2.0.5.110\_canary\_2020-08-10
> \- \*\*Operating system\*\*: Docker imaage
> \- \*\*Backend\*\*: Mega.nz
> 
> \## Description
> Following error occurs:
> \`Could not find method '.ctor' due to a type load error: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. assembly:/opt/duplicati/SharpAESCrypt.exe type:SharpAESCrypt member:(null)
> \`
> \## Steps to reproduce
> 1. Get the docker image
> 2. Create a mega.nz backup job
> 3. Start it
> 4. Error is shown
> 
> \## Screenshots
> !\[image\](https://user-images.githubusercontent.com/1206407/90596269-e180c480-e1ee-11ea-8c93-6b5f53a5dd4b.png)

So far, it seems the solution is to install `mono-complete`, or the equivalent.

---

<div class="post-metadata">

**Author:** ![Sami\_Lehtinen](https://forum.duplicati.com/user_avatar/forum.duplicati.com/sami_lehtinen/32/1779_2.png) [@Sami\_Lehtinen](https://forum.duplicati.com/u/Sami_Lehtinen)\
**Post date:** [August 23, 2020, 5:29pm UTC](https://forum.duplicati.com/t/110-canary-multiple-sources-not-supported/10583/3 "2020-08-23T17:29:55Z")

</div>

Yeah, seems that it’s not great situation at all. - Thank you so much for the references.

Yet, I’m slightly worried that the application continued to work incorrectly. Afaik, in situation where seriously incorrect operation is expected due to some dependency failing, program should abort.

On some level, I’m curious why that happened, but I believe that it’s enough that the risk is acknowledged, and the program should stop operation in this case. I’m sure that over 90% of people wouldn’t realize that happening. I do always check the end stats, plus diff the 1 vs 0 backupsets. So I wondered the huge number of deleted files. This is again one of things which can become as big surprise to some users and they might get pretty annoyed.

---

<div class="post-metadata">

**Author:** ![warwickmm](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/w/5e9695/32.png) [@warwickmm](https://forum.duplicati.com/u/warwickmm)\
**Post date:** [August 23, 2020, 5:46pm UTC](https://forum.duplicati.com/t/110-canary-multiple-sources-not-supported/10583/4 "2020-08-23T17:46:33Z")

</div>

> [@Sami\_Lehtinen](#):
>
> Yet, I’m slightly worried that the application continued to work incorrectly. Afaik, in situation where seriously incorrect operation is expected due to some dependency failing, program should abort.

Yes, I’m surprised that the program didn’t abort after the first error. In my testing of the “Could not load file or assembly ‘netstandard’” error, the program did halt immediately. Are you using the command-line to run the backup? Was only one statement executed, or were there many?

---

<div class="post-metadata">

**Author:** ![Sami\_Lehtinen](https://forum.duplicati.com/user_avatar/forum.duplicati.com/sami_lehtinen/32/1779_2.png) [@Sami\_Lehtinen](https://forum.duplicati.com/u/Sami_Lehtinen)\
**Post date:** [August 23, 2020, 6:07pm UTC](https://forum.duplicati.com/t/110-canary-multiple-sources-not-supported/10583/5 "2020-08-23T18:07:06Z")

</div>

> [@warwickmm](#):
>
> Are you using the command-line to run the backup? Was only one statement executed, or were there many?

duplicati-cli backup “dest” --parameters-file=“stuff-in.txt”

Nothing more complex than that, no, I haven’t specified any parameters which should change error handling. I even rechecked for that, so I don’t have any exceptions or debug features in play, which should allow program to continue and ignore some serious errors.
