A serious error occurred in Duplicati 2.0.4.23-1

Hello

My duplicati worked correctly until some time until I got an error:

A serious error occurred in Duplicati: System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.GetDatabaseConnection (System.Collections.Generic.Dictionary`2 commandlineOptions) <0x413a4070 + 0x00297> in :0
at Duplicati.Server.Program.RealMain (System.String _args) <0x4139c700 + 0x0079f> in :0
Crash!
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.RealMain (System.String _args) <0x4139c700 + 0x00d2f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7f34a79ab9e0 + 0x000a1> in :0
— End of inner exception stack trace —
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7f34a79ab9e0 + 0x000ef> in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object parameters) <0x7f34a77e3cf0 + 0x0002a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x4139c120 + 0x0007e> in :0

Unhandled Exception:
System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.RealMain (System.String _args) <0x4139c700 + 0x00d2f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7f34a79ab9e0 + 0x000a1> in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f34a78016d0 + 0x00029> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x4139c120 + 0x00343> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_1.b__0 () <0x4139c0e0 + 0x0001f> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater (AutoUpdateStrategy defaultstrategy, System.Action wrappedFunction) <0x4139bb90 + 0x0032a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x4139b2b0 + 0x0021b> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x4139ae60 + 0x0005f> in :0
at Duplicati.Server.Program.Main (System.String args) <0x40ceed50 + 0x0003b> in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Server.Program.RealMain (System.String _args) <0x4139c700 + 0x00d2f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7f34a79ab9e0 + 0x000a1> in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f34a78016d0 + 0x00029> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x4139c120 + 0x00343> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_1.b__0 () <0x4139c0e0 + 0x0001f> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater (AutoUpdateStrategy defaultstrategy, System.Action wrappedFunction) <0x4139bb90 + 0x0032a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x4139b2b0 + 0x0021b> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x4139ae60 + 0x0005f> in :0
at Duplicati.Server.Program.Main (System.String args) <0x40ceed50 + 0x0003b> in :0

1 Like

Welcome to the forum @wyrkos

Any idea what changed then? What OS is this? What does mono --version say? Do you know your Duplicati version and whether you install updates from Duplicati GUI autoupdater or by something like an uninstall and new install? How do start Duplicati.Server? Do you use other programs? Do they run?

duplicati-cli system-info provides some useful information at its top about versions and updates. duplicati-cli is a convenience wrapper script that starts mono on your Duplicati.CommandLine.exe

EDIT: Title says 2.0.4.23 but I don’t know if that was an update from 2.0.4.5 or new package installation. Research is showing lots of things this problem “could” be – mono version, program file damage, or DB problems unique to Duplicati. Need to either go through those all or cut things down with these answers.

Hello wyrkos, it happened to me today too.
I was using version 2.0.4.5-1, and after a service restart I got the ‘Array.Empty’ error.
After looking around, it looks like mono was involved there, so I started to upgrade it (I was using 4.2.x, the default on ubuntu 16.04 and upgraded to the most recent by installing mono-runtime manually). The problem disappeared with 2.0.4.5-1 and I upgraded to 2.0.4.30-1 in the process.
Here are the instructions I followed to do it: Download - Stable | Mono

Also, for reference, here is a fragment of the ansible playbook I wrote to do it.

    # begin: https://www.mono-project.com/download/stable/#download-lin-ubuntu
    # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
    - name: Adding mono official repo
      become: yes
      apt_key:
          keyserver: hkp://keyserver.ubuntu.com:80
          id: 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
          state: present
          validate_certs: yes

    # sudo apt install apt-transport-https ca-certificates
    - name: Installing required packages for mono
      become: yes
      apt:
        name: "{{ item }}"
        state: present
      with_items:
        - apt-transport-https
        - ca-certificates

    # echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
    # sudo apt update
    - name: Installing mono repository
      become: yes
      apt_repository:
          repo: deb https://download.mono-project.com/repo/ubuntu stable-xenial main
          state: present
          update_cache: yes
          validate_certs: yes
          filename: mono-official-stable

    - name: updating and upgrading apt packages
      become: yes
      apt:
        update_cache: yes
        upgrade: yes

    - name: Installing mono from added repository
      become: yes
      apt:
        name: "{{ item }}"
        state: present
      with_items:
        - mono-runtime # for duplicati
        - mono-devel
    # end: https://www.mono-project.com/download/stable/#download-lin-ubuntu

Cheers,
Julien

What OS is this?

Ubuntu 18.04.3 LTS

mono --version

Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Do you know your Duplicati version and whether you install updates from Duplicati GUI autoupdater or by something like an uninstall and new install?

From GUI

How do start Duplicati.Server?

duplicati-server --webservice-interface=172.18.37.22 --no-hosted-server --log-file=/var/log/duplicati.log --log-level=Profiling $DAEMON_OPTS

Do you use other programs? Do they run?

No

duplicati-cli system-info

System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.Library.Main.Controller.RunAction[T] (Duplicati.Library.Main.T result, System.Action1 method) <0x4127b580 + 0x0008b> in <filename unknown>:0 at Duplicati.Library.Main.Controller.SystemInfo () <0x4127a650 + 0x0010f> in <filename unknown>:0 at Duplicati.CommandLine.Commands.SystemInfo (System.IO.TextWriter outwriter, System.Action1 setup, System.Collections.Generic.List1 args, System.Collections.Generic.Dictionary2 options, IFilter filter) <0x41279c40 + 0x0011b> in :0
at (wrapper delegate-invoke) System.Func6[System.IO.TextWriter,System.Action1[Duplicati.Library.Main.Controller],System.Collections.Generic.List1[System.String],System.Collections.Generic.Dictionary2[System.String,System.String],Duplicati.Library.Utility.IFilter,System.Int32]:invoke_TResult_T1_T2_T3_T4_T5 (System.IO.TextWriter,System.Action1<Duplicati.Library.Main.Controller>,System.Collections.Generic.List1,System.Collections.Generic.Dictionary2<string, string>,Duplicati.Library.Utility.IFilter) at Duplicati.CommandLine.Program.ParseCommandLine (System.IO.TextWriter outwriter, System.Action1 setup, System.Boolean& verboseErrors, System.String args) <0x41276920 + 0x009bf> in :0
at Duplicati.CommandLine.Program.RunCommandLine (System.IO.TextWriter outwriter, System.IO.TextWriter errwriter, System.Action`1 setup, System.String args) <0x41276510 + 0x0006f> in :0
Crash!
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.CommandLine.Program.RealMain (System.String args) <0x412611b0 + 0x0011f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7f708e9ab9e0 + 0x000a1> in :0
— End of inner exception stack trace —
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7f708e9ab9e0 + 0x000ef> in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object parameters) <0x7f708e7e3cf0 + 0x0002a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x41260c00 + 0x0007e> in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method ‘Array.Empty’ not found.
at Duplicati.CommandLine.Program.RealMain (System.String args) <0x412611b0 + 0x0011f> in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) <0x7f708e9ab9e0 + 0x000a1> in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f708e8016d0 + 0x00029> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod (System.Reflection.MethodInfo method, System.String args) <0x41260c00 + 0x00343> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_1.b__0 () <0x41260a10 + 0x0001f> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater (AutoUpdateStrategy defaultstrategy, System.Action wrappedFunction) <0x412601b0 + 0x0032a> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x4125f8d0 + 0x0021b> in :0
at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecent (System.Reflection.MethodInfo method, System.String cmdargs, AutoUpdateStrategy defaultstrategy) <0x4125f480 + 0x0005f> in :0
at Duplicati.CommandLine.Program.Main (System.String args) <0x411f8d50 + 0x00047> in :0

