Note: In the commands provided below you may need to replace Server/docker-compose.yaml
with your the .yaml file name and path for your node, or download the latest version of the docker-compose files from Github, and then follow the instructions in Creditcoin Miner's Manual to reconfigure your node.
Stop your existing docker containers:
$ docker-compose -f Server/docker-compose.yaml down
2. Run the following commands:
$ docker-compose -f Server/docker-compose.yaml pull
3. Start your existing docker containers:
$ docker-compose -f Server/docker-compose.yaml up
Have a Problem Updating?
check if your images in your .yaml file(s) are set to these:
gluwa/creditcoin-client:latestgluwa/creditcoin-validator:latestgluwa/creditcoin-processor:latest
We strongly recommend using the published blockchain snapshot to avoid any potential problems. Use this torrent file or magnet link address below to download the snapshot. You can also download it directly here.
Magnet Link:
magnet:?xt=urn:btih:5b2f2ebf6be7e37e7bdf71c5edf356a7dec87ca2&dn=creditcoin-block-volume.tar.gz&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce
Timestamp: October 7, 2020 10:10 PM UTC
File Name: creditcoin-block-volume.tar.gz
Latest Block: 603,058
SHA-256 Hash: 6a10f081137481aca963d1432228d694948f38361b6980b5c13f30795036a26e
Note: In the commands provided below you may need to replace Server/docker-compose.yaml
with your the .yaml file name and path for your node, or download the latest version of the docker-compose files from Github, and then follow the instructions in Creditcoin Miner's Manual to reconfigure your node.
Stop the node
sudo docker-compose -f Server/docker-compose.yaml down
Download blockchain snapshot creditcoin-block-volume.tar.gz
and place it in /
Remove the existing blockchain files
sudo bash -c "rm /var/lib/docker/volumes/server_validator-block-volume/_data/*"
Extract the snapshot
sudo tar xzvf /creditcoin-block-volume.tar.gz -directory /var/lib/docker/volumes/server_validator-block-volume/
Restart the node
sudo docker-compose -f Server/docker-compose.yaml up
Download blockchain snapshot and note the location (e.g. C:\temp\creditcoin-blockchain-volume.tar.gz
)
Stop the creditcoin docker containers:
> docker-compose -f Server/docker-compose.yaml down
In a new PowerShell or Command Prompt window, create a temporary container, and mount Docker root to /host:
> docker run -it -v /:/host ubuntu /bin/sh
Get the new container name (It will be something like "recursing_lamport"):
> docker container ls
Copy the snapshot to the docker container (Where "recursing_lamport" is the container name from step 3)
> docker cp "C:\temp\creditcoin-block-volume.tar.gz" recursing_lamport:/
In the window from step 3, extract the blockchain snapshot: $ sudo tar xzvf /creditcoin-block-volume.tar.gz --directory /host/var/lib/docker/volumes/server_validator-block-volume/
Restart the Creditcoin docker containers
> docker-compose -f Server/docker-compose.yaml up
Download blockchain snapshot and note the location (e.g. /home/user/creditcoin-blockchain-volume.tar.gz
)
Stop the creditcoin docker containers:
> docker-compose -f Server/docker-compose.yaml down
In a new Terminal window, create a temporary container and mount Docker root to /host:
> docker run -it -v /:/host ubuntu /bin/sh
Get the new container name (It will be something like "recursing_lamport"):
> docker container ls
Copy the snapshot to the docker container (Where "recursing_lamport" is the container name from step 3)
$ docker cp "/home/user/creditcoin-blockchain-volume.tar.gz" recursing_lamport:/
In the window from step 3, extract the blockchain snapshot: $ sudo tar xzvf /creditcoin-block-volume.tar.gz --directory /host/var/lib/docker/volumes/server_validator-block-volume/
Restart the Creditcoin docker containers
> docker-compose -f Server/docker-compose.yaml up