tiup集群命令

集群运行状态是正常的,但是无法在命令端使用·tiup cluster list·等命令
下面是报错
Please check for root manifest file, you may download one from the repository mirror, or try tiup mirror set to for reset it.
Error: initial repository from mirror(https://tiup-mirrors.pingcap.com/) failed: error loading manifest root.json: open /root/.tiup/bin/root.json: no such file or directory

感觉是镜像地址没配置,配置一下试试看
tiup mirror set https://tiup-mirrors.pingcap.com

https://docs.pingcap.com/zh/tidb/stable/tiup-command-mirror-set#tiup-mirror-set

确定是root管理的吗?
/root/.tiup/bin/root.json
看看有/root/.tiup/目录吗?是不是用户搞错了

1、确认是否是root用户安装
2、确认以前的是否使用过离线安装
3、前两个都确认完毕,然后考虑重新设置

确实是用户搞错了,我以为root权限都可以执行,感谢

发现问题了,搞错了用户,谢谢

已发现问题,是用户登错了,谢谢

哪个用户装的就用哪个用户,root用户也可以装

用户权限问题

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。