Failure creating backups with using 2.1.0.2_beta_2024-11-29

after changing to 2.1.0.2, every time I am trying to run the backup process using ftp on a local NAS I get 2 for my cryptic failure notes:
Error 1:
[Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error

AggregateException: One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!)

Error 2
[Error-Duplicati.Library.Main.Controller-FailedOperation]: Die Operation Backup ist mit folgenden Fehler fehlgeschlagen: One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!)) (One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!))))

AggregateException: One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!)) (One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!))))

Any idea, how to solve this issue?

Regards

Encrypted or unencrypted FTP? What FTP server? CLI ftp might show.

Is your Duplicati Destination Storage Type FTP or FTP (Alternative)?
They used to be different code, but 2.1.0.2 has option conversion instead.
Please list any FTP Advanced options on Destination or Options screens.

It is a problem with the FluentFTP library that is being used in v2.1.0.2 and some interaction with Duplicati. The error message appears to happen because “something” will close the connection, and then retry, on the closed connection. Sadly this hides the real error message, and only reveals the retry error: “Please call Connect() …”.

There is a ticket tracking it here:

It has also been reported on Github, but so far I have not managed to reproduce it:

As @ts678 mentions, if you can provide details on your setup so I can reproduce, or find an error message before the “Please call Connect()” message, that would help.

Thanks for the quick answers.
The FTP-Servers is running on an QNAP NAS with Firmware 4.3.3.2784
running as FTP (standard).and Unicode support.
Duplicati ist using FTP (Alternativ) with all options on “default”.

This ist the complete log of the last trial:
{
“DeletedFiles”: 12736,
“DeletedFolders”: 1474,
“ModifiedFiles”: 7,
“ExaminedFiles”: 49223,
“OpenedFiles”: 79,
“AddedFiles”: 72,
“SizeOfModifiedFiles”: 18285306,
“SizeOfAddedFiles”: 63643339,
“SizeOfExaminedFiles”: 58651083535,
“SizeOfOpenedFiles”: 81930069,
“NotProcessedFiles”: 0,
“AddedFolders”: 10,
“TooLargeFiles”: 0,
“FilesWithError”: 0,
“ModifiedFolders”: 0,
“ModifiedSymlinks”: 0,
“AddedSymlinks”: 0,
“DeletedSymlinks”: 0,
“PartialBackup”: false,
“Dryrun”: false,
“MainOperation”: “Backup”,
“CompactResults”: null,
“VacuumResults”: null,
“DeleteResults”: null,
“RepairResults”: null,
“TestResults”: null,
“ParsedResult”: “Fatal”,
“Interrupted”: false,
“Version”: “2.1.0.2 (2.1.0.2_beta_2024-11-29)”,
“EndTime”: “2024-12-31T07:55:07.7880806Z”,
“BeginTime”: “2024-12-31T07:49:37.9244041Z”,
“Duration”: “00:05:29.8636765”,
“MessagesActualLength”: 140,
“WarningsActualLength”: 1,
“ErrorsActualLength”: 2,
“Messages”: [
“2024-12-31 08:49:37 +01 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: Die Operation Backup wurde gestartet”,
“2024-12-31 08:50:27 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2024-12-31 08:50:53 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (1,35 KB)”,
“2024-12-31 08:50:53 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Temporary: duplicati-20241222T090005Z.dlist.zip”,
“2024-12-31 08:50:53 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-20241222T090006Z.dlist.zip”,
“2024-12-31 08:50:53 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-KeepIncompleteFile]: keeping protected incomplete remote file listed as Uploading: duplicati-20241222T113718Z.dlist.zip”,
“2024-12-31 08:50:53 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-b326d635aaf104b20bdf6d91f273d9f3a.dblock.zip”,
“2024-12-31 08:50:53 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-b884fc79d15ce49e5b3b708f4109fc8e7.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-b3661a1a62f584a4d88a58ab6c3e90b81.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-ba900de90eb2b40b7a41c1de7f724e787.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-bb43909f2522044ca8f23bf033b3056e3.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-b2a9c9403cd664079a28a76d36dc5fe30.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-b77ad9cb870eb464eb0279fe1813b5fb7.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-SchedulingMissingFileForDelete]: scheduling missing file for deletion, currently listed as Uploading: duplicati-bc14887a1fcdd44f9bbf162a7f2c296a1.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Deleting: duplicati-bfde2287e322042b79f0fb7afe05205fe.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Deleting: duplicati-b60cd917631b347eba02d8c2a4c8216ac.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Deleting: duplicati-b440acb4c23c2481abd320b3d33d1e1f1.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Deleting: duplicati-bcf6873673b084727bb4aa7ebec8b47e4.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Deleting: duplicati-b396593614b5747ba93e099d5b7f3b4d8.dblock.zip”,
“2024-12-31 08:50:54 +01 - [Information-Duplicati.Library.Main.Operation.FilelistProcessor-RemoteUnwantedMissingFile]: removing file listed as Deleting: duplicati-bab1a58307cb44cb8bae5edb957983ef2.dblock.zip”
],
“Warnings”: [
“2024-12-31 08:52:11 +01 - [Warning-Duplicati.Library.Main.Operation.Backup.FileBlockProcessor.FileEntry-PathProcessingFailed]: Failed to process path: xxxxxxxxx849C9593-D756-4E56-8D6E-42412F2A707B\r\nIOException: The process cannot access the file ‘xxxxxx.849C9593-D756-4E56-8D6E-42412F2A707B’ because it is being used by another process.”
],
“Errors”: [
“2024-12-31 08:55:07 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error\r\nAggregateException: One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!)”,
“2024-12-31 08:55:07 +01 - [Error-Duplicati.Library.Main.Controller-FailedOperation]: Die Operation Backup ist mit folgenden Fehler fehlgeschlagen: One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!)) (One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!))))\r\nAggregateException: One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!)) (One or more errors occurred. (One or more errors occurred. (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!) (Please call Connect() before trying to read the Capabilities!))))”
],
“BackendStatistics”: {
“RemoteCalls”: 25,
“BytesUploaded”: 0,
“BytesDownloaded”: 0,
“FilesUploaded”: 0,
“FilesDownloaded”: 0,
“FilesDeleted”: 0,
“FoldersCreated”: 0,
“RetryAttempts”: 20,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 1383,
“KnownFileSize”: 69413915041,
“LastBackupDate”: “2024-12-15T10:00:12+01:00”,
“BackupListCount”: 40,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Interrupted”: false,
“Version”: “2.1.0.2 (2.1.0.2_beta_2024-11-29)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2024-12-31T07:49:37.9244084Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}

Thanks for that. I have a fix for the problem now, and it will be in the next release.

Thank you for the quick support.
Do you have any idea the date the fixed version is ready for download or do you have an idea for a “work around” until the fied version is availlable?

I will send out a new canary build today or tomorrow, and then shortly after that, I plan to release a new beta build.