crucialfelix opened a new issue #16247: URL: https://github.com/apache/superset/issues/16247
Following the documentation: ``` docker-compose -f docker-compose-non-dev.yml up ``` ### Expected results it should initialize and startup. ### Actual results superset_init fails due to a missing table. ``` superset_init | sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "ab_permission_view_role" does not exist superset_init | LINE 2: FROM ab_role LEFT OUTER JOIN (ab_permission_view_role AS ab_... superset_init | ^ superset_init | superset_init | [SQL: SELECT ab_role.id AS ab_role_id, ab_role.name AS ab_role_name, ab_permission_view_1.id AS ab_permission_view_1_id, ab_permission_view_1.permission_id AS ab_permission_view_1_permission_id, ab_permission_view_1.view_menu_id AS ab_permission_view_1_view_menu_id superset_init | FROM ab_role LEFT OUTER JOIN (ab_permission_view_role AS ab_permission_view_role_1 JOIN ab_permission_view AS ab_permission_view_1 ON ab_permission_view_1.id = ab_permission_view_role_1.permission_view_id) ON ab_role.id = ab_permission_view_role_1.role_id] ``` #### How to reproduce the bug docker-compose -f docker-compose-non-dev.yml up ### Environment - superset version: `superset version` I tried both: Today's master: d6f9c48aa1ed3f02f1d97f8fe3447798d2414544 tag: v2021.31.0 which looks like it was the last release Though I guess in both cases it is only using the docker-compose file. Its the image that it's loading that is not working. I also tried changing the docker-compose to point at master-dev rather than latest-dev: x-superset-image: &superset-image apache/superset:master-dev and x-superset-image: &superset-image apache/superset:latest ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context Thanks, the project looks very interesting! -- 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]
