在使用 Docker 本地运行 Discourse 时,Postgres 似乎没有在运行

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 个赞