Encryption Issue on Nextcloud 24

Hello,

We recently upgraded our Nextcloud Version 23 to Version 24 but now some of the files are not opening and seems to be encrypted with below message shown on the document

HBEGIN:oc_encryption_module:OC_DEFAULT_MODULE:cipher:AES-256-CTR:signed:true:HEND-

We did not delete or try to modify anything to nextcloud but just upgraded nextcloud version to 24 and this encryption issue is occurring. Some files are opening while some are giving above encryption error. We tried to decrypt them manually from cli without any luck. Please help

Do you still have the whole data folder and the config file? Then you could try to decrypt the files outside of Nextcloud with the following standalone script: https://github.com/syseleven/nextcloud-tools/blob/master/rescue/decrypt-all-files.php