Skip to content

Upgrade

Stop the service

sudo systemctl stop moonriver.service

Remove the old binary file

rm /var/lib/moonriver-data/moonbeam

Download the latest version of the binary file

Get the latest version of Moonbeam from the Moonbeam GitHub Release page

wget https://github.com/PureStake/moonbeam/releases/download/<NEW VERSION TAG HERE>/moonbeam

Move the binary to the data directory

mv ./moonbeam /var/lib/moonriver-data
cd /var/lib/moonriver-data
chmod +x moonbeam
chown moonriver_service moonbeam
cd $HOME

Register and start the service

sudo systemctl enable moonriver.service
sudo systemctl start moonriver.service
sudo systemctl status moonriver.service

Check the logs

sudo journalctl -u moonriver.service -f -o cat