安装metersphere v2.10.9-lts时container redis is unhealthy且Could not connect to Redis at 127.0.0.1:63…

安装metersphere v2.10.9-lts时修改install.conf的MS_REDIS_PORT=6379改成MS_REDIS_PORT=6381后报 {“Status”:”unhealthy”,”FailingStreak”:91,”Log”:[{“Start”:”2023-12-20T10:17:45.798151193+08:00″,”End”:”2023-12-20T10:17:45.84806174+08:00″,”ExitCode”:1,”Output”:”Could not connect to Redis at 127.0.0.1:6379: Connection refused
“},{“Start”:”2023-12-20T10:17:51.870869157+08:00″,”End”:”2023-12-20T10:17:51.925450167+08:00″,”ExitCode”:1,”Output”:”Could not connect to Redis at 127.0.0.1:6379: Connection refused
“},{“Start”:”2023-12-20T10:17:57.960629458+08:00″,”End”:”2023-12-20T10:17:58.02748666+08:00″,”ExitCode”:1,”Output”:”Could not connect to Redis at 127.0.0.1:6379: Connection refused
“},{“Start”:”2023-12-20T10:18:04.043611438+08:00″,”End”:”2023-12-20T10:18:04.10139498+08:00″,”ExitCode”:1,”Output”:”Could not connect to Redis at 127.0.0.1:6379: Connection refused
“},{“Start”:”2023-12-20T10:18:10.104392705+08:00″,”End”:”2023-12-20T10:18:10.205651561+08:00″,”ExitCode”:1,”Output”:”Could not connect to Redis at 127.0.0.1:6379: Connection refused
“}]}

1.修改安装包下的/metersphere/docker-compose-redis.yml

ports:
      - ${MS_REDIS_PORT}:6379

此处是6379不是6381
2.修改安装包下的/metersphere/conf/redis.conf
将redis端口号设置为6379
3.然后安装包路径下执行 /bin/bash install.sh
然后在/opt/metersphere下的docker-compose-redis.yml和/opt/metersphere/conf下redis.conf的对应值更改成6379

附:
1.【安装包下载】metersphere安装包下载地址-开源社区 – FIT2CLOUD 飞致云
2.【安装部署】MeterSphere 1.20 LTS 至2.10 LTS 升级指南 – FIT2CLOUD 知识库
3.【MeterSphere安装问题记录】dependency failed to start: container system-setting is unhealthy-CSDN博客
4.【MeterSphere安装问题记录】docker容器unhealthy怎么办_mob64ca12f21246的技术博客_51CTO博客
5.【metersphere介绍与安装部署】 – 简书 (jianshu.com)

© 版权声明
THE END
如果内容对您有所帮助,就支持一下吧!
点赞0 分享
喂小鸨的头像 - 宋马
评论 抢沙发

请登录后发表评论

    暂无评论内容