Andreas Költringer created AIRFLOW-4305:
-------------------------------------------
Summary: DAGs not showing in Web UI
Key: AIRFLOW-4305
URL: https://issues.apache.org/jira/browse/AIRFLOW-4305
Project: Apache Airflow
Issue Type: Bug
Components: webapp
Affects Versions: 1.10.3
Environment: Linux (archlinux), Pyton 3.7
Reporter: Andreas Költringer
Dags do not show up in the Web UI for new airflow instances.
Steps to reproduce:
{{mkdir temp && cd temp}}
{{python -m venv venv}}
{{source venv/bin/activate}}
{{pip install
apache-airflow[celery,rabbitmq,crypto,password,postgres]==1.10.3}}
{{export AIRFLOW_HOME=$(pwd)}}
{{airflow upgradedb}}
{{airflow webserver}}
Neither the "example dags" nor any dags dropped into {{dags/}} show up.
Interestingly, when replacing {{airflow upgradedb}} with {{airflow initdb}} it
works as expected. I thought, using {{airflow upgradedb}} was safe b/c it is
mentioned here:
https://medium.com/datareply/airflow-lesser-known-tips-tricks-and-best-practises-cf4d4a90f8f
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)