kaxil edited a comment on issue #13667: URL: https://github.com/apache/airflow/issues/13667#issuecomment-763199559
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/Scheduler and no records for that DAG in serialized_dag table which does not seem to be easily possible. Is your Webserver and Scheduler both using 2.0.0 image? ---------------------------------------------------------------- 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]
