dosubot[bot] commented on issue #37357: URL: https://github.com/apache/superset/issues/37357#issuecomment-3784038903
<!-- Answer --> The log message "Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py]" means Superset is running with its default Docker config because no custom override was found or loaded. When you created superset_config_docker.py and "superset init" failed, it was likely due to a syntax or import error in that fileāSuperset only catches ImportError, so any other error will cause startup to fail and show a traceback in the logs[^1][^2]. To safely add custom config, copy docker/pythonpath_dev/superset_config_local.example to docker/pythonpath_dev/superset_config_docker.py and make minimal, syntactically correct changes. Restart your containers and check the logs for "Loaded your Docker configuration at [...]" to confirm it's loaded. If you see an error or "superset init" fails again, please share the contents of your superset_config_docker.py and any error messages from the logs for further help. If you remove superset_config_docker.py, Superset will always fall back to the default config, which is expected[^1][^2][^3]. [^1]: https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/pythonpath_dev/superset_config.py#L18-L139 [^2]: https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/README.md#L31-L51 [^3]: https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/pythonpath_dev/superset_config_local.example#L19-L27 <!-- 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/c7884f1c-65ee-421c-a669-488d22812af5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c7884f1c-65ee-421c-a669-488d22812af5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c7884f1c-65ee-421c-a669-488d22812af5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c7884f1c-65ee-421c-a669-488d22812af5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c7884f1c-65ee-421c-a669-488d22812af5?feedback_type=hallucination) | [Report š](https://app.dosu.dev/response-feedback/c7884f1c-65ee-421c-a669-488d22812af5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c7884f1c-65ee-421c-a669-488d22812af5?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=The%20log%20message%20%22Loaded%20your%20LOCAL%20configuration%20at%20%5B/app/docker/pythonpath_dev/superset_config.py%5D%22%20means%20Superset%20is%20running%20with%20its%20default%20Docker%20config%20because%20no%20custom%20override%20was%20found%20or%20loaded.%20When%20you%20created%20superset_config_docker.py%20and%20%22superset%20init%22%20failed%2C%20it%20was%20likely%20due%20to%20a%20syntax%20or%20import%20error%20in%20that%20file%E2%80%94Superset%20only%20catches%20ImportError%2C%20so%20any%20other%20error%20will%20cause%20startup%20to%20fail%20and%20show%20a%20traceback%20in%20the%20logs%5B%5E1%5D%5B%5E2%5D.%0A%0ATo%20safely%20add%20custom%20config%2C%20copy%20docker/pythonpath_dev/superset_config_local.example%20to%20docker/pythonpath_dev /superset_config_docker.py%20and%20make%20minimal%2C%20syntactically%20correct%20changes.%20Restart%20your%20containers%20and%20check%20the%20logs%20for%20%22Loaded%20your%20Docker%20configuration%20at%20%5B...%5D%22%20to%20confirm%20it%27s%20loaded.%20If%20you%20see%20an%20error%20or%20%22superset%20init%22%20fails%20again%2C%20please%20share%20the%20contents%20of%20your%20superset_config_docker.py%20and%20any%20error%20messages%20from%20the%20logs%20for%20further%20help.%20If%20you%20remove%20superset_config_docker.py%2C%20Superset%20will%20always%20fall%20back%20to%20the%20default%20config%2C%20which%20is%20expected%5B%5E1%5D%5B%5E2%5D%5B%5E3%5D.%0A%0A%5B%5E1%5D%3A%20https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/pythonpath_dev/superset_config.py%23L18-L139%0A%5B%5E2%5D%3A%20https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/README.md%23L31-L51%0A%5B%5E3%5D%3A%20https%3A//github.com/apache/superset/ blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/pythonpath_dev/superset_config_local.example%23L19-L27) [](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/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]
