Encryption fails on every file with a container field

Hi, hope someone can help me. We got a FM22 Server on Windows. Whenever I use the Otto console to try to encrypt a file (in place) and the file already has a containerfield it fails with

OttoFMS API Error: Error encrypting file: Error: (853): One or more containers failed to transfer when saving a self-contained copy. HTTP Status Code: 400.

Any idea?

Thanks, Tobias

Could this be because we have configured an additional Database folder and an additional Containerdata folder? If yes, that is wuite the common setup so I do hope there is a workaround.

I now tested the following:
1.) I moved the Files from the containerfiles folder to the database folder (using the same server structure). Got the same error as before
2.) I moved the files to the database folder BUT changed the structure so tha it resembles the FileMaker Client structure. I got:

OttoFMS API Error: Error encrypting file: 2025-10-27 22:34:53.675 +0100 [ExternalThread_2e78] GetSlot invalid slot level 6 index 812025-10-27 22:34:54.517 +0100 [ExternalThread_2e78] 0 Draco::StackCrawl::SaveStack + 792025-10-27 22:34:54.517 +0100 [ExternalThread_2e78] 1 Draco::StackCrawl::StackCrawl + 142025-10-27 22:34:54.517 +0100 [ExternalThread_2e78] 2 Draco::HPage::HSlotMatrix::InvalidSlot + 3772025-10-27 22:34:54.517 +0100 [ExternalThread_2e78] 3 Draco::HPage::FirstLeaf + 79142025-10-27 22:34:54.517 +0100 [ExternalThread_2e78] 4 Draco::HPosInfo::RecoverFile + 315472025-10-27 22:34:54.517 +0100 [ExternalThread_2e78] 5 Draco::HBAMSlot::HBAMSlot + 134232025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 6 Draco::HBPosition::GetAnchor + 7832025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 7 Draco::DBFieldCatalog::GetDependencyListPos + 6232025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 8 Draco::DBFieldCatalog::Test + 2142025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 9 Draco::DBTransaction::ValidateFile + 7012025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 10 Draco::DBTransaction::ProcessFiles + 8522025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 11 Draco::DBTransaction::Commit + 3822025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 12 Draco::DBBinaryData::TransferContainerOnHost + 18692025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 13 Draco::DBBinaryData::TransferContainer + 1952025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 14 Draco::PlusParameter::PlusParameter + 1616902025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 15 Draco::ParallelMultiTaskHandler::RunTask + 1022025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 16 Draco::VectorMath::operator= + 177702025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 17 recalloc + 922025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 18 BaseThreadInitThunk + 162025-10-27 22:34:54.518 +0100 [ExternalThread_2e78] 19 RtlUserThreadStart + 43Error: (853): One or more containers failed to transfer when saving a self-contained copy. HTTP Status Code: 400.

I’m at a loss.

Btw. the container data is already encrypted. And using “Keep open storage” fails as well.

I have a workaround now: I do not use InPlace encryption.

it STILL fails but the encrypted file is kept where it is and I can go from there.
Containers worked afterwards but not sure how it behaves when I have a file with encrypted AND open storage…