Score:0

NGINX liip_imagine unable to create path for ... "Get operation failed" webp - not creating .webp in media/cache/filter_name symfony

am flag

So in my liip_imagine i have something like:

webp:
  generate: True
  quality: 70

and it works good locally, it serves .png.webp images, but when i put it on my NGINX server i have an issue called unable to create path for ... "Get operation failed, im using imagick as a driver. I have webp in mime types on my server. The problem is that it shows error also on imagick like

    if (isset($options['format'])) {
          $this->imagick>setimageformat($options['format']);
     }

It doesnt recognize the format, but i don't know how could i debug it to see what format is given, i tried dump($options['format']) but it doesnt show anything anywhere. How can i solve this problem? Should i use other way to create webp on my server? Why does it work locally ok, but on server not.

djdomi avatar
za flag
show us some error logs, show us the permissions of the directory
am flag
the problem was that imagick on server didnt support webp format, i had to update imagick
djdomi avatar
za flag
please answer your questions and accept the answer
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.