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

   <!-- Answer -->
   APP_ICON is still the correct config for customizing the logo in Superset 
v5, but there are a few common reasons why your override might not work:
   
   - superset_config.py must be on the PYTHONPATH or its location specified via 
the SUPERSET_CONFIG_PATH environment variable. If it's not loaded, your changes 
won't take effect. You can test if your config is loaded by adding a deliberate 
syntax error or a visible config change (like changing LOGO_RIGHT_TEXT) and 
checking if it appears in the UI or logs.  
   - The path you set for APP_ICON must be accessible to the Superset web 
server and served as a static asset. If the image isn't found or isn't in the 
right static directory, the default logo will show instead.  
   - In Docker, make sure your custom superset_config.py is mounted or copied 
into the container in a location that is actually used at runtime.  
   - Browser or server-side caching can cause old assets to persist—try 
clearing your cache or doing a hard refresh.
   
   Note that APP_ICON_WIDTH has been removed in v5; logo sizing is now handled 
automatically by the UI with a max width of 148px, so you don't need to set 
this anymore 
[(source)](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/UPDATING.md).
   
   If you confirm your config is loaded and the asset path is correct but still 
see the default logo, double-check your deployment setup, especially if you're 
using Docker or a custom static file server 
[(source)](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/config.py).
 If you want to share more about your deployment or logs, I can help debug 
further.
   
   
   <!-- 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/5f90f482-8bd0-4bb7-853c-8c23b76a4a7d?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/5f90f482-8bd0-4bb7-853c-8c23b76a4a7d?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/5f90f482-8bd0-4bb7-853c-8c23b76a4a7d?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/5f90f482-8bd0-4bb7-853c-8c23b76a4a7d?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/5f90f482-8bd0-4bb7-853c-8c23b76a4a7d?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/5f90f482-8bd0-4bb7-853c-8c23b76a4a7d?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/5f90f482-8bd0-4bb7-853c-8c23b76a4a7d?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/34612)


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