I decided to try duplicati for managing my backup. As I didn’t found a special package for my openSUSE Leap 42.2 I tried the Fedora / ResdHat rpm because opensuse is also rpm based.
During Installation via opensuses system management tool “YaST” the following dependency issue comes up:
when I start duplicati from the command line I get the following response: Server gestartet und hört auf 127.0.0.1, Port 8200 Request error: Unexpected error: System.TypeLoadException: Could not load type 'Duplicati.GUI.TrayIcon.GtkRunner' from assembly 'Duplicati.GUI.TrayIcon, Version=2.0.2.1, Culture=neutral, PublicKeyToken=null'. at Duplicati.GUI.TrayIcon.Program.RunTrayIcon (System.String toolkit) [0x00027] in <d07129d6974642b0bbdaa3ccc42fe89d>:0 at Duplicati.GUI.TrayIcon.Program.RealMain (System.String[] _args) [0x0040e] in <d07129d6974642b0bbdaa3ccc42fe89d>:0
I tried to connect to http://127.0.0.1:8200 with firefox but it cannot connect.
Is there a “known best way” for using duplicati with opensuse?
I don’t know about a best way to install on OpenSuse, but I can confirm Duplicati does need libappindicator to drive the Tray Icon. And for some distros you might need to also install EPEL (yum -y install epel-release) before you can get to libappindicator.
There is no package matching a search for epel in opensuse. But I think this is not the issue because I was able to install both available libappindicator packages.
In the meantime I figured out, that if I run duplicati-server instead of duplicati then I can open the duplicati page on http://localhost:8200.
That makes sense as duplicati-server doesn’t need libappindicator, only the tray icon does (to actually display the icon).
I’m glad you got the server working! Though I’m not sure why the tray icon is still not working even after you were able to install the libappindicator packages…
Thanks for the additional information - unfortunately you’ve reached the limit of my libappindicator knowledge.
It’s good to hear you’ve got test cases working! Hopefully somebody else who’s run into this will be able to comment on whether or not they got the tray icon working.
But another question: Shouldn’t be a systemd service file installed so the server can be started at system startup?
I found a duplicati.service file in the github sources duplicati/Installer/fedora/duplicati.service
but not in the rpm package duplicati-2.0.2.1-2.0.2.1_beta_20170801.noarch.rpm.
Ah, I understand - for now the service file has to be created manually. Thanks for pointing me to the CentOS post.
Unfortunately I also have rpm skills close to zero, so I cannot help
The library that is needed for the tray-icon is called libappindicator-gtksharp and is the C# + GTK bindings to libappindicator.so I assume this is what is missing, but I do not know what that package is called in the SUSE package system.
I have these two installed on TW and ignored the dependency warning. Works just fine:
i+ | libindicator3-7 | Panel indicator applet - Shared Libraries | package
package
i+ | libindicator7 | Panel indicator applet – Shared Libraries | package
Hi everyone. I switched to Opensuse Tumbleweed recently. I’ve been using Duplicati in Windows for quite some time so I would like to keep doing so with Linux. Unfortunately I can’t get it to run in Opensuse TW. I’ve followed the advice here but the package duplicati-server won’t start. Libappindicator is installed and so is the Duplicati package after ignoring the message that libappindicator is missing. Starting duplicati-server from terminal produces this error:
Unhandled Exception:
System.TypeInitializationException: The type initializer for ‘System.Console’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘System.ConsoleDriver’ threw an exception. —> System.Exception: Magic number is wrong: 542
And lots more text after that. Please help. Has anything changed in the past few months that has broken the fix described here?
It’s quite an old thread and frankly, currently given solution in this thread is nothing else but fabrication. I’ve to note as a matter of safety, no one should propose such a thing as solution, mixing and build packages from different distributions into unwary users’ OS
Is it planned to make Duplicati 2.0 for openSUSE, I mean ever?
Thanks