Artifactory失去了对本地文物的跟踪

编程入门 行业动态 更新时间:2024-10-25 18:31:25
本文介绍了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失去了对本地文物的跟踪

本文发布于:2023-10-30 03:32:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541640.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文物   失去了   Artifactory

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!