[Solved] Error: ImagickException: not authorized

Since installing Nextcloud 14 I’ve been getting many errors like

ImagickException: not authorized `/upload_tmp/oc_tmp_EiELpS-.pdf’ @ error/constitute.c/ReadImage/412

I can’t explain what caused the errors but I found a solution here:

www.c-rieger.de

Maybe this link helps somebody…

2 Likes

yes, indeed.
This helped immediately. Thanks to you for the link and of course Carsten Rieger for the solution

Just found this solution today, thanks for posting and thanks to C. Reiger

The post is not longer available. Can anyone describe the solution?

Thanks God, I copied it… https://wiki.sitnikov.ga/doku.php?id=howto:nextcloud&s[]=imagickexception#solutions_for_imagickexceptions_in_nextcloudlog

Indeed the solution provided by gas85 worked for me :
https://wiki.sitnikov.ga/doku.php?id=howto:nextcloud&s[]=imagickexception#solutions_for_imagickexceptions_in_nextcloudlog

My problem was to change rights=“none” to rights=“read|write” in /etc/ImageMagick-6/policy.xml

What is weird is the old config was working for NC18 and failed when we upgraded to NC19.

1 Like