Release: 2.0.4.26 (canary) 2019-09-02

2.0.4.26-2.0.4.26_canary_2019-09-02

== This is a rebuild of 2.0.4.24 with MSI packages and new assembly redirect fixes ==

Change list from 2.0.4.24:

  • Code cleanup, thanks @warwickmm
  • Removed extra console output, thanks @wjansenw
  • Fixed disposing backends after job completion, thanks @warwickmm
  • Fixed an issue with throttled write, thanks @warwickmm
  • Spelling fix, thanks @BlueBlock
  • Fixed documetation in run-script examples, thanks @beppo-dd
  • Improved unittests, thanks @BlueBlock
  • Improved auto-compact and auto-vacuum, thanks @drwtsn32x
  • Fixed problem with exceeeding the number of parameters supported by SQLite, thanks @drwtsn32x
  • Improved status display, thanks @drwtsn32x
  • Improved bugreport database scrubbing, thanks @drwtsn32x
  • Removed GoogleDrive trash items in listing, thanks @BlueBlock
  • Fixed the rename method in the GoogleDrive backend, thanks @BlueBlock
  • Improved GCS storage class text, thanks @warwickmm
  • Improved unittests for easier local testing, thanks @warwickmm
  • Added workaround for AFTP upload delay, thanks @BlueBlock
  • Fixed issue with reading the largest path prefix, thanks @BlueBlock
  • Added conditional download of unittest data zip files, thanks @BlueBlock
  • CI testing improvements, thanks @BlueBlock
  • Fixed sporadic issue with backups of files being written, thanks @BlueBlock
  • Updated to .Net Framework 4.6.2
  • Fixed issue with temporary files not being deleted as expected, thanks @BlueBlock
  • Support for forcing calendar dates in time pickers, thanks @LacunaSoftware
2 Likes

The installer looks good.

1 Like

Sorry have to report this version is not working either (x64 MSI).

When I start the service it fails with two errors:

Log Name:      Application
Source:        .NET Runtime
Date:          03/09/2019 08:01:21
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      
Description:
Application: Duplicati.Server.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at Duplicati.Library.UsageReporter.Reporter.ShutDown()
   at Duplicati.Server.Program.RealMain(System.String[])
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod(System.Reflection.MethodInfo, System.String[])
   at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass58_1.<RunFromMostRecentSpawn>b__0()
   at Duplicati.Library.AutoUpdater.UpdaterManager.WrapWithUpdater(Duplicati.Library.AutoUpdater.AutoUpdateStrategy, System.Action)
   at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn(System.Reflection.MethodInfo, System.String[], Duplicati.Library.AutoUpdater.AutoUpdateStrategy)
   at Duplicati.Server.Program.Main(System.String[])

Then

Log Name:      Application
Source:        Application Error
Date:          03/09/2019 08:01:21
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      LISA.star-one.co.uk
Description:
Faulting application name: Duplicati.Server.exe, version: 2.0.4.26, time stamp: 0x5d6d7b78
Faulting module name: KERNELBASE.dll, version: 10.0.17763.652, time stamp: 0x598c4711
Exception code: 0xe0434352
Fault offset: 0x0000000000039129
Faulting process id: 0x1d6c
Faulting application start time: 0x01d5621d024e6292
Faulting application path: C:\Program Files\Duplicati 2\Duplicati.Server.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 6fde60b7-210a-45b1-a4f4-394d049083ea
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-09-03T06:01:21.426619700Z" />
    <EventRecordID>22099</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>Duplicati.Server.exe</Data>
    <Data>2.0.4.26</Data>
    <Data>5d6d7b78</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>10.0.17763.652</Data>
    <Data>598c4711</Data>
    <Data>e0434352</Data>
    <Data>0000000000039129</Data>
    <Data>1d6c</Data>
    <Data>01d5621d024e6292</Data>
    <Data>C:\Program Files\Duplicati 2\Duplicati.Server.exe</Data>
    <Data>C:\Windows\System32\KERNELBASE.dll</Data>
    <Data>6fde60b7-210a-45b1-a4f4-394d049083ea</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

When I try to run it from the command-line like with .24/.25 to see if there is anything else I get this popping up:

Annotation%202019-09-03%20075959

Have gone back to .22

1 Like

Anyone else seeing this issue?

What is your OS version?

Can you check if .NET 4.6.2 is installed?

Using PowerShell:

Get-ChildItem "hklm:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\" | Get-ItemPropertyValue -Name Release | ForEach-Object {
switch ($_ -ge 394802) {
    $true  { Write-Host "Confirmed that .Net 4.6.2 is installed!" }
    $false { Write-Host ".Net 4.6.2 is NOT installed!"}
}

}

It has .NET v4.8, it’s Server 2019 - the value returned is “528049”

IIRC, @Taomyn is using the MSI to install, and that checks for .Net 4.6.2 ot later.

I tested a clean install of the .26 canary and an install of the .26 canary on top of the .23 beta. I wasn’t able to reproduce this on a new install of 2019.

