esko22 commented on issue #16922:
URL: https://github.com/apache/superset/issues/16922#issuecomment-949904554
@srinify - Howdy! I am having the same issue as Jim, however, I am running
on Mac. I was able to term into the app container and run the `superset db
upgrade` command as you mentioned above. It produces the same errors as seen
when running compose up on either dev or non-dev configs.
There seems to be another issue upstream of the missing `report_schedule`
relationship.
```Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py",
line 1276, in _execute_context
self.dialect.do_execute(
File
"/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line
608, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.UndefinedTable: relation "ab_permission_view_role" does not
exist
LINE 2: FROM ab_role LEFT OUTER JOIN (ab_permission_view_role AS ab_...
[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
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]```
```
I attached to the db instance and it appears that the
`ab_permission_view_role` has not been created.
The following tables where created -
```
ab_permission
ab_permission_view
ab_register_user
ab_role
ab_user
ab_view_menu
```
--
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]