You are viewing a single comment's thread from:

RE: LeoThread 2024-08-16 16:13

in LeoFinance6 months ago (edited)

A #container with useful commands, tips and tricks for keeping a #vsc node up to date. Bookmark this if you're running a VSC node.

https://inleo.io/threads/view/mightpossibly/re-mightpossibly-39gm74pwm

Sort:  

Virtualization is #divine

$ docker ps

Command to check the status of your node. There should be four containers running, and they should be healthy

  • If one of the containers are in a restart-loop, follow steps in Part 2
  • If one of the containers are Unhealthy, skip straight to Part 3.

Node not up to date, Part 1

  1. Enter vsc-deployment folder
$ cd vsc-deployment
  1. Run
$ sudo docker-compose pull && sudo docker-compose up -d

Node not up to date, Part 2

If you attempted Part 1 and your node is still not up to date, do the following;

  1. Make sure you're in vsc-deployment folder:
$ cd vsc-deployment
  1. Delete the data folder and all its subfolders by running:
$ sudo rm -rf data
  1. Re-build and re-initialize the containers:
$ sudo docker-compose pull && sudo docker-compose up -d 

Node not up to date, Part 3

If you attempted Part 1 and your node is still not up to date, do the following;

  1. Make sure you're in vsc-deployment folder:
$ cd vsc-deployment
  1. Stop all docker containers:
$ sudo docker-compose stop
  1. Purge all container images:
$ sudo docker images purge
  1. Delete the data folder and all its subfolders by running:
$ sudo rm -rf data
  1. Re-build and re-initialize the containers:
$ sudo docker-compose pull && sudo docker-compose up -d