You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ziggekatten (via GitHub)" <gi...@apache.org> on 2023/04/06 09:07:47 UTC
[GitHub] [superset] ziggekatten commented on issue #23608: Upgrade from 2.0.1 to 2.1.0 - no database menu
ziggekatten commented on issue #23608:
URL: https://github.com/apache/superset/issues/23608#issuecomment-1498733765
Update.
Running an superset init again, and it seems to try to create missing permissions every time, but starts with an warning:
`
/usr/local/lib/python3.8/site-packages/flask_appbuilder/models/sqla/interface.py:67:** SAWarning: relationship 'SqlaTable.slices' will copy column tables.id to column slices.datasource_id, which conflicts with relationship(s): 'Slice.table' (copies tables.id to slices.datasource_id). If this is not the intention, consider if these relationships should be linked with back_populates, or if viewonly=True should be applied to one or more if they are read-only. For the less common case that foreign key constraints are partially overlapping, the orm.foreign() annotation can be used to isolate the columns that should be written towards. To silence this warning, add the parameter 'overlaps="table"' to the 'SqlaTable.slices' relationship. (Background on this error at: https://sqlalche.me/e/14/qzyx)
for prop in class_mapper(obj).iterate_properties:
Syncing role definition
2023-04-06 11:04:57,253:INFO:superset.security.manager:Syncing role definition
Syncing Admin perms
2023-04-06 11:04:57,276:INFO:superset.security.manager:Syncing Admin perms
Syncing Alpha perms
2023-04-06 11:04:58,043:INFO:superset.security.manager:Syncing Alpha perms
Syncing Gamma perms
2023-04-06 11:04:58,847:INFO:superset.security.manager:Syncing Gamma perms
Syncing granter perms
2023-04-06 11:04:59,646:INFO:superset.security.manager:Syncing granter perms
Syncing sql_lab perms
2023-04-06 11:05:00,352:INFO:superset.security.manager:Syncing sql_lab perms
Fetching a set of all perms to lookup which ones are missing
2023-04-06 11:05:01,239:INFO:superset.security.manager:Fetching a set of all perms to lookup which ones are missing
Creating missing datasource permissions.
2023-04-06 11:05:02,073:INFO:superset.security.manager:Creating missing datasource permissions.
Creating missing database permissions.
2023-04-06 11:05:02,555:INFO:superset.security.manager:Creating missing database permissions.
Cleaning faulty perms
2023-04-06 11:05:02,583:INFO:superset.security.manager:Cleaning faulty perms
`
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org