Skip to content

Enabled encryption, encrypted all files, corrupted uploads, can't disable encryption, dangling .part files everywhere that can't be deleted #39212

Description

@posita

I am evaluating an instance I have created using files_primary_s3 for use at my company. I have onboarded a handful of users who have been using the system for several weeks. They have migrated their contacts, calendars, etc. Recently, after performing what appeared to be a successful upgrade to 10.8.0.4, I enabled server-side encryption per these instructions and did occ encryption:encrypt-all. Shortly thereafter, users started complaining of corruption with newly-synced files. (Sources include desktop and iOS app). I attempted to decrypt-all so that I could disable encryption, which failed on the post-encryption corrupted files. In addition, several newly created file entries appeared as a result of the decrypt-all step alongside those corrupt files with suffixes like .decrypted.<timestamp>.part. These showed up in users' folders (at least on web). Users were able to delete their own post-encryption corrupted files from their instances, but not the newly-created .part files in their home directories because apparently .part is a reserved suffix (but they could remove parent folders where .part files resided without issue).

Now I am stuck. I can't decrypt-all because of the corrupted .part files (even with the originals gone), which means I can't turn off encryption. Users can't sync new content because after turning on encryption, all files coming from desktop and iOS apps get corrupted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions