Hello i am a new user of Airflow i have started the Airflow webserver and i want to run my own batch on it, and there is Airflow by defaults DAG.
I tried to delete them from GUI then i followed instruction to delete DAG from CLI as said here
but the problem is that they reappear after a bit .
i already put the configuration of Airflow to False
load_examples = False
inside airflow.cfg
is there any solution to delete definitely every default DAG ?
Asked
Active
Viewed 1,195 times
1

Yassin Abid
- 315
- 2
- 5
- 12
1 Answers
3
After you change load_examples = False
inside airflow.cfg
restart your Airflow Webserver & Scheduler.
If your example DAGs have already run, you might have to run airflow resetdb
if you are on Airflow <2 and run airflow db reset
if you are on Airflow>2.0.

kaxil
- 17,706
- 2
- 59
- 78
-
Did it but still the same situation – Yassin Abid Apr 30 '19 at 16:50
-
1Run `airflow resetdb` and try again – kaxil Apr 30 '19 at 17:39
-
if you are using airflow 2.0.1, this one will not work. Use instead: `airflow db reset` – Inadel Feb 25 '21 at 18:34