Hi, I’ve been having problems with my nextcloud instance. To make a long story short I restored a backup using the built in borg-backup tool from August 2024 and files that were encrypted using server side encryption are not unencrypting.
I had made a post on the Github Discussions of AIO and Simon had advised me to move the post here so more people could see it.
Here’s a summary of that post.
I noticed that some sort of encryption didn’t restore correctly, as I can no longer open any of my files. I downloaded one of the files I can’t open (a png) and opened it with a text editor and found this
HBEGIN:oc_encryption_module:OC_DEFAULT_MODULE:cipher:AES-256-CTR:signed:true:useLegacyFileKey:false:encoding:binary:HEND
, which I’m believe may be from server side encryption. I see this error in the logs.Error no app in context Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.
and runningls /ncdatadir/user/files_encryption/keys
yields an empty directory. IIRC at some point I did try using the E2EE module, but shortly after trying it I found out I couldn’t use it with server side encryption and disabled it.
Please let me know what I can provide to help troubleshoot this issue. Most of what was lost is not super important, but it is mildly annoying.