artifactory - 将 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
有人已经遇到过这种问题吗?感谢您提供线索。
解决方案
根据错误日志片段,问题似乎在于路由器没有出现。如果有导致此问题的错误条目,您能否检查 $JFROG_HOME/artifactory/var/log/router-service.log 文件?
推荐阅读
- webdriver-io - 如何使用黄瓜 js 和 webdriver io 自动执行诱惑报告?
- javascript - 一些动作后的语音到文本识别
- python - 坚持将整数转换为罗马数字
- javascript - 将道具从父母传递给孩子并在React中使用地图循环?
- tsql - 如何动态添加 where 子句的一部分?
- javascript - JS删除具体
- addEventListener() 的元素
- r - 闪亮的应用程序:根据下拉菜单选择读取 .csv 文件
- mysql - 在 MySQL/SQL 中是否可以使用参数作为字段/列名?
- r - 当单击另一个菜单项时,RShiny 中使用 renderMenu 的动态侧边栏菜单消失
- design-patterns - 定期付款的系统设计模式