{question}
Why doesn't Toolbox have the metadata on my cluster when I use a different Linux user than the one I configured Toolbox with? (I see "No nodes found" when trying to check the status of my nodes).
{question}
{answer}
The limited amount of state that Toolbox has (information about the registered hosts) is stored within the home directory of the Linux user you configure it with. By default, the Toolbox state file is located within ${XDG_DATA_HOME}/memsql-toolbox/toolbox-state.hcl
. In the event that XDG_DATA_HOME is not set, Toolbox will use /home/[USER]/.local/share/memsql-toolbox/toolbox-state.hcl
and a new one will be created for each user (unless they share a home directory).
When you switch to another user on the Linux host, it will check their local home directory for Toolbox state information and therefore not find information about the cluster you configured with a separate user.
We recommend setting up a dedicated Linux user on the Toolbox host for Toolbox management.
{answer}