I've installed Apache Airflow version 2.2.4 on my system Ubuntu 20.0.4 LTS and I'm using these steps
- export AIRFLOW_HOME=~/airflow
- pip3 install apache-airflow
- airflow db init
- airflow users create --username admin --firstname XXXX --lastname XXX --role Admin --email [email protected]
When I'm running my server using this command
- airflow webserver -p 8080
I've got an error saying
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: session
How can I solve this error?

airflow db init