ARTIFACTORY: How to fix the issue that cannot access UI after migrating derby to PostgreSQL
The issue
Sometimes you want to change the DB of the Artifactory, that is, to migrate derby to a new DB, such as Postgresql.
During the migration, after connecting the new database successfully, you might face an issue, that you can not access the http://Artifactory:8082 or https://Artifactory:8082, like this:
What is the reason?
This is most likely because when using derby, security: tls=true has been set, which is not in the new Postgres database.
You cat get the setting in ${JFROG_HOME}/artifactory/var/etc/access/access.config.latest.yml
How to fix it?Reset the security.tls=true in the ${JFROG_HOME}/var/etc/access/ folder, and restart the Artifactory.
$ cp -rp access.config.latest.yml access.config.import.yml $ vim access.config.import.yml --- security: tls: true ...