GitHub user dosubot[bot] added a comment to the discussion: Try to display thumbnail on apache superset 4.1.1 but it show error Failed at generating thumbnail Executable doesn't exist at /root/.cache/ms-playwright/chromium-1105/chrome-linux/chrome
<!-- Answer --> Here’s a step-by-step guide to enable thumbnail generation in Superset 4.1.1 with Docker: 1. **Open the file `docker/.env` in your Superset project folder.** Find these lines and change them to: ``` ENABLE_PLAYWRIGHT=true INCLUDE_CHROMIUM=true ``` (If `INCLUDE_CHROMIUM` isn’t there, add it.) 2. **Save the file.** 3. **Rebuild your Docker images.** In your terminal, run: ``` docker-compose build ``` This step is important! It makes sure Playwright and Chromium are actually installed in your containers. 4. **Restart your containers.** Run: ``` docker-compose up -d ``` This will start everything with the new settings. 5. **Check that Chromium is installed.** Enter your worker container: ``` docker-compose exec superset_worker bash ``` Then run: ``` playwright show-browser chromium ``` If you see information about Chromium, it’s installed correctly. If you see an error, something went wrong with the build. 6. **Make sure Redis is running** (since you use it for thumbnail caching). 7. **Try generating a thumbnail again in Superset.** If thumbnails still don’t show up, check the logs for errors: ``` docker-compose logs superset_worker ``` Look for messages about Playwright or Chromium. That’s it! These steps should get thumbnails working in your Docker-based Superset setup. If you need more help, let me know which step you get stuck on. References: [How to enable Playwright and Chromium in Docker](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker-compose.yml) [Why this is needed](https://github.com/apache/superset/discussions/34297) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/dbc1b1ed-c0da-4b2c-b92e-2d3b4b29c1ed?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dbc1b1ed-c0da-4b2c-b92e-2d3b4b29c1ed?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dbc1b1ed-c0da-4b2c-b92e-2d3b4b29c1ed?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dbc1b1ed-c0da-4b2c-b92e-2d3b4b29c1ed?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dbc1b1ed-c0da-4b2c-b92e-2d3b4b29c1ed?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/dbc1b1ed-c0da-4b2c-b92e-2d3b4b29c1ed?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dbc1b1ed-c0da-4b2c-b92e-2d3b4b29c1ed?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35101) GitHub link: https://github.com/apache/superset/discussions/35101#discussioncomment-14368928 ---- This is an automatically sent email for notifications@superset.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@superset.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org