After some time new PDFs get 0 kb big


I’m running newest NC. When I upload a PDF it will get 0 kb and corrupted after a given amount of time. This happens to EVERY PDF. When I restore it with the versioning then it won’t get corrupted anymore.
In the logs I can only find ImagickException errors stating “Failed to read the file” or “no decode delegate for this image format” and “unable to open image”.

I think this is related to preview generator. This error occured the first time about a month ago.

How can I solve this?

Do you see when the other version was created? Is it the time when your cronjobs run that potentially create the preview? Just to exclude that some client is doing this…