MacOS Error When Restoring Files Directly from Backup

Hi all. Just got a new MacBook (MacOS Sequoia 15.2) and am setting up Duplicati (fresh install, 2.1.0.2_beta_2024-11-29). Using SSH to backup files to a Samba drive on the LAN. Backup works without errors, and I can see the backup files on the NAS drive. But when I try to restore directly from the backup files I get the following errors:

Failed to connect: An error occurred (In a popup - center screen)
Invalid header value: 00-05-16-07-00 (Bottom of screen, with show/dismiss options. "show" does nothing.)

Searching on the errors gave no useful info. Any ideas what may be happening here, and how to get a successful restore from the backup files?

Follow-up: it appears that restoring from a named profile works accurately. Just getting the error if I try to restore directly from backup files.

Did you try Show? This usually goes to the job log, but on Direct restore there is no job.

If there’s no special casing for that, maybe About → Show log → Live → Error will work.

If you see an error line, clicking on it may expand it to give a better idea of problem path.

This involves multiple steps on different screens. Where is failure?

FWIW I can run simple username/password direct restore just fine.

I’m on Canary but I’m not sure SSH is different. I don’t have a Mac.

Sorry, got distracted by some other activities. Here’s a screen-by-screen flow of what’s happening:





When I get to the final screen, nothing I click produces any results.

Hope this into helps.

The error is caused by the encryption detecting a broken header. The three first bytes are supposed to be AES + v2 giving 41-45-53-02-??.

As you can see the file found has different values, so it cannot be decrypted.
If you add the advanced options:

--log-file-log-level=Verbose
--log-file=<path-to-log-file>

The restore will write log data into the file, and this should narrow down exactly what file is defective. From there, you can hopefully find an explanation for why this file is no longer in the correct state.

Once you identify the file, you can rename the file so it will not be read by Duplicati, and try again.

Here is the log from the verbose run:

2025-01-21 16:59:07 -06 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation List has started
2025-01-21 16:59:07 -06 - [Information-Duplicati.Library.Main.Operation.ListFilesHandler-NoLocalDatabase]: No local database, accessing remote store
2025-01-21 16:59:07 -06 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started:  ()
2025-01-21 16:59:08 -06 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed:  (526 bytes)
2025-01-21 16:59:08 -06 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20250121T063000Z.dlist.zip.aes (3.021 MB)
2025-01-21 16:59:08 -06 - [Retry-Duplicati.Library.Main.BackendManager-RetryGet]: Operation Get with file duplicati-20250121T063000Z.dlist.zip.aes attempt 1 of 5 failed with message: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data
System.Security.Cryptography.CryptographicException: Failed to decrypt data (invalid passphrase?): Invalid password or corrupted data
 ---> SharpAESCrypt.WrongPasswordException: Invalid password or corrupted data
   at SharpAESCrypt.SetupHelper.DecryptBulkEncryptionKeyAndVerifyHMAC(Byte[] data, HeaderEncryptionKey headerKey)
   at SharpAESCrypt.DecryptingStreamInternal.ReadEncryptionHeader(Stream stream, SetupHelper helper, String password, DecryptionOptions options)
   at SharpAESCrypt.DecryptingStreamInternal..ctor(String password, Stream stream, DecryptionOptions options)
   at SharpAESCrypt.DecryptingStream..ctor(String password, Stream stream, DecryptionOptions options)
   at Duplicati.Library.Encryption.AESEncryption.Decrypt(Stream input)
   at Duplicati.Library.Encryption.EncryptionBase.Decrypt(Stream input, Stream output)
   --- End of inner exception stack trace ---
   at Duplicati.Library.Encryption.EncryptionBase.Decrypt(Stream input, Stream output)
   at Duplicati.Library.Encryption.EncryptionBase.Decrypt(String inputfile, String outputfile)
   at Duplicati.Library.Main.BackendManager.DoGetFile(FileEntryItem item, IEncryption useDecrypter, CancellationToken cancellationToken)
   at Duplicati.Library.Main.BackendManager.DoGetAsync(FileEntryItem item, CancellationToken cancellationToken)
   at Duplicati.Library.Utility.Utility.Await(Task task)
   at Duplicati.Library.Main.BackendManager.ThreadRun()

So it is clearly crashing due to the inability to decrypt the file. However, I exported the backup configuration (with passwords) to a local JSON file, then copied the passphrase directly from the JSON file and pasted it into the “Restore from backup files” workflow. In theory, using this passphrase from the JSON should allow for decryption, yet it’s not working. To add to the confusion, when I restore using the “Restore from <named backup>” option, it seems to work fine and gives me the directory/file tree to restore from.

The only thing that may (or may not) be related, is that I don’t have signed certificates on my network. When I do the “from files” restore and enter the SSH destination info, I get a “please verify the cert key” warning. I answer “Yes” to that message and the process keeps going. Not sure if/how that may affect what I’m seeing, but I thought I’d mention that in case it makes a difference.

I’m pretty sure I’ve done a “from files” restore in the past, but I can’t swear to that, so I’m not sure if this is a 2.1.0.2 issue.

I don’t know if this is relevant, but that doesn’t account for escape.
Basically beware of backslashes. Unicode could also cause issue.

Show button in a job Edit is a good way to see what a job is using.

This would support idea of manual method issue getting password.

There could be other things to look at, but let’s check on that one…

For a next chase, Invalid header value error suggests a bad file.

About → Show log → Live → Retry will probably say the file’s name.

Possibly we’ll have to get the file and try to decrypt it with something.

Processing files encrypted with AES encryption

SharpAESCrypt

This is a very different error message than “Invalid header value”?

That would give an error with the transfer, not the password or header error.

Just to ensure you can access your data later, should we discover an issue with the password, make sure to make a copy of the Duplicati-server.sqlite file, as that seems to be able to access the files.

The original error was not related to passwords, it was indeed saying the file was not an AESCrypt encrypted file. The new error is only thrown if the password is somehow incorrect (or the file is damaged in an unlikely way).

Good catch. It is possible that some characters are escaped in the JSON file.

Not ruling it out either, but we do have quite a few automated tests that ensures that this is working as expected.

Could you try to run a “Test” command from the working backup? Click the “Commandline …” button, choose “test” in the command, and remove the contents in “Command line arguments”.

This will run a test to see that all remote files are valid, and at least the first error message indicates something is wrong with the stored files.

So I chased this down a bit, and there may be something to this. Here’s the (partial) passphrase from the GUI (using Show on the general Settings screen):

... {Ak9!HI!4\7CD~@]#U ...

Here’s what’s in the JSON file:

... {Ak9!HI!4\\7CD~@]#U ...

That might explain why restoring form the config file works but restoring directly from the files and manually pasting in the passphrase does not? Does the GUI filter out escapes when you paste in?

Working on the tests now.

Running commandline entry
Finished!

            
  Listing remote folder ...
  Downloading file duplicati-20250113T215640Z.dlist.zip.aes (2.675 MB) ...
  Downloading file duplicati-icc822e29748642a8b05a88298ad3d827.dindex.zip.aes (189.575 KB) ...
  Downloading file duplicati-ba5b9930d5943472a9f00939e5f82dfd0.dblock.zip.aes (750.588 MB) ...
Examined 3 files and found no errors
Return code: 0

No, the GUI does not do anything with the passphrase. It is taken verbatim.

But the export uses the JSON format, which will escape certain characters.
This is not a problem if you import the JSON file again, but when you copy from the file, you need to decode the JSON value back to the string.

As @ts678 mentions, the easiest way is to copy from the configured version, in the UI.

You can also use “Restore from configuration …” which will load in the exported JSON and thus decode the password.

There are a few online tools that supports JsonDecode, but beware they may log the password you send them. Many tools can do it locally, including jq for instance.

Can you try with a bigger sample? Try putting “100” into the “Commandline arguments” to get 100 samples tested.

