Uploaded files can’t be opened or downloaded
on top of pages under ‘files’ a message is shown:
HBEGIN:oc_encryption_module:OC_DEFAULT_MODULE:cipher:AES-256-CTR:signed:true:HEND
even simple PDF-documents can’t be opened. download of files works. but if i try to open a downloaded file it says 'file can’t be opened.
Any suggestions?
Kind regards
Lothar
jtr
March 24, 2025, 5:24pm
2
Please fill out the support template .
The bit you did post indicates Server Side Encryption was configured at some point. The key question to uncover why this behavior started occurring for you is probably: When did this behavior start occurring?
OliG
April 9, 2025, 7:06pm
3
Same here. All our work is stored on nextcloud, and suddenly nothing available anymore… all files are “corrupted”. how to solve this easily ?
HBEGIN:oc_encryption_module:OC_DEFAULT_MODULE:cipher:AES-256-CTR:signed:true:encoding:binary:HEND
jtr
April 9, 2025, 8:14pm
4
Are you self-hosting or using a provider?
There is a thread here from folks that were using a provider (Tab I think) which apparently got encryption partially enabled and lead to this recently.
OliG
April 11, 2025, 12:46pm
5
Hi JTR, thanks for your answer. Yes, we are on a provider: Tab indeed. I’ll try to find the thread, is this it ?
Hi,
I may have messed up a bit. I had a disk problem recently and ended up having to recover parts of my installation into a new instance. It seemed to go well enough for the most part.
All the actual user files were stored on a NAS so I just moved them into the accounts for the new versions of the users. However none of the files are accessible are they are encoded in some fashion.
I don’t remember doing so but this has got me thinking that maybe server side encryption might have been turned…
jtr
April 11, 2025, 2:34pm
6
This was the thread IIRC:
I suddenly can’t access my server-only files. Some of them (mostly image files), I can open on the web app. But whenever I try to download them and open them locally, they seem to be corrupted. When I opened the files in notepad, I noticed that they all suddenly started with this string:
HBEGIN:oc_encryption_module:OC_DEFAULT_MODULE:cipher:AES-256-CTR:signed:true:useLegacyFileKey:false:encoding:binary:HEND
Upon looking it up, it looks like this means that my files got encrypted. I never turned…
I solved the problem by deleting all files. After uploading the files again, everything was ok. Greetings