Activate downloaded upgrade sometimes fail #3371 is an old known bug that has so far escaped fix.
I got this myself on upgrade to 105 from 103. The symptoms for me are that Duplicati doesn’t restart automatically as it should and requires a manual start. This is a Windows install which has TrayIcon.
The earlier explanations set the context for me to say that this webserver is in the Server, so restarted.
I guess you can check processes. There should be two. Also see where you’re browsing to. Should be port 8200, and you can verify the LISTEN by using netstat or sudo ss -tapn | grep 8200 | grep LISTEN
While writing this, the post above it suggests maybe there’s an issue beyond the usual. If so, thank you for finding it. You can test out systemctl status duplicati, also stop, start, etc. to see if it starts.
Example data from Linux Mint 19.3:
# systemctl status duplicati
● duplicati.service - Duplicati web-server
Loaded: loaded (/lib/systemd/system/duplicati.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2023-04-12 08:44:45 EDT; 6s ago
Main PID: 2573 (mono)
Tasks: 17 (limit: 3494)
├─2573 DuplicatiServer /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=loopback
└─2577 /usr/bin/mono-sgen /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=loopback
# ss -tapn | grep 8200 | grep LISTEN
LISTEN 0 50 127.0.0.1:8200 0.0.0.0:* users:(("mono-sgen",pid=2577,fd=9))
Maybe a newer Ubuntu than mine is based on is key to a different issue? My system is based on 18.04.
The fix listed for the hasher was aimed at a 22.04 problem. If there’s a start issue too, what is its scope?
Before assuming there’s a start problem, please see what results you can find from further investigation.
Yes, that’s what I did right after the UI became unavailable, but it did not bring the UI up again. And now I see from your reply that /duplicati.service - Duplicati web-server/ so I would guess the web-server is restarted in tandem with the app server.
I was not making much progress, so I decided to reboot the server. Once it was done, I could access the webUI and things seem to be back to normal.
Yes the auto update is working fine… with only the caveat that when something is wrong in the downloaded files from the update site for any reason (lack of disk space or antivirus shenanigan), there is not much of a warning and things fail silently.
my problem was transient too once I deleted the failed update and tried again after making enough available free space and waiting dutifully for the antivirus to terminate its operation before clicking too early on the wrong button
gileadis@Daves-iMac Resources % mono Duplicati.GUI.TrayIcon.exe help
Supported commandline arguments:
--toolkit: Choose the toolkit used to generate the TrayIcon, note that it will fail if the selected toolkit is not supported on this machine
Supported toolkits: winforms, gtk, cocoa
gileadis@Daves-iMac Resources % mono Duplicati.GUI.TrayIcon.exe --toolkit=cocoa
2023-04-13 15:43:16.167 mono-sgen64[57918:2060961] Could not find `appindicator-sharp` referenced by assembly `Duplicati.GUI.TrayIcon, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null`.
Unexpected error: System.IO.FileNotFoundException: Could not load the file 'appindicator-sharp'.
File name: 'appindicator-sharp'
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x0007a] in <bab7d1a00376483b944db50cdc31e41d>:0
at (wrapper remoting-invoke-with-check) System.AppDomain.Load(System.Reflection.AssemblyName,System.Security.Policy.Evidence)
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in <bab7d1a00376483b944db50cdc31e41d>:0
at (wrapper remoting-invoke-with-check) System.AppDomain.Load(System.Reflection.AssemblyName)
at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00005] in <bab7d1a00376483b944db50cdc31e41d>:0
at ObjCRuntime.Runtime.CollectReferencedAssemblies (System.Collections.Generic.List`1[T] assemblies, System.Reflection.Assembly assembly) [0x000a0] in <e4522fda950a42e1a61f97b36f071593>:0
at ObjCRuntime.Runtime.RegisterEntryAssembly (System.Reflection.Assembly entry_assembly) [0x0002f] in <e4522fda950a42e1a61f97b36f071593>:0
at ObjCRuntime.Runtime.RegisterAssemblies () [0x00006] in <e4522fda950a42e1a61f97b36f071593>:0
at AppKit.NSApplication.Init () [0x00022] in <e4522fda950a42e1a61f97b36f071593>:0
at Duplicati.GUI.TrayIcon.CocoaRunner.Init (System.String args) [0x00001] in <e98c34ad898147e8a9669bdece28c5ac>:0
at Duplicati.GUI.TrayIcon.Program.StartTray (System.String _args, System.Collections.Generic.Dictionary`2[TKey,TValue] options, System.String toolkit, Duplicati.GUI.TrayIcon.HostedInstanceKeeper hosted, System.String password, System.Boolean saltedpassword) [0x000f9] in <e98c34ad898147e8a9669bdece28c5ac>:0