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

   <!-- Answer -->
   This usually means Superset isn't loading your config file or isn't running 
your mutate_app function, so your custom IndexView isn't being registered and 
Superset falls back to the default welcome page 
([details](https://github.com/apache/superset/issues/34441), 
[discussion](https://github.com/apache/superset/discussions/34530)). 
   
   To troubleshoot:
   1. Confirm your deployment method (Docker, Docker Compose, or bare metal) 
and the exact location/name of your config file.
   2. Add raise Exception("test") at the very top of your config file, restart 
Superset, and check the logs—if you don't see this error, your config isn't 
being loaded.
   3. Add a print or log statement inside your mutate_app function to confirm 
it runs at startup.
   4. Make sure you have FLASK_APP_MUTATOR = mutate_app at the bottom of your 
config, and remove any FAB_INDEX_VIEW setting.
   5. If using Docker Compose, your config should be at 
./docker/pythonpath_dev/superset_config_docker.py on the host, and you must 
restart all containers after changes.
   
   Once you've confirmed the config is loaded and mutate_app runs, visit the 
root URL (/) and you should see your redirect. If not, please share your config 
snippet (with sensitive info removed) and any relevant log output from these 
steps.
   
   
   <!-- 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/2b4a5892-b287-4d6a-9e98-fc1cc7ef5d8b?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/2b4a5892-b287-4d6a-9e98-fc1cc7ef5d8b?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/2b4a5892-b287-4d6a-9e98-fc1cc7ef5d8b?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/2b4a5892-b287-4d6a-9e98-fc1cc7ef5d8b?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/2b4a5892-b287-4d6a-9e98-fc1cc7ef5d8b?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/2b4a5892-b287-4d6a-9e98-fc1cc7ef5d8b?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/2b4a5892-b287-4d6a-9e98-fc1cc7ef5d8b?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?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/34575)


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