Updating your node
How to update your node to the latest version
How to update your Raspberry Pi node
SSH into your Raspberry Pi using the following command:
The default password is mystberry.
Then to update your RPI, run:
How to update your Linux node
To update your Linux node, run:
How to update your Docker node
In order to update your Docker node, run the following commands.
Note 1: Make sure that you have your data in the persistent storage like myst-data.
Note 2: You can backup your keys before trying to update node version FAQ.
Pull the latest node image.
Delete the container that is already being used for running node:
Follow the running a docker node guide to start a new container.
How to setup automatic node updates on Ubuntu/Debian/RaspberryPi
Install the unattended-upgrades package
The unattended-upgrades package can be configured to perform unattended upgrades to install updated packages and security updates automatically. To install the unattended-upgrades package along with a package to identify the changes, enter the following in your terminal:
Configure unattended-upgrades

The unattended-upgrades config file location is /etc/apt/apt.conf.d/50unattended-upgrades. Lines starting with a double slash // have no effect. Therefore, to “enable” a line, remove the double slash //.
Allowing automatic node updates on RaspberryPi
Edit the 20auto-upgrades configuration file:
and your configuration file should look like this:
Edit the 50unattended-upgrades configuration:
and your configuration file should look like this:
Allowing automatic node updates on Ubuntu/Debian
The section that controls what packages are updated automatically starts with Unattended-Upgrade::Allowed-Origins {. You can enable all packages or security updates only. For software that is not on the Ubuntu repos that you would like to update, you need to add an origin and archive to the file. To find what those are for your PPAs, open the folder /var/lib/apt/lists/, that is the storage area for state information for each package resource and look for the file that end with Release in the name. Navigate to this file.
Inside you will see something like the following:

The origin is (Origin: LP-PPA-mysteriumnetwork-node-mainnet) and the archive will be whatever is under the line Suite (Suite: focal).
Now edit /etc/apt/apt.conf.d/50unattended-upgrades to include it:
unattended-ugprades is running automatically and is called via cronjob. If you want to debug it, you can easily run it with parameter:
All logs can be found here: /var/log/unattended-upgrades/unattended-upgrades.log