Customer is running database on a separate node. Database node was upgrade to GitLab 9.5.2 and PostgreSQL 9.6.3. Application node failed to upgrade due to the PostgreSQL binaries on the application node still being for 9.2.
We should document the correct upgrade path for this situation.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
That might work. In this case, the user was using a packaged PostgreSQL database, just on a different server. So perhaps if we make that section account for that we should be ok.
I need to double check, but I think newer pg_dump will work with older versions. So it may be better to advise in this case to upgrade the application server first.
This contains 9.2.x as the version that placed there during the original installation. But since the Database on the GL server was not updated (there is no actual database there), it never got changed to 9.6.
But on each update, the Chef recipy will first force the symlinks for the database tools to 9.2 as it believes that this is the current version of the DB. Then it will attempt to backup the database and will fail as the versions of the tools and the server don't align.
I will manually change the contents of the file to the actual version and then reconfigure.
Personally I think that the documentation should have a separate section on a package but remote DB. I did not think that the above chapter applied to me, as my DB was package. Just on a different machine (explicitly recomended in the Gitlab-HA documentation!)