首页 > 解决方案 > 将 Artifactory pro 从 6.10.9 更新到 7.6.3

问题描述

我们只是使用 debian 包在 Ubuntu 上将我们的工件 6.10.9 更新到 7.6.3。migration.log 显示迁移成功完成服务启动但我们在访问服务器时收到 404。router-service.log 上有错误:

 [jfrou] [FATAL] [1ef8ac7a8bab9898] [bootstrap.go:93] [main] - Cluster join: Failed resolving join key: failed resolving 'shared.security.joinKey' key; file does not exist: /opt/jfrog/artifactory/var/etc/security/join.key

在前端服务日志中:

[jffe ] [ERROR] [    ] [    ] [main] - Error: connect ECONNREFUSED 127.0.0.1:8046
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)

在 metadata-service.log 中:

[jffe ] [ERROR] [    ] [    ] [main] - Error: connect ECONNREFUSED 127.0.0.1:8046
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)

这是 console.log 中的第一个错误:

2020-08-18T19:27:12.494Z [jfrt ] [ERROR] [d2fc2e16d5fc1039] [actoryContextConfigListener:83] [ocalhost-startStop-1] - Failed initializing Artifactory context: Artifactory home not initialized.
2020-08-18T15:27:12.495L [tomct] [SEVERE] [                ] [org.apache.catalina.core.StandardContext] [org.apache.catalina.core.StandardContext startInternal] - One or more listeners failed to start. Full details will be found in the appropriate container log file
2020-08-18T15:27:12.497L [tomct] [SEVERE] [                ] [org.apache.catalina.core.StandardContext] [org.apache.catalina.core.StandardContext startInternal] - Context [/artifactory] startup failed due to previous errors

有人已经遇到过这种问题吗?感谢您提供线索。

标签: artifactory

解决方案


根据错误日志片段,问题似乎在于路由器没有出现。如果有导致此问题的错误条目,您能否检查 $JFROG_HOME/artifactory/var/log/router-service.log 文件?


推荐阅读