3.5 Upgrade Miner

Stop mining

If your miner is not in mining status, feel free to skip this step.

  1. Refer to this link to stop mining.

  2. Wait until the end of the current mining period (1 hour per mining period). If you stop the miner too early, you may get slashed.

  3. Run the following commands to kill the original containers:

    1
    2
    3
    
    docker kill phala-phost
    docker kill phala-pruntime
    docker kill phala-node
    

Pull the new docker image

1
2
3
sudo docker pull phalanetwork/phala-poc3-node:latest
sudo docker pull phalanetwork/phala-poc3-pruntime:latest
sudo docker pull phalanetwork/phala-poc3-phost:latest

Bring up the full stack

Please re-do 2-1 Deploy the Full Stack

Reset database (for troubleshooting only)

Run the commands below to remove cached data. By default, the Phala node data is stored under $HOME/phala-node-data and the pruntime cache is stored at $HOME/phala-pruntime-data. If the path was changed in registration, please replace it with your path.

1
2
sudo rm -r $HOME/phala-node-data
sudo rm -r $HOME/phala-pruntime-data

Miner Community