Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

the switch to postgres10 doesn't handle DB upgrades #540

Open
hardaker opened this issue Jun 18, 2021 · 2 comments
Open

the switch to postgres10 doesn't handle DB upgrades #540

hardaker opened this issue Jun 18, 2021 · 2 comments

Comments

@hardaker
Copy link

The latest change to switch from postgres 9.4 to 10 doesn't upgrade the database and containers won't succeed because of the version incompatibility with the database files. (new installs likely work)

@btxtiger
Copy link

there is everything about it inside the readme file, including an upgrade script. It seems it is currently not possible to upgrade the database automatically

@oguera
Copy link
Contributor

oguera commented Jun 23, 2021

The script in the readme actually upgrades the existing database. I migrated our instance yesterday and used a rather "simple" approach to upgrade from the same thread.

#489 (comment)

The summary is:

  • backup current db
  • update dockerfiles (app + db)
  • clear database
  • import backup

Thats it.

In addition to @btxtiger 's comment i think we should accept that it is a breaking change and just add a dedicated "official" upgrade documentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants