dheeraj-chaudhari edited a comment on issue #12941:
URL: https://github.com/apache/superset/issues/12941#issuecomment-912105686


   I was getting the same issue. If you are using docker image, then you modify 
DATABASE_URI to point to postgres in config.py and delete 
superset_home/superser_db and then restart the container. After you restart the 
container you will see 8 tables created in your postgres. Then run the below 
commands
   
   - superset db upgrade
      --you will see 57 tables created in Postgres
   
   - superset fab create-admin \
                  --username admin \
                  --firstname Superset \
                  --lastname Admin \
                  --email [email protected] \
                  --password admin
      -- you should see admin user created in ab_user table.
   
   Make sure you should not have /app/superset_home/superser_db file created 
when you restart container else its still referring to sqlite
   


-- 
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]

Reply via email to