nicnguyen3103 opened a new issue #22338: URL: https://github.com/apache/airflow/issues/22338
### Apache Airflow version 2.2.4 (latest released) ### What happened I was performing update for my swarm cluster from 2.2.2 to 2.2.4. After airflow db upgrade, both worker and scheduler can start just fine but the airflow webserver returns error: invalid command 'webserver'. I exec into the worker container and try to start the webserver manually from there to reproduce the issue. Here is the screenshot from the CLI of the worker container when I try to start the webserver there  ### What you think should happen instead I have no idea how to fix this issue as the airflow webserver start but then stop to yield command error, which is quite weird. ### How to reproduce here is the command in the dockerfile for a clean airflow setup on my side RUN . $AIRFLOW_VENV/bin/activate && pip install 'apache-airflow[mysql,amazon,celery,papermill,ssh]==2.2.4' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.4/constraints-3.8.txt" RUN . $AIRFLOW_VENV/bin/activate && pip install -r $HOME/requirements-extend-airflow.txt with requirements-extend-airflow.txt contains `apache-airflow[statsd] apache-airflow[sentry] sentry-sdk==1.1.0 blinker==1.4 cached-property==1.5.1 mysqlclient==2.0.1 Flask-Bcrypt==0.7.1 Flask-OAuthlib==0.9.5 virtualenv==20.10.0` ### Operating System Ubuntu "20.04.2 LTS (Focal Fossa)" ### Versions of Apache Airflow Providers apache-airflow-providers-amazon==3.0.0 apache-airflow-providers-celery==2.1.0 apache-airflow-providers-ftp==2.0.1 apache-airflow-providers-http==2.0.3 apache-airflow-providers-imap==2.2.0 apache-airflow-providers-mysql==2.2.0 apache-airflow-providers-papermill==2.2.0 apache-airflow-providers-sqlite==2.1.0 apache-airflow-providers-ssh==2.3.0 ### Deployment Docker-Compose ### Deployment details Remote logs on s3 ### 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]
