doowhtron commented on issue #13667: URL: https://github.com/apache/airflow/issues/13667#issuecomment-763366592
> Did you run `airflow db upgrade` before upgrading to 2.0.0? > > https://github.com/apache/airflow/blob/8a4bd3c73eb46c5ddd9312c71772a423fb1fd688/airflow/models/dagbag.py#L183-L188 > > https://github.com/apache/airflow/blob/8a4bd3c73eb46c5ddd9312c71772a423fb1fd688/airflow/models/serialized_dag.py#L254-L266 > > I am not sure how `get_last_updated_datetime` can be none, for it to be `None`, you might need to have DAGs in DagBag for Webserver which is not possible. > > Is your Webserver and Scheduler both using 2.0.0 image? I did run `airflow db upgrade` I removed some of the dag files manually from the dags folder without deleting them from the UI. Is it related? ---------------------------------------------------------------- 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: [email protected]
