GitHub user sowmyachitti added a comment to the discussion: Issue with downgrade from 3.0.0 to 2.10.3
I'm not pretty sure with the solution When my apache airflow was 3.0.0 I have given below command even though it showed downgrade complete it threw an error in between saying ab_user table must be present along with fab manager ''' airflow db downgrade --to-version 2.10.3 --yes airflow db migrate ''' After this took a copy of airflow home which has config file, airflow db and all then proceeded with uninstall of 3.0.0 and installed 2.10.3 via pip and restored the airflow db via the taken copy but ended up throwing same error ... could see pip install apache-airflow==2.10.3 was still showing those migrations.versions files which are of 3.0.0 ...... so have installed apache-airflow via GitHub tag then I could see files of 2.10.3 only... Later it started throwing errors of auth_manager variable of config file... could see one or other way the airflow db is getting corrupted or failed.... My final way as I'm stuck with high priority delivery... Removed airflow_home files including airflow db as well airflow directory in the python site packages ....by taking a backup (probably once they reply with some solution I will use this backup) and uninstalled apache-airflow 3.0.0 and made a fresh installation of 2.10.1 and used a new db initialisation... GitHub link: https://github.com/apache/airflow/discussions/49722#discussioncomment-12971206 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
