JavierLopezT edited a comment on issue #15649:
URL: https://github.com/apache/airflow/issues/15649#issuecomment-834214369


   > > Also, I am getting other errors. For instance, I have a query in a 
python file and there is an error on the UI saying that:
   > 
   > I am afraid we will need to get more details and verbatim file to be able 
to investigate. Do you have a possibility of running again 2.0.1 -> 2.0.2 
without disrupting your current installation (for example by copying your 
database) and proividing some more details: verbatim file, more information 
about your deployment/database used etc.) + detailed list of 
stactraces/errors/log file errors you have.
   > 
   > It looks like you have some specific environment (are your files 
edited/stored on windows maybe)?
   > 
   > Otherwise it is simply very difficult to reproduce.
   
   Thanks for your interest. My files are edited in Mac with Pycharm. I have 
just tested Airflow 2.0 versions with a local docker-compose in my mac, with 
Postgres and Local Executor, and the exact same files work with Airflow 1.10.14 
perfectly. 
   
   I did migrate the DB. I changed the version of Postgres in the 
docker-compose from 11.5 to 13 and I had to do on my Mac 
   
   ```
   brew upgrade postgresql
   brew postgresql-upgrade-database
   ```
   
   After that, I entered the container and run the upgrade db, getting a 
successful message:
   `docker exec -it airflow_scheduler_1 bash --> airflow db upgrade`
   
   I had done the db upgrade three times:
   1.10.14 -> 2.0.0
   2.0.0 -> 2.0.1
   2.01 -> 2.0.2
    But in 2.0.0 and 2.0.2 I have not been free of errors, with the exact same 
files all the time. I will try to upload verbatim files. Thanks again


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


Reply via email to