Hi guys,
Duplicati runs fine out-of-the-box on my laptop, so I thought let’s try this on my (headless)Linux server.
I followed the instructions on GitHub - except that I used the duplicati_2.0.2.1-1_all.deb file as basis.
The Server runs Ubuntu 16.04.3LTS, Duplicati (and an Owncloud) runs in an lxc container.
And, sure enough, the installations completes successfully, all dependecies are resolved.
All files are complete, I only have to add the “DAEMON_OPTS=”–webservice-port=8200 --webservice-interface=any"" Option
When I try to start the service, however, all I get is this:
ubuntu@encrypted-system:/etc/default$ sudo systemctl status duplicati
duplicati.service - Duplicati web-server
Loaded: loaded (/lib/systemd/system/duplicati.service; enabled; vendor preset: enabled)
Active: inactive (dead) since So 2018-01-21 16:45:52 UTC; 1s ago
Process: 1123 ExecStart=/usr/bin/duplicati-server $DAEMON_OPTS (code=exited, status=0/SUCCESS)
Main PID: 1123 (code=exited, status=0/SUCCESS)
Jan 21 16:45:50 encrypted-system systemd[1]: Started Duplicati web-server.
Jan 21 16:45:51 encrypted-system duplicati-server[1123]: Ein schwerwiegender Fehler trat in Duplicati auf: System.Exception: Öffnen von Socket nicht möglich, versuchte Ports: 8200
Jan 21 16:45:51 encrypted-system duplicati-server[1123]: at Duplicati.Server.WebServer.Server..ctor (IDictionary`2 options) <0x415c44c0 + 0x00be3> in <filename unknown>:0
Jan 21 16:45:51 encrypted-system duplicati-server[1123]: at Duplicati.Server.Program.RealMain (System.String[] args) <0x4156e790 + 0x018d7> in <filename unknown>:100:
In a nutshell: It can’t open port 8200.
When I enter “duplicati” at the prompt, I get this:
sudo duplicati
Server gestartet und hört auf 127.0.0.1, Port 8300
[Server started and listening on 127.0.0.1, Port 8300]
I am a bit confused where Port 8300 comes from and why Port 8200 can’t be opened.
What am I missing here?
Alex