Could you install .26 again and capture the install log?

msiexec /i duplicati-2.0.4.26_canary_2019-09-02-x64.msi /l*v installer.log

Sure, I can do that tonight, also note that this is a Server 2019 “Core” server as are nearly all my servers except one, but I will also test the same update on my Win10 PC when I get home as well.

Thanks. And I’ll try to replicate it on a core install.

Oh I also have the “Server Core App Compatibility Feature on Demand” installed on the machines as well - it only gives a few extra things, but they are useful.

A clean 2019 server core install + FOD and Duplicati looks to install and run clean.

Perhaps try the ZIP version and see it you get the same error.

I downloaded the 2.0.4.26 x64 MSI and got the error when doing an in-place upgrade over 2.0.4.22. (Install seemed to work but Duplicati would not start.)

Log Name:      Application
Source:        .NET Runtime
Date:          9/2/2019 7:14:04 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      XPS-8900
Description:
Application: Duplicati.GUI.TrayIcon.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at Duplicati.GUI.TrayIcon.HostedInstanceKeeper..ctor(System.String[])
   at Duplicati.GUI.TrayIcon.Program.RealMain(System.String[])
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod(System.Reflection.MethodInfo, System.String[])
   at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn(System.Reflection.MethodInfo, System.String[], Duplicati.Library.AutoUpdater.AutoUpdateStrategy)
   at Duplicati.GUI.TrayIcon.Program.Main(System.String[])


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-09-03T02:14:04.709788000Z" />
    <EventRecordID>8094</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XPS-8900</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: Duplicati.GUI.TrayIcon.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at Duplicati.GUI.TrayIcon.HostedInstanceKeeper..ctor(System.String[])
   at Duplicati.GUI.TrayIcon.Program.RealMain(System.String[])
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Duplicati.Library.AutoUpdater.UpdaterManager.RunMethod(System.Reflection.MethodInfo, System.String[])
   at Duplicati.Library.AutoUpdater.UpdaterManager.RunFromMostRecentSpawn(System.Reflection.MethodInfo, System.String[], Duplicati.Library.AutoUpdater.AutoUpdateStrategy)
   at Duplicati.GUI.TrayIcon.Program.Main(System.String[])

</Data>
  </EventData>
</Event>

I uninstalled Duplicati and reinstalled 2.0.4.26 cleanly and then it started ok.

Not exactly.

I can reproduce a “Cannot start service from the command line” if I try Duplicati.WindowsService, but that message sounds self-explanatory. “When I try to run it from the command-line” didn’t say what “it” means.

About events, Event Viewer finds occasional .NET Runtime “unhandled exception”, e.g. even from 2.0.4.5. Latest one is possibly entangled with VSS errors from my forgetting Run as Administrator at 2.0.4.26 start. Another system seems to be running service fine. That was .msi install. First mentioned one was from zip.

Looking for similar issues from yesterday’s not-working-right-for-me rounds on 2.0.4.24 and 2.0.4.25, I find
2.0.4.24 TrayIcon 2019-09-02 07:54:45 and 2019-09-02 08:05:28 starts had no events. CommandLine had:

Application: Duplicati.CommandLine.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException

Exception Info: System.IO.FileLoadException
   at Duplicati.Library.AutoUpdater.UpdaterManager.CheckForUpdate(Duplicati.Library.AutoUpdater.ReleaseType)
   at Duplicati.Library.AutoUpdater.UpdaterManager+<>c__DisplayClass52_0.<WrapWithUpdater>b__0()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

and the same pattern continued with System.IO.FileLoadException into 2.0.4.25 then 2.0.4.26 managed a System.IO.IOException probably due to me using VSS before remembering to do “Run as administrator”.

I’ve had in-place upgrades come up with missing files, with no obvious pattern, so now I say uninstall first. Possibly there’s an installer bug that needs to be tracked down. People expect install-overs to work OK…

Something I will also try tonight is to upgrade to .26 then do a repair on the new install - when I revert back to .22 I have to do this or the service won’t start. If I can figure out the repair command-line I’ll see if it can log that as well.

Great find. I can also reproduce it. I would suspect some extra files are remaining from .22 after .26 installs. The .26 installer might need to remove/cleanup old files.

I compared a clean .26 install to a .22+.26 install.

Extra files were not the problem… the opposite. For some reason the single file CoCoL.dll is being removed when installing .26 over .22

Add the file back and it works correctly. i’ll look over the logs to try and see why it is being removed or not copied. A repair does correct it and will copy the file.

2 Likes

The installer seems to be skipping the copying of CoCol.dll on an upgrade.

I’ll investigate further.

1 Like

2.0.2.9 crashes with System.IO.FileNotFoundException, missing file or assembly “CoCoL” #2788

tl;dr - downgrading DLL files does not work, the file will be removed but not replaced.

might still be applicable. It looks like CoCoL somehow got downgraded by TargetFramework move.

image

image