Skip to content

How to reset the Console password

Reset removes the current admin password and every Console session. It does not remove runner config, jobs, logs, or resource history.

Stop the daemon:

Terminal window
brew services stop elastic-fruit-runner

Reset the admin:

Terminal window
elastic-fruit-runner reset-password --config ~/.elastic-fruit-runner/config.yaml

Start the daemon:

Terminal window
brew services start elastic-fruit-runner

Stop the daemon:

Terminal window
docker compose stop elastic-fruit-runner

Run the reset command with the same config and data volumes:

Terminal window
docker compose run --rm elastic-fruit-runner reset-password --config /etc/elastic-fruit-runner/config.yaml

Start the daemon:

Terminal window
docker compose up -d elastic-fruit-runner

Stop the daemon:

Terminal window
sudo systemctl stop elastic-fruit-runner

Run the reset command with the service config:

Terminal window
sudo elastic-fruit-runner reset-password --config /etc/elastic-fruit-runner/config.yaml

Start the daemon:

Terminal window
sudo systemctl start elastic-fruit-runner

Read the new setup code from the local daemon log. Then follow How to set up the Console.

Old browser sessions no longer work after the reset.