Hi,
I was running successfully v2.0.8.1 on Raspberry Pi 4 (which is headless) and tried to update to 2.1.0.2.
I downloaded duplicati-2.1.0.2_beta_2024-11-29-linux-arm64-gui.deb. I think this was the right choice, because I want to configure the backups remote via the web front-end.
But when I start duplicati I get the following: Server has started and is listening on port 8300 Unexpected error: System.Exception: XOpenDisplay failed
The former version was listening on 8200. Has this been changed?
And what can I do with the XOpenDisplay error? Do I have the wrong package?
How exactly do you start it? If you type duplicati at a shell, you get the TrayIcon version.
Server port describes how it may get to port 8300, because 8200 was busy at some point.
The described “next run” memory is the only new part. The port search is an old behavior.
--webservice-port The port the webserver listens on. Multiple values may be supplied with a comma in between.
can be used if you dislike the current port, but don’t try to force it to an in-use port, e.g. if a systemctl status duplicati shows the server running already, it probably got port 8200.
You can run something like sudo lsof -i :8200 to see what’s on the port now, if anything.
Wrong for what sort of graphics? TrayIcon will try to display to an X server (maybe remote).
If you don’t want a TrayIcon, you can either run on the systemd duplicati-server or another.
This will work with Server and TrayIcon because it’s HTTP. Or you can do remote graphics.
EDIT:
Package options describes the types. CLI should be enough for users not wanting graphics.
But I don’t know your want.
The CLI package has very few dependencies, as everything is bundled with the package. It is essentially the same as the GUI package, but without the TrayIcon executable.
I could fix it. I removed the existing package, installed the GUI package again and called it with --webservice-interface=any --webservice-allowed-hostnames=*
It now starts as a service and I get the gui via http://raspi:8200
My mistake was to start duplicati direct from the command line without any paremeters.
Thank you.
For that use, see my (unfortunately) simultaneous edit above if you want to save storage space.
Duplicati difference isn’t that much, but GUI package may drag in some graphics dependencies.
Leaving things as-is is fine too, if that’s not an issue. I think some people use tiny VPS systems.