Search code examples
mysqldatabaseerror-handlingupgradeartifactory

artifactory upgrade from 7.19.4 to 7.77.5


[ steps ]

  • stop artifactory
  • stop mysql
  • Upgrade Ubuntu 14.04 to 16.07
  • Upgrade mysql-server to 5.7
  • Downloaded 7.75.5.tar.gz file put it into /opt/jfrog/artifactory
  • untared 7.77.5.tar.gz
  • removed /opt/jfrog/artifactory/app
  • cp -r /opt/jfrog/artifactory/7.77.5/app/* /opt/jfrog/artifactory/app
  • started up mysql-server
  • started artifactory.

Looking at console.log got to this db error:

"Could not initialize database: org.flyawaydb.core.api.FlywayException: Detected failed migration to version 7.44 (Add Access Permission v2 ref"

Any ideas on what I can check on, do from here?

Thanks!


Solution

  • I was able to get this working:

    Make sure to use the same version of artifactory

    Follow: https://jfrog.com/help/r/artifactory-what-is-the-best-way-to-migrate-a-large-artifactory-instance-with-minimal-downtime/method-1