Update farmerbot to v0.14.12

Hi farmers,

If you are using the Farmerbot, we recommend that you update now to v0.14.12. This version is fully compatible with the 3.13 release on mainnet and has a nice new feature that I recommend enabling.

It’s now possible to pass the --continue-power-on-error flag to the Farmerbot, and it will continue operation despite encountering certain kinds of errors. This will be enabled by default now when using my script to install a new bot, but for existing bots you will need to regenerate or edit your systemd unit file to enable this feature.

Update with script

You can use my script to update the farmerbot version. Just download a fresh copy of the script, run it, and follow the prompts to update the binary. It’s not necessary to update your config, but you should regenerate the unit file to enable the feature mentioned above.

Here’s are the commands to run on the system hosting your farmerbot:

rm farmerbot-setup.sh
wget https://gist.githubusercontent.com/scottyeager/b4e4504f037841da165e7f759976a86c/raw/farmerbot-setup.sh
sudo bash farmerbot-setup.sh
sudo systemctl daemon-reload
sudo systemctl restart farmerbot

Update manually

To update manually, do these steps:

wget https://github.com/threefoldtech/tfgrid-sdk-go/releases/download/v0.14.12/tfgrid-sdk-go_Linux_x86_64.tar.gz
tar xf tfgrid-sdk-go_Linux_x86_64.tar.gz farmerbot
sudo mv farmerbot /usr/local/bin
rm tfgrid-sdk-go_Linux_x86_64.tar.gz

Then edit your systemd unit file, for example with nano:

nano /etc/systemd/system/farmerbot.service

Add the flag in appropriate place (note that the “…” here stands in for the rest of your existing ExecStart line):

ExecStart=/usr/local/bin/farmerbot run --continue-power-on-error ...

Save the file and exit nano, then restart the bot:

sudo systemctl daemon-reload
sudo systemctl restart farmerbot
1 Like