crypto:chia:update
This is an old revision of the document!
Crypto - Chia - Update
cd chia-blockchain . ./activate chia stop -d all deactivate git fetch git checkout latest git reset --hard FETCH_HEAD # If you get RELEASE.dev0 then delete the package-lock.json in chia-blockchain-gui and install.sh again git status # git status should say "nothing to commit, working tree clean", # if you have uncommitted changes, RELEASE.dev0 will be reported. sh install.sh . ./activate chia init # The GUI requires you have Ubuntu Desktop or a similar windowing system installed. # You can not install and run the GUI as root cd chia-blockchain-gui git fetch cd .. chmod +x ./install-gui.sh ./install-gui.sh cd chia-blockchain-gui npm run electron &
Troubleshooting
Sometimes stray daemons left over from previously running processes will cause strange bugs or errors when upgrading to a new version.
Make sure all daemons and chia processes are killed before installing or upgrading.
This is normally done by executing chia stop -d all from the upgrade example above.
But it does not hurt to double check using ps -Af | grep chia to make sure there are no chia processes left running.
You may have to manually kill the chia daemon if an install and chia start was performed without first running chia stop -d all.
If all else fails, rebooting the machine and restarting the chia daemon/processes usually does the trick.
crypto/chia/update.1620839325.txt.gz · Last modified: 2021/05/12 17:08 by peter