Hi all,
Today I am updating on my Windows 11 PC my Duplicati 2.1 Version to 2.2.0.1 - 2.2.0.1_stable_2025-11-09 Version.
After the update, I encountered the following problem:
Duplicati is running as a service to access also Files which are in use.
When I start the Tray Icon with: “C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe” it will start es new instance which is listening on Port 8300, which is known.
With the Version 2.1 I start the Tray Icon with following parameters:
“C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe” --no-hosted-server=true --read-config-from-db --server-datafolder=C:\ProgramData\Duplicati
and everything works fine.
With the Version 2.2.0.1_stable_2025-11-09 Version this doent work anymore I got following error:
C:\Program Files\Duplicati 2>Crash!
System.Exception: Fehler beim Erstellen, Öffnen oder Aktualisieren der Datenbank.
Fehlernachricht: Access to the path ‘C:\ProgramData\Duplicati\Duplicati-server.sqlite’ is denied.
When I am looking to the rights to the Duplicati-server.sqlite File I see that only the System and the Administrators have rights to access this File. After giving my User Change Rights to this File the Tray Icon Starts without any Problems, but after a Service restart my added rights to this File are gone and the Problem occurs again.
At the moment is the only way which working Duplicati when its running as a service with the Duplicati.GUI.TrayIcon.exe startet as a User is follwing parameter:
“C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe” --no-hosted-server=true --webservice-password=<2enterhereacleartextPWD:-(>
But entering Passwords in a File which every User can read is a bad way.
Is this a Bug or what I do wrong?
Best Regards
StrawberryBill