dosubot[bot] commented on issue #32898: URL: https://github.com/apache/superset/issues/32898#issuecomment-2761486084
<!-- Answer --> I found a similar closed issue related to installing Superset via Docker-compose, which might be relevant to your problem. The issue was closed by a pull request that added a non-dev Docker-compose workflow <sup>[[1]](https://github.com/apache/superset/issues/9880)</sup>. For your specific issue with the 'broken image' icon and 'Close' button appearing on the Superset login page, it seems like there might be a problem with static assets or image loading. Superset handles static assets in Docker by continuing to build assets in the background even after `docker-compose` indicates completion. To resolve 404 errors for static assets, you should monitor the container logs to confirm when the asset building process is actually finished <sup>[[2]](https://github.com/apache/superset/issues/31890)</sup>. Additionally, if you encounter infinite loading issues after login, it may be due to webpack build issues. You can manually ensure that webpack properly builds all frontend assets by executing the following commands: ```bash cd superset-frontend/ npm install -f --no-optional --global webpack webpack-cli npm install -f --no-optional npm install -f --global webpack webpack-cli npm install -f npm run dev cd .. docker compose -f docker-compose-non-dev.yml up cd superset docker compose down docker compose up ``` This process ensures that all necessary assets are built before running the Docker containers, which should resolve the 404 errors and infinite loading issues <sup>[[3]](https://github.com/apache/superset/issues/32187)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/8589b86b-b2a2-4f5a-a0ea-6b660b0e3751?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/8589b86b-b2a2-4f5a-a0ea-6b660b0e3751?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/8589b86b-b2a2-4f5a-a0ea-6b660b0e3751?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/8589b86b-b2a2-4f5a-a0ea-6b660b0e3751?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8589b86b-b2a2-4f5a-a0ea-6b660b0e3751?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/8589b86b-b2a2-4f5a-a0ea-6b660b0e3751?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8589b86b-b2a2-4f5a-a0ea-6b660b0e3751?feedback_type=other)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
