metersphere-ce-offline-installer-v3.6.2-lts.tar.gz
使用的是上述版本离线包安装,brew install docker-compose 下载了最新的版本Docker Compose version 2.34.0,然后执行/bin/bash install.sh安装,报了以下错误,应该如何解决
存在已安装的 MeterSphere, 安装目录为 /opt/metersphere, 执行升级流程
是否确认升级? [n/y]y
继续安装…
cp: illegal option – -
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file … target_directory
MeterSphere Log: ======================= 开始安装 =======================
MeterSphere Log: 检测到 Docker 已安装,跳过安装步骤
MeterSphere Log: 启动 Docker
install.sh: line 109: service: command not found
MeterSphere Log: 检测到 Docker Compose 已安装,跳过安装步骤
hostname: illegal option – I
usage: hostname [-f] [-s | -d] [name-of-host]
hostname: illegal option – I
usage: hostname [-f] [-s | -d] [name-of-host]
hostname: illegal option – I
usage: hostname [-f] [-s | -d] [name-of-host]
chmod: /opt/metersphere/conf/my.cnf: No such file or directory
chmod: -R: No such file or directory
chmod: -R: No such file or directory
chmod: -R: No such file or directory
chmod: -R: No such file or directory
chmod: /opt/metersphere/conf: No such file or directory
chmod: -R: No such file or directory
chmod: /opt/metersphere/*.yml: No such file or directory
open /opt/metersphere/docker-compose-base.yml: no such file or directory
MeterSphere Log: docker-compose 版本与配置文件不兼容或配置文件存在问题,请重新安装最新版本的 docker-compose 或检查配置文件