Skip to content

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: session #22012

Description

@iamhimanshu0

Apache Airflow version

2.2.4 (latest released)

What happened

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 XXX@gmail.com

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

Screenshot from 2022-03-05 10-27-20

Can anyone help me with what I'm doing wrong?
Thanks

What you expected to happen

No response

How to reproduce

No response

Operating System

Ubuntu 20.0.4

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions