Closed JFGiguere closed 1 year ago
Calling all docker experts! I really need help here. The container builds, but the postgres user does not seem to be initializing properly. I simply don't know enough to fix this problem. I am sure the problem is simple. Could someone take a look?
RaceDB-Container-Windows-v3.0.84-20230327101343 and Docker Desktop 4.18.0 (104112)
Can't log to RaceDB.![Sans titre](https://user-images.githubusercontent.com/105683592/230611087-6af669a9-3036-4814-8083-b3ef99a03124.png)
postgresql_racedb_ap keeps restarting
![postgresql_racedb_app](https://user-images.githubusercontent.com/105683592/230611576-f7e2146a-032a-44f9-9c9f-7633e54a21bb.png)
What doocker says: 2023-04-07 08:36:16 2023-04-07 08:36:16 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:16 2023-04-07 08:36:17 2023-04-07 08:36:17 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:17 2023-04-07 08:36:19 2023-04-07 08:36:19 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:19 2023-04-07 08:36:20 2023-04-07 08:36:20 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:20 2023-04-07 08:36:16 2023-04-07 12:36:16.793 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:16 2023-04-07 12:36:16.793 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:17 2023-04-07 12:36:17.987 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:17 2023-04-07 12:36:17.987 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:19 2023-04-07 12:36:19.081 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:19 2023-04-07 12:36:19.081 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:20 2023-04-07 12:36:20.148 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:20 2023-04-07 12:36:20.148 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:21 2023-04-07 12:36:21.673 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:21 2023-04-07 12:36:21.673 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:23 2023-04-07 12:36:23.944 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:23 2023-04-07 12:36:23.944 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:27 2023-04-07 12:36:27.802 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:27 2023-04-07 12:36:27.802 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:34 2023-04-07 12:36:34.865 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:34 2023-04-07 12:36:34.865 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:48 2023-04-07 12:36:48.437 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:36:48 2023-04-07 12:36:48.437 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:36:21 2023-04-07 08:36:21 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:21 2023-04-07 08:36:23 2023-04-07 08:36:23 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:23 2023-04-07 08:36:27 2023-04-07 08:36:27 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:27 2023-04-07 08:36:34 2023-04-07 08:36:34 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:34 2023-04-07 08:36:48 2023-04-07 08:36:48 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:36:48 2023-04-07 08:37:14 2023-04-07 08:37:14 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:37:14 2023-04-07 08:38:06 2023-04-07 08:38:06 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:38:06 2023-04-07 08:39:07 2023-04-07 08:39:07 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:39:07 2023-04-07 08:40:08 2023-04-07 08:40:08 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:40:08 2023-04-07 08:41:08 2023-04-07 08:41:08 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:41:08 2023-04-07 08:42:09 2023-04-07 08:42:09 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:42:09 2023-04-07 08:43:10 2023-04-07 08:43:10 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:43:10 2023-04-07 08:37:14 2023-04-07 12:37:14.781 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:37:14 2023-04-07 12:37:14.781 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:38:06 2023-04-07 12:38:06.649 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:38:06 2023-04-07 12:38:06.649 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:39:07 2023-04-07 12:39:07.319 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:39:07 2023-04-07 12:39:07.319 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:40:08 2023-04-07 12:40:08.022 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:40:08 2023-04-07 12:40:08.022 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:41:08 2023-04-07 12:41:08.652 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:41:08 2023-04-07 12:41:08.652 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:42:09 2023-04-07 12:42:09.344 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:42:09 2023-04-07 12:42:09.344 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:43:10 2023-04-07 12:43:10.125 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:43:10 2023-04-07 12:43:10.125 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:44:10 2023-04-07 12:44:10.785 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:44:10 2023-04-07 12:44:10.785 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:45:11 2023-04-07 12:45:11.456 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:45:11 2023-04-07 12:45:11.456 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:34 2023-04-07 12:46:34.851 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:46:34 2023-04-07 12:46:34.851 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:36 2023-04-07 12:46:36.073 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:46:36 2023-04-07 12:46:36.073 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:36 2023-04-07 12:46:36.982 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:46:36 2023-04-07 12:46:36.982 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:37 2023-04-07 12:46:37.949 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:46:37 2023-04-07 12:46:37.949 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:39 2023-04-07 12:46:39.324 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:46:39 2023-04-07 12:46:39.324 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:41 2023-04-07 12:46:41.783 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:46:41 2023-04-07 12:46:41.783 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:45 2023-04-07 12:46:45.584 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:44:10 2023-04-07 08:44:10 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:44:10 2023-04-07 08:45:11 2023-04-07 08:45:11 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:45:11 2023-04-07 08:46:34 2023-04-07 08:46:34 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:34 2023-04-07 08:46:36 2023-04-07 08:46:36 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:36 2023-04-07 08:46:36 2023-04-07 08:46:36 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:36 2023-04-07 08:46:37 2023-04-07 08:46:37 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:37 2023-04-07 08:46:39 2023-04-07 08:46:39 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:39 2023-04-07 08:46:41 2023-04-07 08:46:41 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:41 2023-04-07 08:46:45 2023-04-07 08:46:45 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:45 2023-04-07 08:46:52 2023-04-07 08:46:52 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:46:52 2023-04-07 08:47:06 2023-04-07 08:47:06 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:47:06 2023-04-07 08:47:32 2023-04-07 08:47:32 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:47:32 2023-04-07 08:48:24 2023-04-07 08:48:24 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:48:24 2023-04-07 08:49:24 2023-04-07 08:49:24 PostgreSQL Database directory appears to contain a database; Skipping initialization 2023-04-07 08:49:24 2023-04-07 08:46:45 2023-04-07 12:46:45.584 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:46:52 2023-04-07 12:46:52.680 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:46:52 2023-04-07 12:46:52.680 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:47:06 2023-04-07 12:47:06.064 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:47:06 2023-04-07 12:47:06.064 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:47:32 2023-04-07 12:47:32.420 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:47:32 2023-04-07 12:47:32.420 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:48:24 2023-04-07 12:48:24.206 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:48:24 2023-04-07 12:48:24.206 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1). 2023-04-07 08:49:24 2023-04-07 12:49:24.854 UTC [1] FATAL: database files are incompatible with server 2023-04-07 08:49:24 2023-04-07 12:49:24.854 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 15.2 (Debian 15.2-1.pgdg110+1).