ARTIFACTORY:为什么ARTIFACTORY pod会失败,错误cp: cannot stat ' /artifactory_bootstrap/ binarstore .xml ':没有这样的文件或目录

Haritha Arumugam
2023-03-14 10:49

在人工升级到7.46版本期间。x(Helm charts version 107.46.x) we may be noticing the error about binarystore when using the custom binarystore. The log would show the error “cp: cannot stat '/artifactory_bootstrap/binarystore.xml': No such file or directory”.

示例错误片段:

用户添加图片

这个问题背后的原因是:

来自Artifactory版本7.46。x(Helm charts version 107.46.x), binarystore.xml is copied to etc/artifactory in the copy-system-configurations init container. Therefore, it's not required to use copyOnEveryStartup parameter for configuring binarystore.xml.

如何克服这种行为:

建议在custom-binarystore中注释copyOnEveryStartup参数。然后执行Artifactory升级。“helm upgrade——install artifactory——version ——namespace ”jfrog/artifactory -f custom-values。-f custom-binarystore。yaml”
用户添加图片