dosubot[bot] commented on issue #37357:
URL: https://github.com/apache/superset/issues/37357#issuecomment-3783696072

   <!-- Answer -->
   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!
   
   
   <!-- 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/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)</sup>
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](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%20Superse
 
t%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)&nbsp;[![Join
 Discord](https://img.shields.io/badge/join-586
 
5F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/37357)


-- 
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]

Reply via email to