You have an interesting combination of a Ubuntu 16.04 LTS mono on a Ubuntu 18.04 LTS system. Although I’m not familiar with Ubuntu, I wonder if this system was 16.04 when you installed mono?

https://packages.ubuntu.com/xenial/cli-mono/

mono-complete (4.2.1.102+dfsg2-7ubuntu4) [ universe ]
conplete Mono runtime, development tools and all libraries

https://packages.ubuntu.com/bionic/cli-mono/

mono-complete (4.6.2.7+dfsg-1ubuntu1) [ universe ]
complete Mono runtime, development tools and all libraries

In both cases mono is not in the main repository, but in universe.

What are Ubuntu Repositories? How to enable or disable them?

I’m not sure where your mono is from, but Duplicati Prerequisites call for the latest mono for your OS at https://www.mono-project.com/download/stable/#download-lin and next Duplicati beta needs at least v5. There was at one time a bug in v6 that broke OneDrive, so that’s an extra issue if you happen to use it.

Among top results from Google search “MissingMethodException: Method ‘Array.Empty’ not found.” are:

ubuntu 16.04 mono Method ‘Array.Empty’ not found after nuget 4.5.1 #6790 (and mono 4.6.2 fixed this)

Summary: .NET 4.6 running on mono, Method ‘Array.Empty’ not found. (Win and Linux) has explanation

You then attempt to run this compiled application on an early build of .NET Framework or Mono, where Array.Empty does not exist (source notice that it says Available since 4.6)

I’m not sure why it used to work. Is it possible it started failing at your 2.0.4.23 upgrade? Possibly it was built differently even though the only difference in Duplicati source code from 2.0.4.5 is a new warning?

So – one option is to update mono as @birdypme suggested (thanks for it, and welcome to the forum).

