Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnails at Dashboards Menu stop working after 4.1.1 #31271

Closed
3 tasks done
pcajubr opened this issue Dec 3, 2024 · 5 comments
Closed
3 tasks done

Thumbnails at Dashboards Menu stop working after 4.1.1 #31271

pcajubr opened this issue Dec 3, 2024 · 5 comments
Labels
listview:dashboards Related to the Dashboards' list

Comments

@pcajubr
Copy link

pcajubr commented Dec 3, 2024

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

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
@dosubot dosubot bot added the listview:dashboards Related to the Dashboards' list label Dec 3, 2024
Copy link

dosubot bot commented Dec 3, 2024

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.

@frlm
Copy link

frlm commented Dec 5, 2024

I'm observing the same issue

@sfirke
Copy link
Member

sfirke commented Dec 5, 2024

Could one of you check the logs when the thumbnail job runs and see if that yields anything? I'm wondering if it could be related to #31283

@pcajubr
Copy link
Author

pcajubr commented Dec 6, 2024

I have this error you mentioned.

logs celery

@sfirke
Copy link
Member

sfirke commented Dec 6, 2024

Thanks @pcajubr ! With that log, I think we can mark this a duplicate of #31283, which has a fix PR in progress that looks very close to the finish line. I will mark that PR for inclusion in the next patch release version, 4.1.2.

@sfirke sfirke closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
listview:dashboards Related to the Dashboards' list
Projects
None yet
Development

No branches or pull requests

3 participants