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 --> The error happens because the default Superset Docker setup does not include Playwright and Chromium, which are required for thumbnail generation. Enabling the relevant feature flags in your config is necessary, but you also need to make sure the Docker image actually installs these browser dependencies. To fix this: 1. In your `docker/.env` file, set `ENABLE_PLAYWRIGHT=true`. 2. When building your Docker image, set the build argument `INCLUDE_CHROMIUM=true`. For example, if using `docker-compose`, you can set `INCLUDE_CHROMIUM=true` in your environment or override it in your compose file. 3. Rebuild your Docker images and restart your containers so that both the `superset` and `superset_worker` containers have Chromium and Playwright installed. This ensures the Docker build runs the necessary steps to install Playwright and Chromium, making the executable available at the expected path. If you skip these steps, the error about the missing executable will persist because the browser is not present in the container environment. For reference, see the [Dockerfile logic](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/Dockerfile) and [docker-compose configuration](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker-compose.yml). After rebuilding, you can verify Chromium is installed by running `playwright show-browser chromium` or checking for the executable in `/root/.cache/ms-playwright/` inside the container. Feature flags in your config enable the thumbnail functionality, but the actual browser dependencies must be present in the container for it to work. This setup is not enabled by default in the official Docker images for development, so explicit configuration is required for thumbnail generation to succeed. <!-- 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/f61c63b1-138d-46b3-b4f6-d9ef5b85eaca?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f61c63b1-138d-46b3-b4f6-d9ef5b85eaca?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f61c63b1-138d-46b3-b4f6-d9ef5b85eaca?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f61c63b1-138d-46b3-b4f6-d9ef5b85eaca?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f61c63b1-138d-46b3-b4f6-d9ef5b85eaca?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f61c63b1-138d-46b3-b4f6-d9ef5b85eaca?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f61c63b1-138d-46b3-b4f6-d9ef5b85eaca?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-14368818 ---- 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