Tiup cluster commands

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiup集群命令

| username: TiDBer_QHSxuEa1

The cluster is running normally, but commands like tiup cluster list cannot be used in the command line.
Here is the error:
Please check for root manifest file, you may download one from the repository mirror, or try tiup mirror set to 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

| username: xfworld | Original post link

It seems that the mirror address is not configured. Try configuring it:
tiup mirror set https://tiup-mirrors.pingcap.com

| username: 我是咖啡哥 | Original post link

Are you sure it’s managed by root?
Check if there is a /root/.tiup/ directory. Could it be that the user made a mistake?

| username: xingzhenxiang | Original post link

  1. Confirm whether the installation was done by the root user.
  2. Confirm whether offline installation was used previously.
  3. After confirming the first two points, consider resetting.
| username: TiDBer_QHSxuEa1 | Original post link

Indeed, it was a mistake by the user. I thought root privileges could execute everything. Thank you.

| username: TiDBer_QHSxuEa1 | Original post link

Found the problem, got the wrong user, thank you.

| username: TiDBer_QHSxuEa1 | Original post link

The issue has been identified; the user logged in incorrectly. Thank you.

| username: zhanggame1 | Original post link

Use whichever user installed it; the root user can also install it.

| username: cassblanca | Original post link

User permission issue

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.