You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Andreas Költringer (JIRA)" <ji...@apache.org> on 2019/04/13 10:56:00 UTC
[jira] [Updated] (AIRFLOW-4305) DAGs not showing in Web UI
[ https://issues.apache.org/jira/browse/AIRFLOW-4305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Költringer updated AIRFLOW-4305:
----------------------------------------
Description:
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.
Some more facts:
* 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]
* Also, the version with {{airflow upgradedb}} works as expected with {{v1.10.2}}.
was:
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
> 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
> Priority: Major
>
> 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.
> Some more facts:
> * 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]
> * Also, the version with {{airflow upgradedb}} works as expected with {{v1.10.2}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)