Detected recursive loop when walking DAG directory /opt/airflow/dags: /opt/airflow/dags/978f1a596fd2f9a39c2c39fc626b21405d86b241 has appeared more than once #692
-
Hello guys, I'm with a problem, when a using the chart with gitsync, my scheduler appear de error below: Detected recursive loop when walking DAG directory /opt/airflow/dags: /opt/airflow/dags/978f1a596fd2f9a39c2c39fc626b21405d86b241 has appeared more than once I accessed the /opt/airflow/dags and i found a symlink with the name repo, does anyone know how i can solve this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
@jversolatocreditas does your git repo itself contain a symbolic file link that includes something like Because you might accidentally be pointing to the repo's own folder, causing a recursion. NOTE: there don't get confused with the symbolic link from git-sync itself, which uses a link at |
Beta Was this translation helpful? Give feedback.
-
@jversolatocreditas : Do you mean you manually changed airflow.cfg file or did you add some configuration in values.yaml for this chart? I have |
Beta Was this translation helpful? Give feedback.
-
I go through the same error even exporting the local file to the airflow configuration variable
|
Beta Was this translation helpful? Give feedback.
-
I would assume then that is due to the fact that this helm chart does not support airflow 2.5.x as in the reference link I shared above. But, that's just a guess.
On Apr 5, 2023, at 15:26, mehtab123 ***@***.******@***.***>> wrote:
Thanks @arundeep78<https://github.com/arundeep78>, This error is not coming in airflow 2.4.3 with python 3.10.
—
Reply to this email directly, view it on GitHub<#692 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AF3JUVEUR7HCKG6FGYEGXQDW7VXJBANCNFSM6AAAAAAURQDVKE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
@jversolatocreditas does your git repo itself contain a symbolic file link that includes something like
../..
or../dags
?Because you might accidentally be pointing to the repo's own folder, causing a recursion.
NOTE: there don't get confused with the symbolic link from git-sync itself, which uses a link at
/opt/airflow/dags/repo
to point to the current synced version, for example,/opt/airflow/dags/978f1a596fd2f9a39c2c39fc626b21405d86b241
.