apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
63.14k stars 13.99k forks source link

Thumbnails at Dashboards Menu stop working after 4.1.1 #31271

Open pcajubr opened 15 hours ago

pcajubr commented 15 hours ago

Bug description

After update version from 4.0.2 to 4.1.1 thumbnails are not working at Menu > Dashboards

From attatches you can sse working at Home and Charts

Screenshots/recordings

Superset thumbs - not working - dashboards Superset thumbs - working - charts Superset thumbs - working - home

Superset version

4.1.1

Python version

I don't know

Node version

I don't know

Browser

Chrome

Additional context

Python e Node verion is from Superset Image: "docker image build -t superset:4.1.1 ."

Checklist

dosubot[bot] commented 15 hours ago

Olá @pcajubr! Eu sou Dosu, um bot aqui para te ajudar a resolver bugs, responder perguntas e se tornar um colaborador. Estou aqui para te ajudar enquanto aguardamos um mantenedor humano. Vamos resolver isso juntos! 🤖

The issue with thumbnails not working in the Dashboards menu after upgrading to Superset 4.1.1 might be related to changes in how thumbnails are managed, particularly in terms of caching and asynchronous processing. In version 4.1.1, the /thumbnail/<digest>/ endpoint was updated to handle cache misses by initiating an asynchronous task to compute the thumbnail if it does not exist in the cache [1].

Here are a few things you can check or try:

  1. Feature Flags and Configuration: Ensure that the FeatureFlag.Thumbnails is enabled in your configuration. This flag controls the visibility of thumbnails in the frontend [2].

  2. Cache Configuration: Verify that your cache system is properly configured and operational. Thumbnails are stored in the cache, and any issues with the cache could affect their display.

  3. Celery Workers: Make sure that your Celery workers are running correctly, as they are responsible for processing the asynchronous tasks that generate thumbnails.

  4. Browser Cache: Clear your browser cache or try accessing the dashboard in an incognito window to rule out any caching issues on the client side.

  5. Logs and Errors: Check the Superset logs for any errors related to thumbnail generation or caching. This might provide more insight into what is going wrong.

If these steps do not resolve the issue, it might be helpful to look into any specific changes made to the DashboardCard component or related components between versions 4.0.2 and 4.1.1, as these could also impact thumbnail rendering.

To continue talking to Dosu, mention @dosu.