Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted PDF files can NOT generate preview with Imageinary #34

Open
a3linux opened this issue Aug 28, 2023 · 1 comment
Open

Encrypted PDF files can NOT generate preview with Imageinary #34

a3linux opened this issue Aug 28, 2023 · 1 comment

Comments

@a3linux
Copy link
Owner

a3linux commented Aug 28, 2023

This issue happened when view a folder which has lot of encrypted PDF files.

The error message in next cloud.log as following,

"Error while processing the image: glib: Document is encrypted","status":400}\n","exception"

This issue will exhaust PHP threads when the folder has lot of encrypted PDF files and the Nextcloud server will become unavailable.

The workaround might be turn off the PDF preview.

@a3linux
Copy link
Owner Author

a3linux commented Aug 28, 2023

Reference for preview performance with imaginary.
https://okxo.de/speed-up-nextcloud-preview-generation-with-imaginary/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant