如何解决升级过程中出现的许可错误

大卫胫骨
2023-01-22 11:06

Artifactory在升级后由于许可证错误而无法启动的原因有很多。

例如,

[06:18. 960z] [jfrt] [ERROR] [3a4d6e8edc2a378d] [tifactoryHomeConfigListener:55] [ocalhost-startStop-2] -初始化Home失败。捕获异常:

java.lang.IllegalStateException:转换器无法运行,因为没有找到匹配的许可证,请添加新的许可证

要调查这个问题,您应该检查以下列表。

1.根据Artifactory版本查看Artifactory许可证是否存在于正确的位置。
美元ART_HOME / etc / artifactory。或Artifactory 6.x中的Artifactory .cluster.license
ART_HOME / etc /美元artfiactory/ artifactory。Artifactory .lic或Artifactory .cluster.license在Artifactory 7.x

2.看看许可证是否过期了。
在开始升级过程之前,应该检查有效的通过第7条中的“管理->许可证”部分。xor Admin-> Configuration -> Artifactory Licenses in Artifactory 6.x and below

3.查看许可证字符串是否损坏。
为了验证这一点,您应该将Artifactory中的许可证与安全位置中的原始许可证密钥进行比较。

关键词:启动失败,license无效