I’m running “2.0.6.3_beta_2021-06-17” as a service on “Linux 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux” (Linux Mint).
The service always fails. I can do
This means somehow “fatal: impossible to open socket”:
Mai 23 14:31:18 <hostname> duplicati-server[7041]: Ein schwerwiegender Fehler trat in Duplicati auf: System.Exception: Öffnen von Socket nicht möglich, geprüfte Ports: 8200
Mai 23 14:31:18 <hostname> duplicati-server[7041]: at Duplicati.Server.WebServer.Server..ctor (System.Collections.Generic.IDictionary`2[TKey,TValue] options) [0x00307] in <156011ea63b34859b4073abdbf0b1573>:0
Mai 23 14:31:18 <hostname> duplicati-server[7041]: at Duplicati.Server.Program.StartWebServer (System.Collections.Generic.Dictionary`2[TKey,TValue] commandlineOptions) [0x00000] in <156011ea63b34859b4073abdbf0b1573>:0
Mai 23 14:31:18 <hostname> duplicati-server[7041]: at Duplicati.Server.Program.RealMain (System.String[] _args) [0x00227] in <156011ea63b34859b4073abdbf0b1573>:0
Mai 23 14:31:19 <hostname> systemd[1]: duplicati.service: Main process exited, code=exited, status=100/n/a
Mai 23 14:31:19 <hostname> systemd[1]: duplicati.service: Failed with result 'exit-code'.
Mai 23 14:31:19 <hostname> systemd[1]: duplicati.service: Scheduled restart job, restart counter is at 5.
Mai 23 14:31:19 <hostname> systemd[1]: Stopped Duplicati web-server.
Mai 23 14:31:19 <hostname> systemd[1]: duplicati.service: Start request repeated too quickly.
Mai 23 14:31:19 <hostname> systemd[1]: duplicati.service: Failed with result 'exit-code'.
Mai 23 14:31:19 <hostname> systemd[1]: Failed to start Duplicati web-server.
you are running an incompatible service that is using the port 8200.
As it don’t seem to be possible to setup it to use another port, you will have to setup Duplicati to use an available port. see Installation - Duplicati 2 User's Manual on editing /etc/default/duplicati to change the port.