• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Certain gif files cannot be uploaded

Status
Not open for further replies.

DeCysos

Phoenix Foto Service
▶ Reproduction steps
  1. make a video (webm?)
  2. Change it to a GIF using an online tool. (https://cloudconvert.com/webm-to-gif , https://convertio.co/webm-gif/ )
    With the help of files created by "https://ezgif.com/video-to-gif" it works (probably because they are much smaller).
  3. Upload your new pic to youre site
Sample file:
😢 Unexpected result

File was not uploaded

screenshot-2022.12.06-13_48_07.png

📃 Error log message

Code:
Intervention\Image\Exception\NotReadableException thrown in /var/www/vhosts/priv.pictures/httpdocs/app/vendor/intervention/image/src/Intervention/Image/Imagick/Decoder.php:29

# └ ImagickException thrown [Code #400]
memory allocation failed `/tmp/scree.by.convertio.co-2022.12.06-13_13_51.gif' @ error/gif.c/ReadGIFImage/1306 in /var/www/vhosts/priv.pictures/httpdocs/app/vendor/intervention/image/src/Intervention/Image/Imagick/Decoder.php:25

# Message
Unable to read image from path (/tmp/scree.by.convertio.co-2022.12.06-13_13_51.gif).

# Incident ID:638f3a0dc5a2e

# Time
2022-12-06T12:48:13+00:00 [1670330893]

# Stack trace
------------------------------------------------------------
#0 /var/www/vhosts/priv.pictures/httpdocs/app/vendor/intervention/image/src/Intervention/Image/Imagick/Decoder.php:29
{main}()
------------------------------------------------------------
#1 /var/www/vhosts/priv.pictures/httpdocs/app/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php:344
Intervention\Image\Imagick\Decoder->initFromPath()
------------------------------------------------------------
#2 /var/www/vhosts/priv.pictures/httpdocs/app/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php:66
Intervention\Image\AbstractDecoder->init()
------------------------------------------------------------
#3 /var/www/vhosts/priv.pictures/httpdocs/app/vendor/intervention/image/src/Intervention/Image/ImageManager.php:54
Intervention\Image\AbstractDriver->init()
------------------------------------------------------------
#4 /var/www/vhosts/priv.pictures/httpdocs/app/vendor/intervention/image/src/Intervention/Image/ImageManagerStatic.php:58
Intervention\Image\ImageManager->make()
------------------------------------------------------------
#5 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/Classes/ImageResize.php:61
Intervention\Image\ImageManagerStatic::make()
------------------------------------------------------------
#6 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/Classes/Image.php:1106
Chevereto\Legacy\Classes\ImageResize->__construct()
------------------------------------------------------------
#7 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/Classes/Image.php:790
Chevereto\Legacy\Classes\Image::resize()
------------------------------------------------------------
#8 /var/www/vhosts/priv.pictures/httpdocs/app/legacy/routes/json.php:120
Chevereto\Legacy\Classes\Image::uploadToWebsite()
------------------------------------------------------------
#9 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/G/Handler.php:242
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#10 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/G/Handler.php:158
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#11 /var/www/vhosts/priv.pictures/httpdocs/app/legacy/load/web.php:492
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#12 /var/www/vhosts/priv.pictures/httpdocs/app/legacy/entrypoints/index.php:25
require_once(string(length=62))
------------------------------------------------------------
#13 /var/www/vhosts/priv.pictures/httpdocs/index.php:12
require_once(string(length=71))
------------------------------------------------------------

# Server
Linux S3 5.4.0 #1 SMP Thu Apr 22 16:18:59 MSK 2021 x86_64

The file permissions for the /tmp folder were checked.
Alternatively, another TMP folder was created and assigned to the web space. No improvement.
 
Last edited:
🔒 This bug report is locked pending 60 day resolution. Having same issue? Give a like to say "me too".
 
This is not a bug in the software but a hard limit on the ImageMagick configuration. This is documented, when using ImageMagick you are limited to its policy.xml file.

You need to configure your local ImageMagick configuration to enable more memory.
 
Status
Not open for further replies.
Back
Top