Artifactory has lost track of local artifacts

我是研究僧i 提交于 2019-12-07 14:24:41

问题


I'm using Artifactory OSS 4.1.0 and Java 1.8.0_51.

When I try to download one of my local artifacts from the Artifactory web interface, I get this:

{
  "errors" : [ {
    "status" : 500,
    "message" : "Could not process download request: Binary provider has no content for 'bab1c4e18f6c5edfb65b2503a388dea2fed0deb8'"
  } ]
}

But I found this file in my Artifactory data area: ./files/ba/bab1c4e18f6c5edfb65b2503a388dea2fed0deb8, and upon further inspection it is the WAR file I tried to download.

I've come across other people on the web with the same error message, but their issue was with caching external artifacts, and their workaround was to delete the cache.

Does anyone have an idea what's going on and how I can fix the problem? BTW, I did stop and restart our Artifactory server, but with no noticeable difference.


回答1:


Artifactory doesn't store the binaries under ./files directory, but under $ARTIFACTORY_HOME/data/filestore.

It looks like you had a symbolic link from the files directory to the filestore directory and this link was deleted.



来源:https://stackoverflow.com/questions/36024671/artifactory-has-lost-track-of-local-artifacts

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!