Second option is to downgrade Duplicati, especially if you think the upgrade might have introduced this. Downgrading / reverting to a lower version shows the places where updates might be on Ubuntu Linux. Your base install may be in /usr/lib/duplicati. An install has a changelog.txt file. Version number is at top. Please see if you can identify your base install and whether you have any (can be several) updates to it. After you figure out what you have and where, we can talk more about the things you can do for testing.

Third option is least attractive, but let me ask if you have any export of your backup jobs in case needed.

Excuse me. I was wrong. The version of my ubuntu is 16.04.6 LTS. How can I check which duplicati version I currently have?

Directions were posted earlier under “Second option” but are you sure you don’t want to update mono?

If you prefer the downgrade route, you would basically delete Duplicati’s update but not its base install, after confirming that base install is 2.0.4.5. If it’s earlier then you need at least a 2.0.4.5 update around.

when I try to update packages I get something like that:

apt-get upgrade -f
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
ca-certificates-mono cli-common libdrm-amdgpu1 libdrm2 libegl1-mesa libgbm1 libgl1-mesa-dri libmono-2.0-1 libmono-2.0-dev libmono-accessibility4.0-cil libmono-cairo4.0-cil libmono-cecil-private-cil libmono-cil-dev
libmono-codecontracts4.0-cil libmono-compilerservices-symbolwriter4.0-cil libmono-corlib4.5-cil libmono-cscompmgd0.0-cil libmono-csharp4.0c-cil libmono-custommarshalers4.0-cil libmono-data-tds4.0-cil libmono-db2-1.0-cil
libmono-debugger-soft4.0a-cil libmono-http4.0-cil libmono-i18n-cjk4.0-cil libmono-i18n-mideast4.0-cil libmono-i18n-other4.0-cil libmono-i18n-rare4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-all libmono-i18n4.0-cil
libmono-ldap4.0-cil libmono-management4.0-cil libmono-messaging-rabbitmq4.0-cil libmono-messaging4.0-cil libmono-microsoft-build-engine4.0-cil libmono-microsoft-build-framework4.0-cil libmono-microsoft-build-tasks-v4.0-4.0-cil
libmono-microsoft-build-utilities-v4.0-4.0-cil libmono-microsoft-build4.0-cil libmono-microsoft-csharp4.0-cil libmono-microsoft-visualc10.0-cil libmono-microsoft-web-infrastructure1.0-cil libmono-oracle4.0-cil libmono-parallel4.0-cil
libmono-peapi4.0a-cil libmono-posix4.0-cil libmono-rabbitmq4.0-cil libmono-relaxng4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-simd4.0-cil libmono-smdiagnostics0.0-cil libmono-sqlite4.0-cil
libmono-system-componentmodel-composition4.0-cil libmono-system-componentmodel-dataannotations4.0-cil libmono-system-configuration-install4.0-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil
libmono-system-data-datasetextensions4.0-cil libmono-system-data-entity4.0-cil libmono-system-data-linq4.0-cil libmono-system-data-services-client4.0-cil libmono-system-data-services4.0-cil libmono-system-data4.0-cil
libmono-system-design4.0-cil libmono-system-drawing-design4.0-cil libmono-system-drawing4.0-cil libmono-system-dynamic4.0-cil libmono-system-enterpriseservices4.0-cil libmono-system-identitymodel-selectors4.0-cil
libmono-system-identitymodel4.0-cil libmono-system-io-compression-filesystem4.0-cil libmono-system-io-compression4.0-cil libmono-system-json-microsoft4.0-cil libmono-system-json4.0-cil libmono-system-ldap-protocols4.0-cil
libmono-system-ldap4.0-cil libmono-system-management4.0-cil libmono-system-messaging4.0-cil libmono-system-net-http-formatting4.0-cil libmono-system-net-http-webrequest4.0-cil libmono-system-net-http4.0-cil libmono-system-net4.0-cil
libmono-system-numerics4.0-cil libmono-system-reactive-core2.2-cil libmono-system-reactive-debugger2.2-cil libmono-system-reactive-experimental2.2-cil libmono-system-reactive-interfaces2.2-cil libmono-system-reactive-linq2.2-cil
libmono-system-reactive-observable-aliases0.0-cil libmono-system-reactive-platformservices2.2-cil libmono-system-reactive-providers2.2-cil libmono-system-reactive-runtime-remoting2.2-cil libmono-system-reactive-windows-forms2.2-cil
libmono-system-reactive-windows-threading2.2-cil libmono-system-runtime-caching4.0-cil libmono-system-runtime-durableinstancing4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil
libmono-system-runtime-serialization4.0-cil libmono-system-runtime4.0-cil libmono-system-security4.0-cil libmono-system-servicemodel-activation4.0-cil libmono-system-servicemodel-discovery4.0-cil
libmono-system-servicemodel-internals0.0-cil libmono-system-servicemodel-routing4.0-cil libmono-system-servicemodel-web4.0-cil libmono-system-servicemodel4.0a-cil libmono-system-serviceprocess4.0-cil
libmono-system-threading-tasks-dataflow4.0-cil libmono-system-transactions4.0-cil libmono-system-web-abstractions4.0-cil libmono-system-web-applicationservices4.0-cil libmono-system-web-dynamicdata4.0-cil
libmono-system-web-extensions-design4.0-cil libmono-system-web-extensions4.0-cil libmono-system-web-http-selfhost4.0-cil libmono-system-web-http-webhost4.0-cil libmono-system-web-http4.0-cil libmono-system-web-mvc3.0-cil
libmono-system-web-razor2.0-cil libmono-system-web-routing4.0-cil libmono-system-web-services4.0-cil libmono-system-web-webpages-deployment2.0-cil libmono-system-web-webpages-razor2.0-cil libmono-system-web-webpages2.0-cil
libmono-system-web4.0-cil libmono-system-windows-forms-datavisualization4.0a-cil libmono-system-windows-forms4.0-cil libmono-system-windows4.0-cil libmono-system-xaml4.0-cil libmono-system-xml-linq4.0-cil
libmono-system-xml-serialization4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-tasklets4.0-cil libmono-webbrowser4.0-cil libmono-webmatrix-data4.0-cil libmono-windowsbase4.0-cil libmono-xbuild-tasks4.0-cil
libmonoboehm-2.0-1 libmonoboehm-2.0-dev libwayland-egl1-mesa linux-generic linux-headers-generic linux-image-generic mono-4.0-gac mono-devel mono-gac mono-mcs mono-runtime mono-runtime-common mono-runtime-sgen mono-xbuild
monodoc-base open-vm-tools vim vim-common vim-runtime vim-tiny
0 upgraded, 0 newly installed, 0 to remove and 159 not upgraded.

