To scrub Artifactory of its cached YAML files, move all YAML files in the $JFROG_HOME/data/router/local/services/ directory into a temporary directory.
Here is an example of the $JFROG_HOME/data/router/local/services/ folder:
Once they are moved, reboot Artifactory. Artifactory will create a fresh new set of YAML files.
Here is an example of the $JFROG_HOME/data/router/local/services/ folder:
root@jfrog:/var/opt/jfrog/artifactory/data/router/local/services# ls -lsa total 28 4 drwxr-xr-x 2 artifactory artifactory 4096 Sep 9 17:15 . 4 drwxr-xr-x 3 artifactory artifactory 4096 Jul 9 19:19 .. 4 -rw------- 1 artifactory artifactory 344 Sep 9 17:15 jf-access_5b30e596-6583-4464-a6a3-850651bf90ba.yaml 4 -rw------- 1 artifactory artifactory 335 Sep 9 17:15 jfevt_5b30e596-6583-4464-a6a3-850651bf90ba.yaml 4 -rw------- 1 artifactory artifactory 261 Sep 9 17:15 jffe_000.yaml 4 -rw------- 1 artifactory artifactory 227 Sep 9 17:15 jfmd_01ectcvrgj4ktwn36ng7hvnrta.yaml 4 -rw------- 1 artifactory artifactory 352 Sep 9 17:15 jfrt_01d8m3sm6q0rj21rqj47331ayc.yaml
Once they are moved, reboot Artifactory. Artifactory will create a fresh new set of YAML files.