问题描述
我正在尝试在 mac-os 上设置 JFrog OSS。我按照以下安装页面上列出的所有说明进行操作:
但是在使用上面链接的第 5 步中提到的命令 $JFROG_HOME/artifactory/app/bin/artifactoryctl 启动工件时,会出现以下错误。任何修复的线索?
$ $JFROG_HOME/artifactory/app/bin/artifactoryctl
/opt/jfrog/artifactory/app/bin/installerCommon.sh: line 2850: Syntax error near unexpected token `>'
/opt/jfrog/artifactory/app/bin/installerCommon.sh: line 2850: ` JF_PRODUCT_HOME=${homeDir} ${VALIDATE_BINARY} run ${DIAGNOSTICSYAMLFILEPATH} &>>$SYstem_DIAGNOSTICS_LOG_FILE'
[ERROR] Unable to source /opt/jfrog/artifactory/app/bin/installerCommon.sh,please check if the adnansohail user has permissions to perform this action
解决方法
感谢您提出这个问题。这是在 Artifactory 7.12 中发现并修复的。请升级版本并试用。