Detailed questions about apt-get would be best handled by other people such as Internet experts, e.g.:

“The following packages have been kept back:” Why and how do I solve it?

apt says packages have been kept back, what to do?

I’m not sure if it’s possible to get a more useful message, but perhaps the dependencies have changed. There was one comment there that said to install (not upgrade) the package, but why not install directly from mono-project as the Duplicati Prerequisites suggest? I’m not even sure your old Ubuntu can offer anything newer than 4.2.1.102+dfsg2-7ubuntu4 as shown above, so I’m not sure why it’s even trying…

Ok, I updated mono to version 6.4.0.198. I can see that duplicati is working now but I can’t access the management webpanel

How are you trying that, and what happens?

OK. The management panel is now working. I will let you know if my tasks are working properly

Duplicati - 2.0.4.31. After updates, the following errors appear in my tasks:

  • Error while running SQL_diff
    One or more errors occurred. (The channel “BackendRequests” is retired (The channel “BackendRequests” is retired) (One or more errors occurred. (Connection reset by peer)))
  • Error while running Web_share
    One or more errors occurred. (Unable to write data to the transport connection: The socket has been shut down. (Unable to write data to the transport connection: The socket has been shut down.) (One or more errors occurred. (Unable to write data to the transport connection: The socket has been shut down.)))
  • Error while running tools_data
    One or more errors occurred. (Unable to write data to the transport connection: Connection reset by peer. (Unable to write data to the transport connection: Connection reset by peer.) (One or more errors occurred. (Unable to write data to the transport connection: Connection reset by peer.)))

These look like problems getting to a remote destination. What storage type is on “Destination” screen? What happens if you press “Test connection” button on it? You can possibly get some further details by About --> Show log --> Live --> Retry in a different tab, or About --> Show log --> Stored. Sometimes an error line can be expanded by clicking on it. If these can’t reveal the details, there are other ways to try.

OK, now i have 2.0.4.34 version. Sometimes testing the connection to S3 goes perfectly and the tasks are carried out correctly. After a few days the problem appears again. S3 Permisions are still the same, nothing is changed.

If this means you still have the errors shown earlier, then it still looks like you have a network issue.

and the other two specifically say “Unable to write data to the transport connection”. I can’t see the timing relationship from the post, but you can see if you get transport errors before “retired” errors.

Have you tried standard network diagnostics, such as restarting all your equipment, including your computer, routers, and modems, testing upload and download speed/reliability with something else, running an Internet speed test, running a ping test to some locations, getting ISP help, and so on?

If you can do network analysis, you probably have (or could install) diagnostic tools like tcpdump or Wireshark. Duplicati has little control of low-level TCP protocol. It’s Amazon code and your Ubuntu.

Raising –number-of-retries can sometimes go through bad networks, but sometimes it’s impossible.

Live log at About --> Show log --> Retry can show whether you’re actually getting retries on upload.