You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 03:20:21 UTC
Re: [D] Unable to view dashboard post version upgrade from 4.0.0 to 4.1.2 [superset]
GitHub user dosubot[bot] edited a comment on the discussion: Unable to view dashboard post version upgrade from 4.0.0 to 4.1.2
<!-- Answer -->
To resolve the `MySQLdb.OperationalError` related to the unknown column `slices.catalog_perm` after upgrading Apache Superset from version 4.0.0 to 4.1.2, you need to ensure that the database migrations have been applied correctly. This error indicates that the `catalog_perm` column is missing in the `slices` table, which should have been added by the migration script identified by the revision ID `58d051681a3b`.
Here are the steps you should follow:
1. **Re-run the Database Migrations**: Execute the following command to apply all pending migrations, including the one that adds the `catalog_perm` column to the `slices` table:
```bash
superset db upgrade
```
2. **Verify the Migration**: Ensure that the migration script `58d051681a3b` has been applied successfully. You can check the applied migrations in your database's `alembic_version` table.
3. **Restart the Superset Server**: After successfully applying the migrations, restart your Superset server to ensure all changes are loaded.
If you have already modified the upgrade function as per the GitHub issue you referenced, ensure that the changes are correct and that the migration script is not being skipped or altered in a way that prevents the `catalog_perm` column from being added.
If the issue persists, double-check the migration scripts and ensure that your database schema matches the expected structure for version 4.1.2 <sup>[[1]](https://github.com/apache/superset/blob/master/superset/migrations/versions/2024-05-01_10-52_58d051681a3b_add_catalog_perm_to_tables.py)</sup>.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=05008a4d-9d64-4354-bad1-10bcf0713013) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/33510#discussioncomment-13191040
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org