1.5 KiB
Update Automatically on Linux
On Linux, you can set up rippled to automatically upgrade to the latest version with a one-time cron configuration. Ripple recommends enabling automatic updates if possible.
These instructions assume you have already installed rippled from the yum repository (CentOS/RedHat) or using apt (Ubuntu/Debian).
Warning: As of version 1.3.0, the install and upgrade process has changed. Automatic updates will not upgrade from rippled 1.2.4 or lower to rippled 1.3.0 or higher. If you have rippled v1.2.4 or lower installed, follow the rippled 1.3.0 migration instructions first. After performing the migration, automatic updates should work again.
To set up automatic updates, complete the following steps:
-
Check that
/opt/ripple/etc/update-rippled-cronexists. If it does not, update manually (CentOS/Red Hat or Ubuntu/Debian). -
Create a symlink in your
cron.dfolder to the/opt/ripple/etc/update-rippled-cronconfig file:$ sudo ln -s /opt/ripple/etc/update-rippled-cron /etc/cron.d/This cron configuration runs a script to update the installed
rippledpackage within an hour of each new release. To reduce the chance of outages from all servers updating simultaneously, the script delays the update for a random number of minutes, up to 59.