You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "alice45678 (via GitHub)" <gi...@apache.org> on 2024/02/21 18:54:01 UTC

[I] Not able to open Airflow UI [airflow]

alice45678 opened a new issue, #37600:
URL: https://github.com/apache/airflow/issues/37600

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.6.1
   
   ### What happened?
   
   Dear Airflow team,
   
   I am not able to open the airflow UI, 
   I am using mysql version 8.0.15, airflow version 2.6.1
   I got the warning when I do $ airflow db init 
   and when I open the UI, I saw nothing but the photo
   ![Screen Shot 2024-02-21 at 19 34 41](https://github.com/apache/airflow/assets/39770544/60044d8a-293f-4365-b1ab-cca94a6b9ad8)
   
   (myenv) $ airflow db init
   DB: mysql+pymysql://root:***@localhost/airflow_db
   [2024-02-21T19:43:00.455+0100] {migration.py:207} INFO - Context impl MySQLImpl.
   [2024-02-21T19:43:00.462+0100] {migration.py:210} INFO - Will assume non-transactional DDL.
   [2024-02-21T19:43:00.782+0100] {migration.py:207} INFO - Context impl MySQLImpl.
   [2024-02-21T19:43:00.783+0100] {migration.py:210} INFO - Will assume non-transactional DDL.
   [2024-02-21T19:43:00.791+0100] {db.py:1589} INFO - Creating tables
   INFO  [alembic.runtime.migration] Context impl MySQLImpl.
   INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
   WARNI [airflow.task.operators] Dependency <Task(BashOperator): create_entry_group>, delete_entry_group already registered for DAG: example_complex
   WARNI [airflow.task.operators] Dependency <Task(BashOperator): delete_entry_group>, create_entry_group already registered for DAG: example_complex
   WARNI [airflow.task.operators] Dependency <Task(BashOperator): create_entry_gcs>, delete_entry already registered for DAG: example_complex
   WARNI [airflow.task.operators] Dependency <Task(BashOperator): delete_entry>, create_entry_gcs already registered for DAG: example_complex
   WARNI [airflow.task.operators] Dependency <Task(BashOperator): create_tag>, delete_tag already registered for DAG: example_complex
   WARNI [airflow.task.operators] Dependency <Task(BashOperator): delete_tag>, create_tag already registered for DAG: example_complex
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): print_the_context>, log_sql_query already registered for DAG: example_python_operator
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): log_sql_query>, print_the_context already registered for DAG: example_python_operator
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): print_the_context>, log_sql_query already registered for DAG: example_python_operator
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): log_sql_query>, print_the_context already registered for DAG: example_python_operator
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): print_the_context>, log_sql_query already registered for DAG: example_python_operator
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): log_sql_query>, print_the_context already registered for DAG: example_python_operator
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): print_the_context>, log_sql_query already registered for DAG: example_python_operator
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): log_sql_query>, print_the_context already registered for DAG: example_python_operator
   WARNI [unusual_prefix_c51ac067573bef0b3e8c22a89db472059b13f5ee_example_python_operator] The virtalenv_python example task requires virtualenv, please install it.
   WARNI [unusual_prefix_7d5b5aa9f8c711a118980ba55bb60d4f2ae4abfc_tutorial_taskflow_api_virtualenv] The tutorial_taskflow_api_virtualenv example DAG requires virtualenv, please install it.
   WARNI [airflow.task.operators] Dependency <Task(_PythonDecoratedOperator): prepare_email>, send_email already registered for DAG: example_dag_decorator
   WARNI [airflow.task.operators] Dependency <Task(EmailOperator): send_email>, prepare_email already registered for DAG: example_dag_decorator
   WARNI [airflow.models.crypto] empty cryptography key - values will not be stored encrypted.
   Initialization done
   
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   modified airflow/airflow.cfg 
   sql_alchemy_conn = mysql+pymysql://root:123456Abc@localhost/airflow_db
   
   airflow version 2.6.1
   mysql version 8.0.15
   $ airflow db init
   $ airflow webserver -p 8080 -D
   $ airflow scheduler -D
   
   Host: 0.0.0.0:8080
   
   ### Operating System
   
   macOS High Sierra 10.13.6
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Not able to open Airflow UI [airflow]

Posted by "alice45678 (via GitHub)" <gi...@apache.org>.
alice45678 closed issue #37600: Not able to open Airflow UI
URL: https://github.com/apache/airflow/issues/37600


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Not able to open Airflow UI [airflow]

Posted by "alice45678 (via GitHub)" <gi...@apache.org>.
alice45678 commented on issue #37600:
URL: https://github.com/apache/airflow/issues/37600#issuecomment-1957712323

   Fixed it. Thank you!


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Not able to open Airflow UI [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #37600:
URL: https://github.com/apache/airflow/issues/37600#issuecomment-1957696862

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org