Description
This article explains how to change a Gala Node's API key on a Linux machine.
Assumptions Made
This article assumes you have a valid node license, completed the Linux Gala Node installation, and understand the information in the following articles:
Install the Gala Node Software on Ubuntu Linux
Summary
When running the Gala Node software, sometimes users may run into similar errors as shown below.
This error can be caused by an existing API key being deactivated or by trying to add an API key when one has already been associated with the Gala Node software. In order for a person to change their API key, stop the Gala Node software and then enter the following commands:
sudo gala-node stop
sudo rm /root/.config/gala-node/config.json
These commands will stop the software and then delete the config file that contains the Gala Node software's API key. Once this is entered, users can now reinput the command to input a new API key by entering:
sudo gala-node config api-key your API key here
Once this is complete, start the Gala Node software by entering:
sudo gala-node start