I was having difficulty with the latest canary build, 18.104.22.168 where it would hang forever on the initial file scan. Reading through the forums it seems there is an issue with 22.214.171.124 where database access could take a very long time, with the advice to downgrade. I followed the instructions here to downgrade.
In my case, the previous version is 126.96.36.199, so I deleted the folder at /usr/share/Duplicati/updates/188.8.131.52, and changed the “current” file to indicate 184.108.40.206.
Starting the service back up, Duplicati exits immediately. If I try
systemctl status duplicati, it indicates:
A serious error occurred in Duplicati: System.Exception: Failed to create, open or upgrade the database. Error message: The database has version 5 but the largest supported version is 4. This is likely caused by upgrading to a newer version and then downgrading. If this is the case, there is likely a backup file of the previous database version in the folder /root/.config/Duplicati at Duplicati.Server.Program.GetDatabaseConnection (System.Collections.Generic.Dictionary`2[TKey,TValue] commandline at Duplicati.Server.Program.RealMain (System.String args) [0x001cc] in <66004e16a6074efdaebb0aaaf058863a>:0 duplicati.service: Main process exited, code=exited, status=100/n/a Unit entered failed state. Failed with result 'exit-code'.
Any idea how to proceed?