You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/06/13 12:38:28 UTC
[GitHub] [incubator-superset] dpgaspar removed a comment on issue #7703:
Relation "ab_user_role" does not exist
dpgaspar removed a comment on issue #7703: Relation "ab_user_role" does not exist
URL: https://github.com/apache/incubator-superset/issues/7703#issuecomment-501680536
Hi @dinhhuydh,
Still have not tested this, can you try and change `docker-init-sh`:
From:
```
set -ex
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
flask fab create-admin --app superset
# Initialize the database
superset db upgrade
if [ "$SUPERSET_LOAD_EXAMPLES" = "yes" ]; then
# Load some data to play with
superset load_examples
fi
# Create default roles and permissions
superset init
```
To:
```
set -ex
# Initialize the database
superset db upgrade
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
flask fab create-admin
if [ "$SUPERSET_LOAD_EXAMPLES" = "yes" ]; then
# Load some data to play with
superset load_examples
fi
# Create default roles and permissions
superset init
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org