plaid / pattern

An example end-to-end Plaid integration to create items and fetch transaction data
MIT License
434 stars 216 forks source link

New docker images break older example... #257

Closed pkreipke closed 1 year ago

pkreipke commented 1 year ago

I just started my copy of Pattern today that contained data in the DB already and the DB container exited saying that the format of my data files were not supported. Did the source container for Postgres just change to PG 15 from 14?

PostgreSQL Database directory appears to contain a database; Skipping initialization

2022-10-24 18:54:16.785 UTC [1] FATAL:  database files are incompatible with server
2022-10-24 18:54:16.785 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 14, which is not compatible with this version 15.0 (Debian 15.0-1.pgdg110+1).

Any suggested workarounds? Can I pin the container version (not a Docker guru)?

pkreipke commented 1 year ago

Aha. I see that my version of docker-compose has image: postgres:latest. Will tweak.

pkreipke commented 1 year ago

Solved! reset to image: postgres:14 and I'm set.