You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Matthias Huschle (JIRA)" <ji...@apache.org> on 2016/10/31 16:03:58 UTC
[jira] [Commented] (AIRFLOW-527) webserver subcommand does not seem
to take $AIRFLOW_HOME into account
[ https://issues.apache.org/jira/browse/AIRFLOW-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15622567#comment-15622567 ]
Matthias Huschle commented on AIRFLOW-527:
------------------------------------------
Moving the home folder does not work, because the airflow.cfg has several entries with absolute paths, including 'airflow_home' in the [core] section. This results in the configuration.py finding and processing the correct airflow.cfg in airflowx/, but using the existing entries with the old paths from then on and handing it to the webserver routines. Changing the paths in your airflow.cfg should fix the problem.
> 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)