sunilkunchoor opened a new issue, #56312: URL: https://github.com/apache/airflow/issues/56312
### Apache Airflow version 3.1.0 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? I encountered an error when trying to run Apache Airflow using the official docker-compose.yaml file provided in the [documentation](https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html). The error message is shown below: ``` postgres-1 | 2025-10-01 20:05:44.297 UTC [1] FATAL: database files are incompatible with server postgres-1 | 2025-10-01 20:05:44.297 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 13, which is not compatible with this version 16.10 (Debian 16.10-1.pgdg13+1). postgres-1 exited with code 1 (restarting) dependency failed to start: container airflow-postgres-1 is unhealthy ``` **Error Screenshot:** <img width="1153" height="603" alt="Image" src="https://github.com/user-attachments/assets/73873e41-dcb4-450e-8236-542dece0a8e6" /> ### What you think should happen instead? Running docker compose up should start all Airflow components without any errors. ### How to reproduce Step 1: Download the docker-compose.yaml as below. ``` curl -LfO 'https://airflow.apache.org/docs/apache-airflow/3.1.0/docker-compose.yaml' ``` Step 2: Run the docker compose up command. ``` docker compose up ``` ### Operating System Ubuntu 22.04.5 LTS ### Versions of Apache Airflow Providers _No response_ ### Deployment Docker-Compose ### Deployment details _No response_ ### Anything else? This is my first time creating a GitHub Issue, and I'm excited to contribute to open source. Apologies in advance if this turns out to be a simple mistakeāI'm eager to learn and help improve the project! ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
