FuLink Worker Update
The FuLink worker node need to be updated when a new version is released.The update procedure could be different for the docker environment and local environment.
Make sure putting a small amount of native token(WSOL) to the worker account for sending one confirmation transaction.
Update in docker environment
Make sure you still hold your staking account and worker account. The update in docker is simple: stop the node, pull the latest image and restart the node.
Stop the running node in Docker:
docker kill <container ID>Delete the container:
docker rm <container ID>Pull the latest FuLink image.
docker pull fulink/fulink:latestRe-launch the worker node.
docker run --restart on-failure -d \ --name ursula \ -p 9151:9151 \ -v /root/fulink:/code \ -v /root/fulink:/home/circleci/.local/share/fulink \ -e FULINK_KEYSTORE_PASSWORD \ -e FULINK_OPERATOR_ETH_PASSWORD \ fulink/fulink fulink ursula run --no-block-until-ready
Update in local environment
The update procedure in local environment is:
Access to your virtual environment
source /root/fulink-venv/bin/activateStop the running node
screen -x fulink-worker // use this command if you run the worker node in a screen session press ctrl+cUninstall the old package and install the new package
pip uninstall fulink-0.2.0-py3-none-any.whl // make sure the package name matches your installed package wget https://download.fulink.org/release/core/fulink-0.5.0-py3-none-any.whl pip install fulink-0.5.0-py3-none-any.whlVerify Installation use the same command when install the first time. Check Here
Launch the node use the same config file
screen -S fulink-worker // use this command if you want to run the worker node in a screen session
fulink ursula run --no-block-until-readyLast updated