[ 
https://issues.apache.org/jira/browse/AIRFLOW-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15623107#comment-15623107
 ] 

Rolf Schroeder commented on AIRFLOW-527:
----------------------------------------

Well, the problem is actually that one should not set "AIRFLOW_HOME" (as one 
did during the tutorial) but "AIRFLOW__CORE__HOME" as env var. The webserver 
will pick it up and correctly create the pid file.

> webserver subcommand does not seem to take $AIRFLOW_HOME into account
> ---------------------------------------------------------------------
>
>                 Key: AIRFLOW-527
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-527
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>    Affects Versions: Airflow 1.7.1
>            Reporter: Rolf Schroeder
>            Priority: Minor
>              Labels: easyfix
>
> I cannot start the webserver if the folder ~/airflow does not exist.
> $ mv ~/airflowx ~/airflowx/
> $ export AIRFLOW_HOME=~/airflowx
> $ airflow webserver -p 8080
> ...
> Running the Gunicorn server with 4 syncworkers on host 0.0.0.0 and port 8080 
> with a timeout of 120...
> [2016-09-23 12:25:39 +0000] [7833] [INFO] Starting gunicorn 19.3.0
> Error: /home/rschroeder/airflow doesn't exist. Can't create pidfile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to