Following official instructions I got this:
Admin user does not exist.
Even though I ran superset fab create-admin
and everything was ok.
Following official instructions I got this:
Admin user does not exist.
Even though I ran superset fab create-admin
and everything was ok.
I found the reason is load_examples
requires the exact name admin
as the username for the administrator. I changed it to admin1
and it was not recognized.
This should be mentioned in the docs.
I solved it by removing the db and then re-initializing it, as follows:
Delete db:
cd /home/<user>/.superset/
rm -f superset.db
Reinitialize database:
superset db upgrade
Repeat the procedure according with the doc:
export FLASK_APP=superset
superset fab create-admin
And it should work properly:
Username [admin]: admin
User first name [admin]:
User last name [user]:
Email [admin@fab.org]:
Password:
Repeat for confirmation:
Recognized Database Authentications.
Admin User admin created.