You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/28 09:35:42 UTC

[GitHub] [airflow] gelinger777 opened a new issue #14526: Docker Compose logic broken. Init not happening

gelinger777 opened a new issue #14526:
URL: https://github.com/apache/airflow/issues/14526


   
   **Apache Airflow version**:
   2.0.1
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   n.a
   **Environment**:
   Docker 
   - **Cloud provider or hardware configuration**:
   
   Dedicated Server
   
   - **OS** (e.g. from /etc/os-release):
   
   Ubuntu 18.4 
   
   - **Kernel** (e.g. `uname -a`):
   Linux gelinger.at 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   
   
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   when I try to init the airflow via docker-compose I get following error 
   
   
   ```
   airflow-init_1       | BACKEND=postgresql+psycopg2
   airflow-init_1       | DB_HOST=postgres
   airflow-init_1       | DB_PORT=5432
   airflow-init_1       | 
   airflow-init_1       | Traceback (most recent call last):
   airflow-init_1       |   File "/home/airflow/.local/bin/airflow", line 5, in <module>
   airflow-init_1       |     from airflow.__main__ import main
   airflow-init_1       | ModuleNotFoundError: No module named 'airflow'
   airflow-init_1       | Traceback (most recent call last):
   airflow-init_1       |   File "/home/airflow/.local/bin/airflow", line 5, in <module>
   airflow-init_1       |     from airflow.__main__ import main
   airflow-init_1       | ModuleNotFoundError: No module named 'airflow'
   airflow-init_1       | Traceback (most recent call last):
   airflow-init_1       |   File "/home/airflow/.local/bin/airflow", line 5, in <module>
   airflow-init_1       |     from airflow.__main__ import main
   airflow-init_1       | ModuleNotFoundError: No module named 'airflow'
   airflow-init_1       | Traceback (most recent call last):
   airflow-init_1       |   File "/home/airflow/.local/bin/airflow", line 5, in <module>
   airflow-init_1       |     from airflow.__main__ import main
   airflow-init_1       | ModuleNotFoundError: No module named 'airflow'
   airflow-init_1       | Traceback (most recent call last):
   airflow-init_1       |   File "/home/airflow/.local/bin/airflow", line 5, in <module>
   airflow-init_1       |     from airflow.__main__ import main
   airflow-init_1       | ModuleNotFoundError: No module named 'airflow'
   airflow_airflow-init_1 exited with code 1
   
   
   ```
   
   **What you expected to happen**:
   Expected is to init the database normally 
   
   
   
   **Anything else we need to know**:
   
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] mik-laj closed issue #14526: Docker Compose logic broken. Init not happening

Posted by GitBox <gi...@apache.org>.
mik-laj closed issue #14526:
URL: https://github.com/apache/airflow/issues/14526


   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] mik-laj commented on issue #14526: Docker Compose logic broken. Init not happening

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14526:
URL: https://github.com/apache/airflow/issues/14526#issuecomment-787427586


   Duplicate: https://github.com/apache/airflow/issues/14520


----------------------------------------------------------------
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.

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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #14526: Docker Compose logic broken. Init not happening

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #14526:
URL: https://github.com/apache/airflow/issues/14526#issuecomment-787423624


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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.

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