Yeah, now I finally had time to dig in, when configuring new systems and figure out what the problem is… These things require some effort (yeah, I’m sure you guys know, but now everyone maybe), so it’s not always trivial to figuring out what’s causing a problem after update.
It’s clearly related to some security feature which requries the data channels to reuse the same TLS session as the main control connection. After having several painful testing sessions and testing different combinations, I finally figured it out. It does work with FTP and AFTP both, but requires addional setting: --ftp-ssl-protocols=tls12
or --aftp-ssl-protocols=tls12
. That seems to enable the TLS session resumption for the (A)FTPS. Phew…
In case anyone else is having the same issue, this is the reason, why FTPS fails to connect with latest versions of Filezilla.
And for sure, this also works with the latest 115 version, so no worries.
Afaik, it only occurs with FTPS. Yet, even if the connectivity is now working with the stuff mentioned above. Some instances still seem to generate this. The backup gets updated as expected, but at the verification step it seems to fail with SQLite error.
Backup started at 4/15/2025 2:28:01 PM
Checking remote backup ...
Listing remote folder ...
Scanning source files ...
0 files need to be examined (0 bytes)
***redacted***
Uploading file duplicati-b6865d0728a1847d7b799a5f37dc4187e.dblock.zip.aes (3.90 MiB) ...
0 files need to be examined (0 bytes)
Uploading file duplicati-i64a6bea7857644e68e270ebb62de5802.dindex.zip.aes (231.76 KiB) ...
Uploading file duplicati-20250415T112807Z.dlist.zip.aes (581.17 KiB) ...
Checking remote backup ...
Listing remote folder ...
Verifying remote backup ...
Remote backup verification completed
Downloading file duplicati-20250415T112807Z.dlist.zip.aes (581.17 KiB) ...
Downloading file duplicati-i58baab21fdb34e32993c9f9fee32d1be.dindex.zip.aes (169.70 KiB) ...
Downloading file duplicati-bb5049c2d3c7d4520abc7a5d1703f4f6e.dblock.zip.aes (31.99 MiB) ...
Fatal error => unknown error
No transaction is active on this connection
Operation: get File: duplicati-20250415T112807Z.dlist.zip.aes Result: {"Size":595117,"Hash":"2Yj6BDSiJtnZrGC0JZQjzFtAuqBpKlBrWHoLK6cL4MY="}
Operation: get File: duplicati-i58baab21fdb34e32993c9f9fee32d1be.dindex.zip.aes Result: {"Size":173773,"Hash":"b2A8pDqgZAx70UwQFYlmo\u002B9qIuJthInY86VwMItdv3M="}
Operation: get File: duplicati-bb5049c2d3c7d4520abc7a5d1703f4f6e.dblock.zip.aes Result: {"Size":33541245,"Hash":"dVtVd4GoeQZK6DEQ870lM9OsXfY6\u002BMQ9UTPvHKLSeaI="}
The operation Backup has failed with error: unknown error
No transaction is active on this connection => unknown error
No transaction is active on this connection
2025-04-15 14:28:47,434: Duplicati error output:
code = Unknown (-1), message = System.Data.SQLite.SQLiteException (0x80004005): unknown error
No transaction is active on this connection
at System.Data.SQLite.SQLiteTransactionBase.IsValid(Boolean throwError)
at System.Data.SQLite.SQLiteTransaction.Commit()
at Duplicati.Library.Main.Database.ReusableTransaction.Commit(String message, Boolean restart)
at Duplicati.Library.Main.Operation.BackupHandler.RunAsync(String[] sources, IBackendManager backendManager, IFilter filter)
at Duplicati.Library.Main.Controller.<>c__DisplayClass22_0.<<Backup>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Duplicati.Library.Utility.Utility.Await(Task task)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Func`3 method)
at Duplicati.Library.Main.Controller.Backup(String[] inputsources, IFilter filter)
at Duplicati.CommandLine.Commands.Backup(TextWriter outwriter, Action`1 setup, List`1 args, Dictionary`2 options, IFilter filter)
at Duplicati.CommandLine.Program.ParseCommandLine(TextWriter outwriter, Action`1 setup, Boolean& verboseErrors, String[] args)
at Duplicati.CommandLine.Program.RunCommandLine(TextWriter outwriter, TextWriter errwriter, Action`1 setup, String[] args)