Skip to content

OCC scan failed because of few encrypted files #206

@AykutCevik

Description

@AykutCevik

Hello,

I understand that the file scan is not able to work with encrypted files. Now I have a scenario where the main part of the files are not encrypted and a few of them are (due to changing the encryption, sharing and disabling the encryption).

Running ./occ maps:scan-photos processes the files until it locates the first file which is encrypted and then stops to continue the work:

In Encryption.php line 376:
                                                                                                                      
  Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you. 

I would like to suggest just to skip encrypted files and not crash the execution at all. Right now, the process is not able to end its work properly.

Opening the maps-app on Nextcloud tells me that the process isn't finished yet.

Also, is there a workaround for now?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions