TIDB滚动升级到4.0没有dashboard

滚动升级到4.0之后。http://xxxx:2379/dashboard/,返回404 page not found

tiup cluster display test-cluster --dashboard 利用这个命令查找地址,返回Error: failed to retrieve TiDB Dashboard instance from PD: cannot found dashboard address

tiup-cluster-debug-2020-11-30-21-05-24.log (2.9 KB)

不知道对不对,源码上错误位置



这个参数在
https://docs.pingcap.com/zh/tidb/stable/dynamic-config#在线修改-pd-配置 文档的这个位置有出现过,不知道是不是设置下就好了。。:blush:

或者是通过tiup ctl pd -u http://xxxx:2379 config set dashboard-address 【auto|http://xxxxx:2379】 重新选举或者指定pd。