This is a known issue of 10.6.0 and it will be fixed in 10.6.1.
Executing the following SQL or performing equivalent before EACH restart to set the value false
can be a workaround.
UPDATE "mendixsystem$properties" SET "value" = false WHERE "key" = 'oldFileMigrationCompleted'
Or you can reach out to Mendix Support ask for the official workaround.
Please see:
https://docs.mendix.com/releasenotes/studio-pro/10.6/#known-issues
Uploading and creating new FileDocuments results in the “Setting value of FileStoreMendixBinaryImpl outside of a transaction, may cause a stale file in file storage if not committed” error. We are investigating the root cause of this issue.
It's a Mendix 10.6 issue
I have the same problem https://forum.mendix.com/link/space/studio-pro/questions/130625