Skip to content
Back

[SOLVED] After 1.8.0 no Screenshots of Sites

  • 0
  • Resolved
  • 2
  • Self Hosted
  • Sites
ponguta_
21 Nov, 2025, 19:45

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"}

TL;DR
After updating to version 1.8.0, screenshots of sites were not working. The issue was due to a missing package causing image conversion failure. To solve it, uninstall 'imagemagick-dev' using `apk del imagemagick-dev` inside the appwrite container, then reinstall it with `apk add imagemagick-dev`. This resolves the problem. Happy Appwriting! <:appwritepeepo:1156975874852270110> <:appwriterocket:823996226894692403>
21 Nov, 2025, 20:37

There's a new container for it. Maybe you didn't added it or it's not running?

21 Nov, 2025, 20:38

Do you know whats its name?

21 Nov, 2025, 20:40

appwrite-browser

The version is 0.2.4

21 Nov, 2025, 20:42

Seems like it is working:

79b8421a1b1f appwrite/browser:0.2.4 "docker-entrypoint.s…" 3 hours ago Up 3 hours appwrite-browser

21 Nov, 2025, 20:42

What are the logs for it?

21 Nov, 2025, 20:43

You can check them with docker compose logs appwrite-browser

21 Nov, 2025, 20:43
TypeScript
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
21 Nov, 2025, 20:44

Interesting. Did you upgrade by manually modifying the docker-compose.yml file? Or with the provided script?

21 Nov, 2025, 20:44

What are the latest logs for the appwrite container?

21 Nov, 2025, 20:45

Following the docs on website, you know

21 Nov, 2025, 20:45

Look:

TypeScript
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
21 Nov, 2025, 20:45

I think thats the problem. But how to fix it jaja

21 Nov, 2025, 20:46

Oh

21 Nov, 2025, 20:46

Yes, that's the issue

21 Nov, 2025, 20:47
21 Nov, 2025, 20:48

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

21 Nov, 2025, 20:48

Perfect!

21 Nov, 2025, 20:48

Yes, the solution is doing what I mentioned above, it's exactly the same as mentioned there πŸ˜…

21 Nov, 2025, 20:49

Wow, thank you so much man

21 Nov, 2025, 20:49

Fixed

1
21 Nov, 2025, 20:49

To exit the bash, write exit then enter (for in case you get stuck, happened to me πŸ˜† ).

21 Nov, 2025, 20:49

Yes sir

21 Nov, 2025, 20:50

Great!! I can mark this issue as solved, right?

21 Nov, 2025, 20:51

Yes sir

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more