ARTIFACTORY: How to fix the issue that cannot access UI after migrating derby to PostgreSQL

AuthorFullName__c
Jian Sun
articleNumber
000005970
FirstPublishedDate
2024-01-08T19:17:47Z
lastModifiedDate
2025-08-01

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:

image1.png

 

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
...