Running commandline entry
Finished!

            
  Listing remote folder ...
  Downloading file duplicati-20250119T063000Z.dlist.zip.aes (3.007 MB) ...
  Downloading file duplicati-20250123T063000Z.dlist.zip.aes (3.022 MB) ...
  Downloading file duplicati-20250117T094020Z.dlist.zip.aes (2.688 MB) ...
  Downloading file duplicati-20250121T063000Z.dlist.zip.aes (3.021 MB) ...
  Downloading file duplicati-20250122T063000Z.dlist.zip.aes (3.022 MB) ...
  Downloading file duplicati-20250124T063000Z.dlist.zip.aes (3.022 MB) ...
  Downloading file duplicati-20250113T215640Z.dlist.zip.aes (2.675 MB) ...
  Downloading file duplicati-20250120T063000Z.dlist.zip.aes (3.020 MB) ...
  Downloading file duplicati-ib97f5f52bb054fc39b9c7621a78eb2f3.dindex.zip.aes (393.653 KB) ...
  Downloading file duplicati-ia472333674cf488aaff66503b02194db.dindex.zip.aes (415.466 KB) ...
  Downloading file duplicati-i4649e322b73841ee98dab328eafc58c2.dindex.zip.aes (422.591 KB) ...
  Downloading file duplicati-i57deb36ab87848df8018a978c8d00594.dindex.zip.aes (506.935 KB) ...
  Downloading file duplicati-i1c2f296b86504fcaa5898e5258c8d51e.dindex.zip.aes (279.372 KB) ...
  Downloading file duplicati-ide96157790e94d479269bd7a965e6f56.dindex.zip.aes (307.950 KB) ...
  Downloading file duplicati-i8874d4aff749476da6e16e6c1f3ce188.dindex.zip.aes (167.044 KB) ...
  Downloading file duplicati-id388447a84754ee6b4dc3c88e6b15f1a.dindex.zip.aes (276.763 KB) ...
  Downloading file duplicati-iddc7bd341cee47a681c7dd2de956d9b1.dindex.zip.aes (216.435 KB) ...
  Downloading file duplicati-i3edbbe768b6a49ab9f6bfd0c2f7422bd.dindex.zip.aes (383.419 KB) ...
  Downloading file duplicati-i6d661f27552b4ddd983e47ab12fb4d86.dindex.zip.aes (462.575 KB) ...
  Downloading file duplicati-ia935d339d07140f18821f3eb8e174d43.dindex.zip.aes (105.231 KB) ...
  Downloading file duplicati-i22a4f9d3fe7c4919b5f03ae203957092.dindex.zip.aes (356.935 KB) ...
  Downloading file duplicati-i0b4f4590cc6e484f8e1f33557deb6f3c.dindex.zip.aes (104.966 KB) ...
  Downloading file duplicati-i8f7a69d59782436e81cbdcf9c3130cc4.dindex.zip.aes (125.325 KB) ...
  Downloading file duplicati-i1508020aa2c544738b245997ef58c352.dindex.zip.aes (455.747 KB) ...
  Downloading file duplicati-ib440615cf06044abb58b7145919561f2.dindex.zip.aes (217.372 KB) ...
  Downloading file duplicati-i0ea143e83c2849e1bc020d98ba99650f.dindex.zip.aes (243.216 KB) ...
  Downloading file duplicati-i90060abbb203471591f4f59bc177d85f.dindex.zip.aes (315.935 KB) ...
  Downloading file duplicati-i0c615cd815d0443faf3e65b419c1d969.dindex.zip.aes (419.981 KB) ...
  Downloading file duplicati-i966b620ecf134b06a18a9b552e0fd8e4.dindex.zip.aes (357.153 KB) ...
  Downloading file duplicati-ifb1cf87deaa24fd3ad73de3d853c9ecf.dindex.zip.aes (425.231 KB) ...
  Downloading file duplicati-id2a211024f394bea9620010f8ae4abe2.dindex.zip.aes (243.591 KB) ...
  Downloading file duplicati-i0e67821eea194abf9792d31b66bb11e0.dindex.zip.aes (107.372 KB) ...
  Downloading file duplicati-i305bd41e82084ecb992d7559f37cdedb.dindex.zip.aes (103.638 KB) ...
  Downloading file duplicati-if8f93c21538f402ca568b0ab64d6f630.dindex.zip.aes (441.388 KB) ...
  Downloading file duplicati-i710563195a5446648b4634aefba1e5ec.dindex.zip.aes (276.435 KB) ...
  Downloading file duplicati-ibc1e3ac6491b4ad3974c129155d50d25.dindex.zip.aes (185.231 KB) ...
  Downloading file duplicati-ib40e7e0ecb4b4da495301e2da57305c7.dindex.zip.aes (245.638 KB) ...
  Downloading file duplicati-ic94699d1a5f14139b4063106b03ded77.dindex.zip.aes (211.841 KB) ...
  Downloading file duplicati-i8b136eeffd9a4f978eac4b77d3e7c12e.dindex.zip.aes (227.794 KB) ...
  Downloading file duplicati-i0f07c5fa7e534f9b9a250f2204806e7d.dindex.zip.aes (167.794 KB) ...
  Downloading file duplicati-i0e73f381b9c84f2a880be94519316f55.dindex.zip.aes (252.810 KB) ...
  Downloading file duplicati-i194265089f73449681d04998336d7ac2.dindex.zip.aes (189.638 KB) ...
  Downloading file duplicati-i52f6856020d64729ac2f63fd12c923aa.dindex.zip.aes (1.153 KB) ...
  Downloading file duplicati-ib7768a4e70fd4015a4266cb572992f1d.dindex.zip.aes (4.169 KB) ...
  Downloading file duplicati-ia304c55df845406b95b1345867a8197c.dindex.zip.aes (51.935 KB) ...
  Downloading file duplicati-i73491b6c71d34cb5a106be2419058ea6.dindex.zip.aes (5.919 KB) ...
  Downloading file duplicati-iccb621af5dc14935adac0d7a69ec5d8a.dindex.zip.aes (499.763 KB) ...
  Downloading file duplicati-i4099f890c38440449092aad0d97553a3.dindex.zip.aes (424.700 KB) ...
  Downloading file duplicati-i43a18474a57d4599b02acce6e62c2d72.dindex.zip.aes (375.997 KB) ...
  Downloading file duplicati-i220b847174174dbe8a7e2312a1a53e99.dindex.zip.aes (896.310 KB) ...
  Downloading file duplicati-ia1fb0c9271434b0bbe6ea533f213d22f.dindex.zip.aes (1.110 MB) ...
  Downloading file duplicati-i37b4e21bcfcd47e2aef06d2ea9a7bc7b.dindex.zip.aes (19.075 KB) ...
  Downloading file duplicati-i7bc6188fad2f4f99b0088e620db56d93.dindex.zip.aes (6.356 KB) ...
  Downloading file duplicati-i6cf4ab7e2e4947239a25c3af6cbfcd26.dindex.zip.aes (3.513 KB) ...
  Downloading file duplicati-i5cac1a9c80f848f5b9d9807d317a158a.dindex.zip.aes (29.153 KB) ...
  Downloading file duplicati-i4e903f3b38af485ba998065743ae70db.dindex.zip.aes (2.356 KB) ...
  Downloading file duplicati-i6429ae2265c943419ab1e135edf74dd2.dindex.zip.aes (255.372 KB) ...
  Downloading file duplicati-i843d8e6db01c4101ba22e8daac8f6e7c.dindex.zip.aes (248.200 KB) ...
  Downloading file duplicati-i2314ec7eada04700b50630f139fe3ede.dindex.zip.aes (360.450 KB) ...
  Downloading file duplicati-id0ec1224e91a4bd5be22f6e5ef3ca1df.dindex.zip.aes (162.372 KB) ...
  Downloading file duplicati-ia94def042ea14f61aea92930cc34b0b2.dindex.zip.aes (428.122 KB) ...
  Downloading file duplicati-i78b8a2580e73491286fd340b828522d3.dindex.zip.aes (219.919 KB) ...
  Downloading file duplicati-id9de3d45245e4f26b9af979b8b69e67b.dindex.zip.aes (396.481 KB) ...
  Downloading file duplicati-i312115f3e72b4addada8ccb24ad99adc.dindex.zip.aes (579.216 KB) ...
  Downloading file duplicati-iaa25f0529c1d427b93809c34a12a1b5d.dindex.zip.aes (445.231 KB) ...
  Downloading file duplicati-if747e07e14734df98b8e9a4cdb2aa93d.dindex.zip.aes (102.747 KB) ...
  Downloading file duplicati-i5f38e8e11fd142f0b6df1d07895530ac.dindex.zip.aes (260.513 KB) ...
  Downloading file duplicati-icc822e29748642a8b05a88298ad3d827.dindex.zip.aes (189.575 KB) ...
  Downloading file duplicati-i310350828f3e4293909a197dd882518a.dindex.zip.aes (339.153 KB) ...
  Downloading file duplicati-i6022a4d6904f49799d8159c7c44595f4.dindex.zip.aes (430.185 KB) ...
  Downloading file duplicati-b79432dbbad784cf1b0539ad1e44e97d7.dblock.zip.aes (750.783 MB) ...
  Downloading file duplicati-bb3f0f3469a4443e6adc0a5a283f73c4b.dblock.zip.aes (750.710 MB) ...
  Downloading file duplicati-b1df57c83cfdc466e990ea63cb1b0e80c.dblock.zip.aes (750.761 MB) ...
  Downloading file duplicati-b57ab8ca8445b40fcb8eb43dcb19db2d9.dblock.zip.aes (750.590 MB) ...
  Downloading file duplicati-b6c64bc607e6248a3b24df5b5b489529e.dblock.zip.aes (750.614 MB) ...
  Downloading file duplicati-b2b9efd542ae24331988acd6e4f2f0176.dblock.zip.aes (750.573 MB) ...
  Downloading file duplicati-b6c0180fdee3c49b088acbeb2349a654b.dblock.zip.aes (750.306 MB) ...
  Downloading file duplicati-b6dc97259353e49ca80553e50258c1d63.dblock.zip.aes (750.162 MB) ...
  Downloading file duplicati-ba042b5c50c8e49e1aa565c386430e9f6.dblock.zip.aes (750.243 MB) ...
  Downloading file duplicati-bebd3c2eeb52c4d4aa231424bab6d2f8d.dblock.zip.aes (750.048 MB) ...
  Downloading file duplicati-bca64a4b4ee024dc78374c6b395a076aa.dblock.zip.aes (750.264 MB) ...
  Downloading file duplicati-b0f57e0294ae84e508fe3a1b81809f5cf.dblock.zip.aes (750.641 MB) ...
  Downloading file duplicati-b319797a7070a4989ba28b78a1d79a60e.dblock.zip.aes (750.491 MB) ...
  Downloading file duplicati-b174e2c3406214467b003eec5764c0efb.dblock.zip.aes (750.676 MB) ...
  Downloading file duplicati-b3f821795d2734d5e84df16bdde7c9c38.dblock.zip.aes (750.158 MB) ...
  Downloading file duplicati-b5a128ad83beb43a9a4f8619ab23ed99c.dblock.zip.aes (750.188 MB) ...
  Downloading file duplicati-b92e50bd676444ba3995aada102db07f0.dblock.zip.aes (750.142 MB) ...
  Downloading file duplicati-b516aa6fc37234aada21765c10590bd7a.dblock.zip.aes (750.207 MB) ...
  Downloading file duplicati-bd50717718f2d4d2380543939b3b91e22.dblock.zip.aes (750.234 MB) ...
  Downloading file duplicati-be9a4df9b88a34cfdbe93e537e74eee8d.dblock.zip.aes (750.108 MB) ...
  Downloading file duplicati-b6255624d860e4d30b14f45cc9e890f3a.dblock.zip.aes (750.317 MB) ...
  Downloading file duplicati-b89d0bd1abc294fe0a0d4f515d84a5648.dblock.zip.aes (750.230 MB) ...
  Downloading file duplicati-b623d5f298184482bb0fb84d73cdf145b.dblock.zip.aes (750.305 MB) ...
  Downloading file duplicati-b4097aa2d7f844806870e4b70527027e6.dblock.zip.aes (750.213 MB) ...
  Downloading file duplicati-ba1335da7134b44f1974e713989d95cef.dblock.zip.aes (750.169 MB) ...
  Downloading file duplicati-b1add13fa1fbc41bdb060027788ea98ed.dblock.zip.aes (750.198 MB) ...
  Downloading file duplicati-bee82a4d5b4074aa1a1232f059a33d89c.dblock.zip.aes (750.144 MB) ...
  Downloading file duplicati-bb3f30f73e7d246c3a22883c6a6a0fd26.dblock.zip.aes (750.237 MB) ...
  Downloading file duplicati-b07ffcaa360004d11a292d8429067c32d.dblock.zip.aes (750.225 MB) ...
  Downloading file duplicati-b3fcab3dcacef43d7829e9204d0fca009.dblock.zip.aes (750.165 MB) ...
  Downloading file duplicati-be25e68b502084c65aafda2c665937567.dblock.zip.aes (750.043 MB) ...
  Downloading file duplicati-babded9d54f324d8aa8f48a5567a59dd7.dblock.zip.aes (750.202 MB) ...
  Downloading file duplicati-b849c6712dfcf4c4982e7311dfe45bd62.dblock.zip.aes (750.054 MB) ...
  Downloading file duplicati-be74803a211ae4cc68c96ec4a48c9f495.dblock.zip.aes (750.235 MB) ...
  Downloading file duplicati-bc125ba49be914136a02cb7f8e8b2d8c7.dblock.zip.aes (750.180 MB) ...
  Downloading file duplicati-b7ffaf75b8177483b879d03639b0815a0.dblock.zip.aes (750.193 MB) ...
  Downloading file duplicati-b5f841b53ace84487b704538f51c0ec4f.dblock.zip.aes (176.649 MB) ...
  Downloading file duplicati-bac81003012084d188331e2315e93aa39.dblock.zip.aes (163.060 KB) ...
  Downloading file duplicati-ba16002bf624742dcb34a846b8e8f04a9.dblock.zip.aes (120.594 MB) ...
  Downloading file duplicati-b9ffcd463d6d642178bfda74794ca48b8.dblock.zip.aes (13.960 MB) ...
  Downloading file duplicati-b52bd36c5419b4faa90ec2f6a6948fb2e.dblock.zip.aes (750.551 MB) ...
  Downloading file duplicati-b3c08a5d0e6bd42409e1e3f33fb856c94.dblock.zip.aes (750.529 MB) ...
  Downloading file duplicati-bcb0ed0128f5743248ddf5f94b4f0c9a1.dblock.zip.aes (750.499 MB) ...
  Downloading file duplicati-b21af2de518174758b2ee7398b7959857.dblock.zip.aes (24.873 MB) ...
  Downloading file duplicati-b755949c8a1fc425bb2cd0cb04ed9d9c5.dblock.zip.aes (15.580 MB) ...
  Downloading file duplicati-bd4c4aea2efbd432f9adb0a81205447d0.dblock.zip.aes (5.833 MB) ...
  Downloading file duplicati-b59dba6edc1834408bdc71413dd307342.dblock.zip.aes (1.088 MB) ...
  Downloading file duplicati-b2c8dd6f91d314d69907b92ee47697e92.dblock.zip.aes (56.879 MB) ...
  Downloading file duplicati-b053d9ceb45dd425592ef8e0526dd5070.dblock.zip.aes (35.825 KB) ...
  Downloading file duplicati-b56f7c9b6d4fb43a5a79bf9afbe841b5f.dblock.zip.aes (750.179 MB) ...
  Downloading file duplicati-b51f860c7ee3f4aef8d61f2bab04fb7eb.dblock.zip.aes (750.191 MB) ...
  Downloading file duplicati-b0ccef951824e4aaba644f69272a5cd25.dblock.zip.aes (750.200 MB) ...
  Downloading file duplicati-b5a541b913dd142f0837020c64eab2de6.dblock.zip.aes (750.190 MB) ...
  Downloading file duplicati-b5719661b48ac4965a27cbb5bf7ce9549.dblock.zip.aes (750.218 MB) ...
  Downloading file duplicati-bcb0c241986b84c27a2222ebc7ea79eb7.dblock.zip.aes (750.669 MB) ...
  Downloading file duplicati-bf0e7adabf1974a5bafac443f8fac065a.dblock.zip.aes (750.124 MB) ...
  Downloading file duplicati-be105705b78854bab8062fda4cfec735e.dblock.zip.aes (750.049 MB) ...
  Downloading file duplicati-b2c116a43642640f284761eb83efc37bc.dblock.zip.aes (30.377 MB) ...
  Downloading file duplicati-b475d53bcc25d4a9aaac0a09ff0925cee.dblock.zip.aes (750.157 MB) ...
  Downloading file duplicati-ba5b9930d5943472a9f00939e5f82dfd0.dblock.zip.aes (750.588 MB) ...
  Downloading file duplicati-b39c03a24bb6a4128b5a06a517cbe36cd.dblock.zip.aes (9.888 KB) ...
  Downloading file duplicati-bb7a88c6b529f4dba8deaac253b67c551.dblock.zip.aes (750.177 MB) ...
Examined 132 files and found no errors
Return code: 0

That looks good.

For the problem with the passphrase, were you able to progress with that?
It is a little problematic to trouble shoot as the actual value is the both a secret and the problem itself.

But the original error seems to have disappeared, or can you still reproduce this?