Updated: 2026-09-08
These instructions cover upgrading a running Saito node to the newest version.
| Step | Notes |
|---|---|
cd <path to saito node folder> |
likely opt/saito/node |
git switch prod |
Make sure you are on the prod branch |
git pull |
Get the latest code and scripts |
npm run upgrade-modules-config |
This script: - removes any deprecated modules - ensures the node is running at least admin and explorer- sanity checks that referenced modules are available - validates formatting and correctness This can be run after manually updating modules.config.js without issue.npm run upgrade-modules-config -- --dry-run will show what will be done without making any changes |
npm run upgrade-module-databases |
This script: - backs up databases - checks all database definitions in installed modules exist - adds any missing tables - adds any missing columns or indexes to tables npm run upgrade-module-databases -- --dry-run will show changes to be made without making changes |
npm install |
Install the new Rust core WASM |
npm run compile |
Upgrade 'userland' |
| Restart node | Likely pm2 restart or your custom process manager command to run npm start |