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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to