Artifactory失去了对本地文物的跟踪 [英] Artifactory has lost track of local artifacts

查看:122
本文介绍了Artifactory失去了对本地文物的跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Artifactory OSS 4.1.0和Java 1.8.0_51.

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

当我尝试从Artifactory Web界面下载我的本地工件之一时,我得到了:

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'"
  } ]
}

但是我在Artifactory数据区域./files/ba/bab1c4e18f6c5edfb65b2503a388dea2fed0deb8中找到了该文件,进一步检查发现这是我尝试下载的WAR文件.

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.

有人知道发生了什么以及如何解决该问题吗?顺便说一句,我确实停止并重新启动了Artifactory服务器,但是没有明显的区别.

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.

推荐答案

Artifactory不会将二进制文件存储在./files目录下,而是存储在$ARTIFACTORY_HOME/data/filestore下.

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

您似乎拥有从files目录到filestore目录的符号链接,并且此链接已删除.

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

这篇关于Artifactory失去了对本地文物的跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