Postgres doesn't seem to be running when running Discourse locally using Docker

Sorry for the trouble. This was likely due to the recent PostgreSQL 15 update. The old PG 13 data files are incompatible with the discourse_dev image which now runs PG 15, but our automated database update procedure was not intended for development environments.

Any particular reason why you want to retain the old data files?

You can run rake dev:populate inside the container to generate some test data.

1 Like