Hariprasath-0018 commented on issue #37357: URL: https://github.com/apache/superset/issues/37357#issuecomment-3784000704
Hi Dosu, I attempted to create a new file named superset_config_docker.py and then restarted the Superset container. After that, running superset init failed. Subsequently, I removed the file and restarted the container again. The container is now running, but in the logs, I see the following message: Log - Init Step 1/4 [Starting] -- Applying DB migrations ###################################################################### Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py] It seems the container is still picking up a configuration file even after removing the new file. Could you please advise on how to resolve this issue? Thanks, Hariprasath N On Thu, 22 Jan 2026 at 16:09, dosubot[bot] ***@***.***> wrote: > *dosubot[bot]* left a comment (apache/superset#37357) > <https://github.com/apache/superset/issues/37357#issuecomment-3783696072> > > Your config changes aren’t being picked up because, in Docker Compose, > Superset only loads custom config from > docker/pythonpath_dev/superset_config_docker.py—not from > superset_config.py elsewhere. This is why your alerts/reports aren’t > triggering, even though everything looks correct in your current config. > > To fix this: > > 1. Copy your custom settings (feature flags, CeleryConfig, SMTP, > Playwright, etc.) into docker/pythonpath_dev/superset_config_docker.py. > Use superset_config_local.example as a template if needed. > 2. Restart (or rebuild) all Superset containers. > 3. Check your container logs for a message like Loaded your Docker > configuration at [...] to confirm the override is loaded. If you see Using > default Docker config..., your override wasn’t found. > 4. Once loaded, your scheduled reports and emails should start working > as expected. > > More details and confirmation of this config loading behavior are in the official > Docker README > <https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/README.md#L31-L39> > and docker config file > <https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/pythonpath_dev/superset_config.py#L18-L138> > . > > Let me know if moving your config and restarting fixes the issue! > > *To reply, just mention @dosu <https://go.dosu.dev/dosubot>.* > ------------------------------ > > How did I do? Good > <https://app.dosu.dev/response-feedback/e1d0b739-6ed6-4b3c-a8bb-5eac0a711abb?feedback_type=great_response> > | Irrelevant > <https://app.dosu.dev/response-feedback/e1d0b739-6ed6-4b3c-a8bb-5eac0a711abb?feedback_type=irrelevant_answer> > | Incorrect > <https://app.dosu.dev/response-feedback/e1d0b739-6ed6-4b3c-a8bb-5eac0a711abb?feedback_type=incorrect_sources> > | Verbose > <https://app.dosu.dev/response-feedback/e1d0b739-6ed6-4b3c-a8bb-5eac0a711abb?feedback_type=too_verbose> > | Hallucination > <https://app.dosu.dev/response-feedback/e1d0b739-6ed6-4b3c-a8bb-5eac0a711abb?feedback_type=hallucination> > | Report 🐛 > <https://app.dosu.dev/response-feedback/e1d0b739-6ed6-4b3c-a8bb-5eac0a711abb?feedback_type=bug_report> > | Other > <https://app.dosu.dev/response-feedback/e1d0b739-6ed6-4b3c-a8bb-5eac0a711abb?feedback_type=other> > > [image: Chat with Dosu] > <https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github> > [image: Open in Cursor] > <https://cursor.com/link/prompt?text=Your%20config%20changes%20aren%E2%80%99t%20being%20picked%20up%20because%2C%20in%20Docker%20Compose%2C%20Superset%20only%20loads%20custom%20config%20from%20%60docker/pythonpath_dev/superset_config_docker.py%60%E2%80%94not%20from%20%60superset_config.py%60%20elsewhere.%20This%20is%20why%20your%20alerts/reports%20aren%E2%80%99t%20triggering%2C%20even%20though%20everything%20looks%20correct%20in%20your%20current%20config.%0A%0ATo%20fix%20this%3A%0A1.%20Copy%20your%20custom%20settings%20%28feature%20flags%2C%20CeleryConfig%2C%20SMTP%2C%20Playwright%2C%20etc.%29%20into%20%60docker/pythonpath_dev/superset_config_docker.py%60.%20Use%20%60superset_config_local.example%60%20as%20a%20template%20if%20needed.%0A2.%20Restart%20%28or%20rebuild%29%20all%20Superset%20containers.%0A3.%20Check%20your%20container%20logs%20for%20a%20message%20like%20%60Loaded%20your%20Docker%20configuration%20at%20%5B...%5D%60%20to%20confirm%20the%20override%20is%20loaded.%20If% 20you%20see%20%60Using%20default%20Docker%20config...%60%2C%20your%20override%20wasn%E2%80%99t%20found.%0A4.%20Once%20loaded%2C%20your%20scheduled%20reports%20and%20emails%20should%20start%20working%20as%20expected.%0A%0AMore%20details%20and%20confirmation%20of%20this%20config%20loading%20behavior%20are%20in%20the%20%5Bofficial%20Docker%20README%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/README.md%23L31-L39%29%20and%20%5Bdocker%20config%20file%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/pythonpath_dev/superset_config.py%23L18-L138%29.%0A%0ALet%20me%20know%20if%20moving%20your%20config%20and%20restarting%20fixes%20the%20issue%21> > [image: Join Discord] <https://go.dosu.dev/discord-bot> [image: Share on > X] > <https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/37357> > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/superset/issues/37357#issuecomment-3783696072>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BCNYORXIF7GXQ2GYYDZXQE34ICSGVAVCNFSM6AAAAACSQNNHUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOOBTGY4TMMBXGI> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > -- 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]
