Hello, I'm facing this bug. When I deploy it works properly but screenshots are not displayed. If I open the image this is the result:
URL: https://appw.xxxx.com/v1/storage/buckets/screenshots/files/6920be9b8e12b878c70b/preview?width=1024&height=576&output=webp&project=console
Response: {"message":"Server Error","code":500,"type":"general_unknown","version":"1.8.0"}
There's a new container for it. Maybe you didn't added it or it's not running?
Do you know whats its name?
appwrite-browser
The version is 0.2.4
Seems like it is working:
79b8421a1b1f appwrite/browser:0.2.4 "docker-entrypoint.sβ¦" 3 hours ago Up 3 hours appwrite-browser
What are the logs for it?
You can check them with docker compose logs appwrite-browser
root@appwrite-ubuntu-d:~/appwrite# docker logs -f 79b8421a1b1f
> appwrite-browser@0.1.0 start /app
> node src/index.js
Chromium starting...
Chromium started!
Server running on port http://0.0.0.0:3000
Interesting. Did you upgrade by manually modifying the docker-compose.yml file? Or with the provided script?
What are the latest logs for the appwrite container?
Following the docs on website, you know
Look:
appwrite | sh: cwebp: not found
appwrite | [Error] Timestamp: 2025-11-21T19:39:22+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/storage/buckets/:bucketId/files/:fileId/preview
appwrite | [Error] Type: Exception
appwrite | [Error] Message: Image conversion failed
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/image/src/Image/Image.php
appwrite | [Error] Line: 489
appwrite | sh: cwebp: not found
appwrite | [Error] Timestamp: 2025-11-21T19:40:37+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/storage/buckets/:bucketId/files/:fileId/preview
appwrite | [Error] Type: Exception
appwrite | [Error] Message: Image conversion failed
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/image/src/Image/Image.php
appwrite | [Error] Line: 489
appwrite | sh: cwebp: not found
appwrite | [Error] Timestamp: 2025-11-21T19:40:39+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/storage/buckets/:bucketId/files/:fileId/preview
appwrite | [Error] Type: Exception
appwrite | [Error] Message: Image conversion failed
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/image/src/Image/Image.php
appwrite | [Error] Line: 489
I think thats the problem. But how to fix it jaja
Oh
Yes, that's the issue
Oh I think i found the related issue: https://github.com/appwrite/appwrite/issues/10699#issuecomment-3448921364
Try to enter into the appwrite container shell with:
docker exec -it appwrite sh
Then uninstall the package with:
apk del imagemagick-dev
And install it with
apk add imagemagick-dev
Perfect!
Yes, the solution is doing what I mentioned above, it's exactly the same as mentioned there π
Wow, thank you so much man
To exit the bash, write exit then enter (for in case you get stuck, happened to me π ).
Yes sir
Great!! I can mark this issue as solved, right?
Yes sir
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...