tiup报错Error: getwd: no such file or directory

在tiup scale-in promethues组件后
tiup display报错
Error: getwd: no such file or directory
c29ee94d6b9eb96c4fff908fd198883

之前有类似的issue,但直接关闭了。

我也觉得这个可能和os的关系更大,getwd这个函数是系统提供的,应该就是获取当前工作目录的,和pwd命令差不多了,不应该有 no such file or directory的问题。

请先使用 cd /root 命令切换到根用户的主目录,然后再次运行 tiup cluster display tsp-prod-slave-cluster 命令。如果问题依然存在,请检查 TiUP 的配置文件和相关目录是否完整且可访问。

拉取tiup备份,覆盖后恢复了。

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