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
- Accessing Database via Console
Hi everyone, I am running a self-hosted Appwrite v1.9.0 instance. When I click on one particular database in the Console, a loading indicator appears at the top...
- Apple OAuth2 settings auto-disable every...
Hello, I'm on Appwrite 1.8.1 at the moment. I'm using on prod Apple Oauth and it keeps disabling itself every night. I don't know where to look for the solutio...
- Sites settings shows ALL build runtimes
When looking at the build runtimes of site to update from node22 to node24, i saw that unlike the Functions the Sites shows ALL build runtimes, even non-install...