Upgrade

Current Version
Upgrade Folder

v7.5.1

v7.5.1

This guide assumes that the current systemd file is named as functionx

Downloading and installing Binary

sudo systemctl stop functionx
cd $HOME
git clone https://github.com/functionx/fx-core.git 
cd fx-core
git pull
git checkout v7.5.1
make install

sudo systemctl start functionx

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/functionx/fx-core.git 
cd fx-core
git pull
git checkout v7.5.1
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.fxcore/cosmovisor/upgrades/v7.5.1/bin
sudo cp $HOME/go/bin/fxcored $HOME/.fxcore/cosmovisor/upgrades/v7.5.1/bin/

#Stop functionx daemon
sudo systemctl stop functionx

#creating symlink to new binaries
ls -l $HOME/.fxcore/cosmovisor/current
rm $HOME/.fxcore/cosmovisor/current
ln -s $HOME/.fxcore/cosmovisor/upgrades/v7.5.1 $HOME/.fxcore/cosmovisor/current

#starting functionx
sudo systemctl start functionx && sudo journalctl -u functionx -f -o cat

Last updated