dosubot[bot] commented on issue #34896: URL: https://github.com/apache/superset/issues/34896#issuecomment-3235287389
<!-- Greeting --> Hi @worldofchu! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> Running Superset 5.0.0 under a subpath like `/superset` in Kubernetes (with Bitnami) is not fully supported due to known bugs and hardcoded paths in that version. Even with the correct settings, you will likely encounter broken redirects, missing prefixes in API calls, and static asset issues. These problems are fixed only in versions released after mid-August 2025. If you still want to try, set `SUPERSET_APP_ROOT`, `APPLICATION_ROOT`, and `STATIC_ASSETS_PREFIX` to `/superset` in both your environment variables and `superset_config.py`, and set `ENABLE_PROXY_FIX = True`. In your Kubernetes deployment, use the Bitnami Helm chart's `extraEnv` or `extraEnvRaw` to inject `SUPERSET_APP_ROOT`. Your Nginx (or ingress) config should proxy `/superset/` to the backend and set `proxy_set_header X-Forwarded-Prefix /superset/` (not `X-Script-Name`) for best compatibility. Example config and more details: [issue comment](https://github.com/apache/superset/issues/33226#issuecomment-2827030974). However, even with all this, 5.0.0 will not fully work under a subpath due to frontend bugs. The only robust solution is to upgrade to a newer Superset version that includes the recent fixes ([PR 34395](https://github.com/apache/superset/pull/34395), [PR 34680](https://github.com/apache/superset/pull/34680)) [source](https://github.com/apache/superset/issues/34773#issuecomment-3206615392). If you must stay on 5.0.0, there is no complete workaround—expect broken links and features. For reference, see the [Bitnami Helm chart docs](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/values.yaml) for how to set extra environment variables. More background and troubleshooting: - [Subpath deployment limitations](https://github.com/apache/superset/issues/33226#issuecomment-2826782264) - [Known bugs and upgrade advice](https://github.com/apache/superset/issues/34773#issuecomment-3206615392) - [Feature status and config tips](https://github.com/apache/superset/discussions/33414#discussioncomment-13559385) <!-- 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/691271cd-7483-45bb-ab2a-6d1bb52eff66?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/691271cd-7483-45bb-ab2a-6d1bb52eff66?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/691271cd-7483-45bb-ab2a-6d1bb52eff66?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/691271cd-7483-45bb-ab2a-6d1bb52eff66?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/691271cd-7483-45bb-ab2a-6d1bb52eff66?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/691271cd-7483-45bb-ab2a-6d1bb52eff66?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/691271cd-7483-45bb-ab2a-6d1bb52eff66?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](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/issues/34896) -- 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]
