LMDE 6 Cinnamon: missing / crashing tray icon

I’m on Linux Mint Debian Edition (LMDE) 6 “Faye”.

Duplicati works from http://localhost:8200/ngax/index.html#/ and I can successfully backup and restore. However, there is no tray icon at login.

I can get the icon by starting duplicati from terminal or gui (just having to stop the service first to avoid the icon launching a second instance at http://localhost:8300/ngax/index.html#/). When the icon is present, right-clicking will instantly crash duplicati (no error message or terminal output).

When installing I deviated slightly from the install instructions at Installation - Duplicati 2 User's Manual. Instead of following the steps given for Debian 10 I downloaded from Download Duplicati application and then ran sudo gdebi duplicati_2.0.8.1-1_all.deb, meaning I’m likely on a newer version of mono.

sudo nano /etc/systemd/system/duplicati.service and sudo nano /etc/default/duplicati I did as per instructions.

Searching the forums I found several similar topics, but none of them describes exactly my problem:

  1. tray-icon-and-automatic-backups-not-happening-after-restart/
  2. duplicati-tray-icon-when-running-as-linux-service
  3. tray-icon-wont-load-when-i-run-duplicati-as-a-systemd-service
  4. how-to-get-debian-duplicati-tray-icon
  5. debian-trixie-dependency-problems

I tried disabling the systemctl service. While duplicati still crashes on right-click, the new instance opens without access to my backups, even though the web adress is the same (http://localhost:8200/ngax/index.html#/). I guess that might mean the installation runs as root, while I would want it to run per user. This might call for a separate topic, though.

Help needed to continue!

(Edited to fix typo)

The linux install that you followed is intended for a headless server, without GUI. To have the tray icon connect with the service, you need to add --no-hosted-server when starting it. I don’t know where you put programs to start at user login, but there is probably a way to start it automatically.

Regarding the crash on right click, I don’t know what is causing this. I am also getting crashes on right click most of the time, but not always. It is just the tray icon that stops working, the web interface is still okay (with the separate service). I also tried with the most recent mono version (that you would install if following the instructions, 6.12 instead of 6.8), but there is no difference.

If you want it per user, you should disable the service completely and just run the normal duplicati executable on login. However, then you only have access to the user files to backup.