KapranovAY opened a new issue, #23918: URL: https://github.com/apache/superset/issues/23918
I have a superset installed with docker-compose. When switching from version 2.0.1 to 2.1.0 an error occurs ``` FATAL: database files are incompatible with server DETAIL: The data directory was initialized by PostgreSQL version 10, which is not compatible with this version 14.7 ``` I see that since version 2.1.0 docker-compose-non-dev.yml uses postgres:14, although previously it was postgres:10. Please help with a solution to this problem. Thanks in advance! ### How to reproduce the bug I'm doing version switching with this method. ``` sudo TAG=2.0.1 docker-compose -f docker-compose-non-dev.yml down sudo git fetch --all sudo git reset --hard origin/master sudo git pull origin master -r sudo git checkout 2.1.0 sudo TAG=2.1.0 docker-compose -f docker-compose-non-dev.yml up ``` ### Expected results Superset_db container works, does not reboot. ### Actual results The superset_db container is constantly rebooting and there is an error in the logs ``` FATAL: database files are incompatible with server DETAIL: The data directory was initialized by PostgreSQL version 10, which is not compatible with this version 14.7 ``` ### Screenshots  ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
