Update Your Node
Instructions to update your Docker node for Resource Providers who already had Lilypad installed.
Remove Previous Versions
If the Linux Install was your previous version, follow part A, and if you had previously installed a Docker version, follow part B if you have already installed the Docker version and are updating.
A) Ensure all processes from Linux install are stopped and removed
This only applies if you had a Linux version installed
Stop all systemd processess
Disable the systemd services:
Delete the service files from the systemd directory.
**Note: Be extremely careful when using sudo
to remove files.
Reload the systemd daemon to apply the changes.
B) Remove old Docker containers
If a Docker RP is running stop the system (if the node is not running, disregard this first step)
You can check the status of the containers with:
If they are running, stop them with:
Remove the containers:
View all Docker images
Take note of all the IMAGE ID for each lilypad image (resource-provider, bacalhau, and watchtower)
Delete old Docker images that are duplicates for Lilypad (Bacalhau, Lilypad)
*Note - You can also use docker volume prune
to remove specific images that aren't being used
Install and Run a new Version of Lilypad
Create a new Resource Provider wallet (We recommend you don't use the same one you were using before, and you cannot use the same wallet you use to run jobs). See the Docs for Setting up a Metamask Wallet
Export your new WEB3_PRIVATE_KEY as an environment variable
Use
curl
to download thedocker-compose.yml
file from the Lilypad GitHub repository.
Start your Lilypad Node
OR start with your own RPC URL
Monitor Your Node
Use the following command to check the status of the resource provider and bacalhau.
Use the following command to view the containers running after starting Docker Compose.
A healthy, updated node should have all containers started, a preflight check, and be adding a resource offer.
Last updated
Was this helpful?