GitHub user sword141992 created a discussion: Critical Display Issues After 
Upgrading Superset from 4.0.1 to 6.0.0

Hi!

Issue Summary:

We successfully backed up our Superset database and migrated it to the new 
version 6.0.0. The database migration itself completed without errors. However, 
after the upgrade, we face critical display issues on almost all dashboards:

Broken CSS Rendering: The visual layout and styling of dashboards are severely 
impacted, making them unusable.

Dashboard Rendering Failures: Beyond CSS, some dashboards fail to load 
entirely. For example, a dashboard that worked in version 4.0.1 now fails in 
6.0.0 with the error:

```Data error: Duplicate column/metric labels: "diff", "diff_money_target". 
Please make sure all columns and metrics have a unique label.```

Our instance contains approximately 200 dashboards and nearly 1,000 datasets. 
Manually reviewing and fixing each dashboard to align with the new frontend 
structure and data validation rules is not a feasible solution due to the sheer 
volume and time required.

Root Cause Hypothesis:

The issues are likely caused by significant frontend refactoring and stricter 
data validation introduced between Superset versions 4.0.1 and 6.0.0 
(encompassing versions 5.x). This includes:

Changes in how dashboard CSS and layout properties are interpreted.

New validation rules (like the enforcement of unique labels for 
columns/metrics) that are now breaking previously valid dashboards.

Our Need:

We require a strategy to upgrade the platform's core functionality and security 
to version 6.0.0 while preserving the integrity and functionality of our 
existing dashboards. A process that avoids manual, per-dashboard edits is 
essential for this upgrade to be viable.

Any detailed instructions, pointers to relevant documentation, scripts, or 
proven strategies from the community or core team would be invaluable.

Thank you!

GitHub link: https://github.com/apache/superset/discussions/37145

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to