FuLink Docs
  • GET STARTED
  • FuLink Introduction
  • Roadmap
  • CRYPTOGRAPHIC PRIMITIVES
  • Proxy Re-encryption
  • Identity-Based Encryption & Attribute-Based Encryption
  • Zero-Knowledge Proof
  • Fully Homomorphic Encryption
  • PRODUCTS
  • Introduction
    • Target Audience and Use Cases
  • FuLink for Stakers
    • FuLink Staking Dashboard
      • Staking Reward Statistics
      • Service Bonus Statistics
      • Staking Management
  • FuLink Worker Installer
    • Create Worker Account
    • FuLink Worker Installation
    • FuLink Worker Initialization and Running
    • FuLink Worker Update
  • FuLink for DApp Builders
    • FuLink Agent SDK
      • API Reference
    • FuLink SDK
      • API Reference
      • Usage Example
  • FuLink for DApp Users
  • RESOURCES
    • Glossary
    • Frequently Asked Questions
Powered by GitBook
On this page
  • Update in docker environment
  • Update in local environment
  1. FuLink Worker Installer

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.

  1. Stop the running node in Docker:

    docker kill <container ID>

    Delete the container:

    docker rm <container ID>
  2. Pull the latest FuLink image.

    docker pull fulink/fulink:latest
  3. Re-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:

  1. Access to your virtual environment

    source /root/fulink-venv/bin/activate
  2. Stop the running node

    screen -x fulink-worker // use this command if you run the worker node in a screen session
    
    press ctrl+c
  3. Uninstall 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.whl
  4. 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-ready
PreviousFuLink Worker Initialization and RunningNextFuLink for DApp Builders

Last updated 1 year ago

Verify Installation use the same command when install the first time. Check

Here