New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Airflow task initdb fails #33
Comments
That is correct. You need to have Docker installed and the Docker daemon, |
Thank you. Now I installed docker.io and run dockerd parallel to the egon-data serve process. But now the DAG is running since 8 o'clock in the morning and doesn't stop. So I think I'm still doing something wrong... Do you have an idea? |
Could you please try one thing? Go into
Maybe also try it without This does the same as the function |
I get this error:
When I run |
Seems to be a problem with permissions. The docker documentation gives instructions on how to add your user to the docker group for allowing to use If this doesn't help, here's more discussion along the error message: And please have no worries, asking these questions is totally fine. It might help others a we should preserved the essence in the docs. |
Yes, I already did this and it still doesn't work.
Thank you. I will try to find a solution with the help of the issue and hopefully post my solution here soon. |
Ok, so I re-installed docker (and added my user to the docker group) and created a new egon-data environement. Now I can run
|
How did you open the Airflow interface? Did you start up Airflow manually or via |
I started it via |
I re-installed egon-data in a new environment and now I can run the dag via the airflow interface. |
@ClaraBuettner if you're happy with the result and the issue is resolved for, please close it. Re-opening is possible for all of us if the error appears again. |
I am experiencing exactly the same. Re-installing egon-data in a fresh environment didn't help. |
There's an, admittedly not to prominent, On/Off button in the second column of the DAGs table in the Airflow webinterface. I've attached a picture with a red arrow pointing to it. While the button is in the "Off" state, no tasks in a DAG will run, regardless of how often it is triggered. Maybe that fixes the problem? |
How embarrassing! 🤦♂️ Many thanks for finding that! |
You said it!
And yes, it fixes the problem. @gnn: Thanks a lot. |
The on/off button toggling the pause state is easy to miss which leads to a lot of confusion and even bug reports. This commit changes the configuration to switch DAGs "On" by default, both on a global level, as well as on the individual "egon-data-processing-pipeline". The latter is redundant, but kept in the code as an example, because the parameter was surprisingly hard to find. This fixes #33 and ticks of an item in issue #65.
I installed eGon-data as you desctibed it yesterday and tried to run the DAG. But it fails with this log:
I just installed egon-data with pip. Do I need to install something else manually (maybe docker)?
The text was updated successfully, but these errors were encountered: