ARTIFACTORY: How to Bootstrap Repository Configuration Above 7.49.x in Artifactory
Starting from Artifactory 7.49.x, repository configuration is stored in artifactory.repository.config.latest.json, which can be found in /var/opt/jfrog/artifactory/etc/artifactory.
However, you may encounter a situation where the artifactory.repository.config.latest.json file is not updated yet.
If you need to bootstrap the repository configuration from the Real latest configuration file, follow the steps below:
- Run a system export to obtain the artifactory.repository.config.json file.
- Copy the artifactory.repository.config.json file from the exported directory to artifactory.repository.config.import.json.
- Place the artifactory.repository.config.import.json file in /var/opt/jfrog/artifactory/etc/artifactory.
- Modify the artifactory.repository.config.import.json file as needed.
- Restart Artifactory.
In addition, you can also access the repository_config table in the database and modify it directly before restarting Artifactory.