PostgreSQL 15 update

I think you correctly identified the issue. Here’s what I have in my app.yml:

## The Docker container is stateless; all data is stored in /shared
volumes:
  - volume:
      host: /mnt/volume_tor1_01/shared/standalone
      guest: /shared
  - volume:
      host: /mnt/volume_tor1_01/shared/standalone/log/var-log
      guest: /var/log
  - volume:
      host: /var/postgres_data_discourse
      guest: /shared/postgres_data

(based on this guide Move Uploads and Backups to DigitalOcean Block Storage)

$ cat postgres_data/PG_VERSION 
15
$ cat /var/postgres_data_discourse/PG_VERSION 
13

So I think the problem is indeed solved by this approach PostgreSQL 15 update - #125 by Vaping_Community

I think what stumped me was that I had multiple postgres_data folders on the mnt volume (because I reran the rebuild) and didn’t realize the source folder was actually in /var/

I’ll try it out later tonight

2 Likes