rahulgang06 opened a new issue, #37377:
URL: https://github.com/apache/airflow/issues/37377
### Apache Airflow version
2.8.1
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
Installed airflow and while doing airflow db init it's showing error
Traceback (most recent call last):
File "/home/rahul/airflow_env/bin/airflow", line 8, in <module>
sys.exit(main())
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/__main__.py",
line 57, in main
args.func(args)
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/cli/cli_config.py",
line 49, in command
return func(*args, **kwargs)
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/utils/providers_configuration_loader.py",
line 55, in wrapped_function
return func(*args, **kwargs)
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/cli/commands/db_command.py",
line 53, in initdb
db.initdb()
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/utils/session.py",
line 79, in wrapper
return func(*args, session=session, **kwargs)
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/utils/db.py",
line 733, in initdb
_create_db_from_orm(session=session)
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/utils/db.py",
line 718, in _create_db_from_orm
_create_flask_session_tbl(engine.url)
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/utils/db.py",
line 711, in _create_flask_session_tbl
db = _get_flask_db(sql_database_uri)
File
"/home/rahul/airflow_env/lib/python3.10/site-packages/airflow/utils/db.py",
line 700, in _get_flask_db
AirflowDatabaseSessionInterface(app=flask_app, db=db, table="session",
key_prefix="")
TypeError: SqlAlchemySessionInterface.__init__() missing 6 required
positional arguments: 'sequence', 'schema', 'bind_key', 'use_signer',
'permanent', and 'sid_length'
### What you think should happen instead?
_No response_
### How to reproduce
please resolve error
### Operating System
ubuntu
### Versions of Apache Airflow Providers
_No response_
### Deployment
Official Apache Airflow Helm Chart
### 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
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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]