Users table not created even after running airflow db init #13016
Answered
by
XD-DENG
shubhamc183
asked this question in
Q&A
-
|
I have installed the airflow version 1.10.12 and connected it to a fresh d/b. I have integrated Airflow with Google OAuth but when I'm login into Airflow. I am getting an error that I also see this in the scheduler logs After running Output of |
Beta Was this translation helpful? Give feedback.
Answered by
XD-DENG
Dec 14, 2020
Replies: 2 comments 2 replies
-
|
Output of |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
XD-DENG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I think a few things have been mixed here:
userstable is only for theFlask-Adminbased UI; If you are using RBAC UI which isFlask-AppBuilderbased, the users you create are in tableab_useranduserswill not exist.airflow db initis the new style CLI introduced in 2.0.0 (it's also available in 1.10.13/14 which are bridge versions). I'm not even sure ifairflow db initwould work in 1.10.12. Instead, you may useairflow initdbin 1.10.12.What I would suggest is: