Updating your Diva client
Last updated
Last updated
Note: This is only available for those with the latest versions of the docker compose for diva-alpha-net.
Run the installation script by executing:
Inside the diva-alpha-net
folder, and select option 2. Update Diva
:
Navigate to the Diva directory containing the docker-compose.yml file and bring the service down.
Move all contents in the original Diva directory into a new directory diva-alpha-net-bak
.
Clone the latest version of the diva-alpha-net git repository into the original parent folder on your system.
.env
file.env
fileOpen up the old .env
file,
and retrieve the following environment variables...
EXECUTION_CLIENT_URL
CONSENSUS_CLIENT_URL
DIVA_API_KEY
DIVA_VAULT_PASSWORD
TESTNET_USERNAME
and enter them into the corresponding variables in your new .env
file.
Copy the .diva
folder from the ~/diva-alpha-net-bak
folder to the new folder ~/diva-alpha-net
:
Open up the docker-compose.yml
file.
Amend the ports:
section of the grafana
service to "3001:3000".
This is so that the Grafana service running on docker does not clash with your native Grafana service.
You will then be able to run both Grafana services without conflicts. Access each of the dashboards via:
Native Grafana: <IP_address:3000>
Docker Grafana: <IP_address:3001>
Skip this Step 8 for the Default (All-in-one) method.
Open up the docker-compose-lodestar-vc.yml
file.
Append the following contents in this file.
Note: You must stop and delete all Diva containers before starting the services again.
So first, make sure all Diva containers are stopped and removed identify their container IDs.
Expected output: You should see an empty list.
If you still see a list of Diva related containers like below,
then you can remove all Diva containers listed using one of the following methods:
One by one using theCONTAINER ID
if you have other non-Diva docker containers running
All at once if you only have Diva containers running
Monitor the logs to make sure there are no errors.
Expected output: There are 3 things to look out for - "connected to execution client", "consensus client available", and "running diva client".