Installing Duplicati on openSUSE Leap and Tumbleweed

I have been thinking to switch to openSUSE Tumbleweed and some of my servers to Leap 15.2. I was playing around with Duplicati and thinking I am going to change the way I do the backup. I usually mount an NFS export from my NAS to the workstation as my Duplicati target. This time I want to change this method to utilize SFTP. This is going to another post. Anyway this post is basically how I got Duplicati to work in openSUSE both Tumbleweed and Leap.

Download Duplicati here

Figure 1

In Tumbleweed it is pretty easy basically just download the Fedora/Red Hat rpm installer as shown in Figure 1 and use zypper to install it.

wget https://updates.duplicati.com/beta/duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch.rpm
zypper install duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch.rpm

I want my Duplicati to start at boot so I would simply do exactly the content of this post Duplicati in Fedora.

In Leap, however, is not as easy as Tumbleweed. In Leap, there is a missing dependency called libappindicator. If I understand this correctly, this libappindicator supposed to be the Duplicati icon/option showing in the tray bar. I can’t remember exactly if there is an option in the settings to start this at boot.

When you install Duplicati in Leap, it will prompt you about the issue and will ask you what to do. Do the following:

  1. Select Solution 2
  2. Continue the installation by selecting the default option of y
  3. Select ignore
leap:~ # zypper install duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch.rpm 
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libappindicator needed by duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch
 Solution 1: do not install duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch
 Solution 2: break duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...

The following NEW package is going to be installed:
  duplicati

1 new package to install.
Overall download size: 9.7 MiB. Already cached: 0 B. After the operation, additional 31.7 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): 
Retrieving package duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch                                                                                                                                        (1/1),   9.7 MiB ( 31.7 MiB unpacked)
duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch.rpm:
    Package is not signed!

duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a): i

Checking for file conflicts: ...........................................................................................................................................................................................................[done]
(1/1) Installing: duplicati-2.0.5.1-2.0.5.1_beta_20200118.noarch .......................................................................................................................................................................[done]
Executing %posttrans scripts ...........................................................................................................................................................................................................[done]

Once done, Duplicati will not work. We need to add the same systemd config from Duplicati in Fedora post.

cat > /etc/systemd/system/duplicati.service << EOF
[Unit]
Description=Duplicati Backup software

[Service]
ExecStart=/usr/bin/mono /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=any
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target
EOF

The enable and start the Duplicati service.

systemctl enable --now duplicati.service

Once the Duplicati service has been enabled and started, this will run in the background and there is no need to open Duplicati from the app drawer or start menu. To access the web UI, just enter http://localhost:8200 on your web browser to configure Duplicati.

That is it, Cheers!

Subscribe
Notify of
guest

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Harrie Baken
1 year ago

Hello Karlo,
Found your post while struggling with Duplicati (and libappindicator) on openSUSE Leap. Thanks for your advice & tips – perfect!
Harrie

1
0
Would love your thoughts, please comment.x
()
x