jfrog / artifactory-docker-examples

Examples for using Artifactory Docker distribution in various environments
https://www.jfrog.com/artifactory/
Apache License 2.0
330 stars 299 forks source link

Postgres upgrade? #142

Closed tjohnston-cd closed 5 years ago

tjohnston-cd commented 5 years ago

I just upgraded from an Artifactory Pro 6.5.x version to 6.7.3 using this compose file.

artifactory and nginx came up correctly, but postgresql did not. docker logs postgresql showed "The data directory was initialized by PostgreSQL version 9.5, which is not compatible with this version 9.6.11."

I see the postgres version was changed in this commit

Do I need to upgrade my postgres DB? What is the best practice when using this repo to deploy artifactory?

eldada commented 5 years ago

Hi @tjohnston-cd . This repository is meant to provide examples for setting up Artifactory and Xray in various Docker based scenarios. PostgreSQL upgrade is not required. We just aligned to a new (recommended) baseline of version 9.6.11. The older version will still work as expected. If you wish to use the newer PostgreSQL version, you will need to perform a DB export from 9.5 -> import to 9.6.

PtyMatt commented 5 years ago

@tjohnston-cd (and everybody else stucked by a Docker Postgresql upgrade), you should read that discussion from the official image repo.