I’m having a hard time trying to setup Duplicacy to run in a cloud VM using keyring
for passwords…
I already read some posts regarding this subject, like this, this and this.
It’s a Digital Ocean droplet, running Debian 10 x64 (already tried Ubuntu also).
I can run commands without problems as long as I save the passwords in the preferences
file. But, for security reasons, I prefer to use keyring
.
set
command returns:
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
And whem I try sudo --preserve-env duplicacy -d list
I get:
Failed to get the value from the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: read unix @->/run/user/1000/bus: EOF
for each of the “application” variables (I’m using B2) and for the storage password, and at the end I get:
Failed to store the value to the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: read unix @->/run/user/1000/bus: EOF
If I run unset DBUS_SESSION_BUS_ADDRESS
and run the Duplicacy command again I get:
Failed to get the value from the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: DBUS_SESSION_BUS_ADDRESS not set
and at the end:
Failed to store the value to the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: DBUS_SESSION_BUS_ADDRESS not set
I’ve searched dozens of forums looking for a solution.
Any idea?