Can't import old configuration in latest Canary (2.0.9.100_canary_2024-05-30)

Hi,

I have resinstalled my server this weekend and upgraded it to Ubuntu 24.04. I then tried to install Duplicati but encounter issues with dependency from libappindicator and mono.

I then found an existing issue (Ubuntu 24.04 Issues) saying that I could try to install the Canary version which is now using DotNet 8 and doesn’t rely on those dependency.

So far, new backups seems to work, but when I try to import my existing configuration file, I remain stuck at “importing…” and nothing happens. I tried to import those file on my desktop computer (which is using 2.0.8.1_beta_2024-05-07) and the import went fine.

I checked in the About\Log page to see if there was any error but nothing was shown :frowning:

Any help would be appreciated, there was a lot of filters and whatnot in those existing configuration file, I would really like not to start from brand new :slight_smile:

Welcome to the forum @ppruneau

Canary sometimes change fast. That’s not the latest one now, and you can do better in general.

Duplicati Downloads page

Other versions
Older or testing
is where to go, and Releases in forum is where to see announcements and info.

C:\Duplicati\duplicati-2.0.9.108_canary_2024-10-03-win-x64-gui>Duplicati.CommandLine.ServerUtil --help
Description:
  Server CLI tool for Duplicati

Usage:
  Duplicati.CommandLine.ServerUtil [command] [options]

Options:
  --password <password>                    The password to use for connecting to the server []
  --hosturl <hosturl>                      The host URL to use [default: http://localhost:8200/]
  --server-datafolder <server-datafolder>  The server datafolder to use for locating the database []
  --settings-file <settings-file>          The settings file to use []
  --insecure                               Accepts any TLS/SSL certificate (dangerous) [default: False]
  --version                                Show version information
  -?, -h, --help                           Show help and usage information

Commands:
  pause <duration>                Pauses the server []
  resume                          Resumes the server
  list-backups                    List all backups
  run <backup>                    Runs a backup
  login                           Logs in to the server
  change-password <new-password>  Changes the server password
  logout                          Logs out of the server
  import <file> <passphrase>      Import a backup configuration
  export <backups>                Export a backup configuration
  health                          Checks the server health endpoint

possibly this method of import will work better. Tool usage is not very well documented yet IMO.
One main factor may be how you start Duplicati (e.g. systemctl as root, or another way as you).
Regardless, server datafolder is usually at ~/.config/Duplicati where ~ is for Duplicati user.

This issue has come up before, but users seemed to lose interest before developers could look.

Does this old issue look like yours? I don’t know if it’s timing dependent, or just what causes it…