potiuk edited a comment on issue #16344:
URL: https://github.com/apache/airflow/issues/16344#issuecomment-930390265


   My wild guess is that you've made the first upgrade with different user or 
maybe with different setting for HOME or AIRFLOW_HOME. Airflow (when you use 
sqlite) keeps the data in sqlite database file which is stored in 
`${AIRFLOW_HOME}/airflow.db`  or if AIRFLOW_HOME is not set, it is 
`${HOME}/airflow/airflow.db`. It's very likely that when you run it first time 
you had it set differently or wrongly. If you did - then you will find a 
migrated airflow.db file somewhere - created more or less about the time when 
you run it for the first time.
   
   Another possibility is that you had AIRFLOW__CORE__UNIT_TEST_MODE (or 
corresponding configuration in `airflow.cfg`  set to True . If you do, then 
airflow uses different file (unittest.db) in the same location as above - and 
again if you had it, then you will likely have that file lying around somewhere.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to