Update Process Overview
Typical update workflow:- Download new binary or Docker image
- Stop the node
- Replace binary or update configuration
- Start the node
- Verify successful startup
Monitoring for Updates
Official Channels
- Discord: Sui Network Discord - #node-operator-announcements
- GitHub: Sui Releases
- Documentation: Sui Docs
Version Information
Check your current version:Systemd Update Procedure
1
Download new binary
2
Stop the node
3
Backup current binary (optional)
4
Replace binary
5
Start the node
6
Verify startup
Docker Update Procedure
1
Stop containers
2
Update image version
Edit Or use environment variable:
docker-compose.yaml:3
Pull new image
4
Start containers
5
Verify startup
Automated Updates
Using Watchtower (Docker)
Watchtower automatically updates Docker containers:Update Script
Create an automated update script:Configuration Updates
Sometimes updates require configuration changes.Check for Breaking Changes
Review release notes for configuration changes:Apply Configuration Changes
1
Backup current configuration
2
Edit configuration
3
Validate configuration
4
Restart node
Rollback Procedure
If an update fails, rollback to the previous version:Systemd Rollback
Docker Rollback
Maintenance Tasks
Database Pruning
Check database size:validator.yaml:
Log Rotation
For systemd:Metrics Cleanup
Prometheus data retention:Emergency Maintenance
Node Crash Recovery
1
Check logs for errors
2
Verify database integrity
3
If database corruption detected
You may need to restore from snapshot. See Snapshots for details.
Disk Full Recovery
Security Updates
Private Security Fixes
For critical security vulnerabilities, Mysten Labs may release signed binaries before source code publication. Public key location:Testing Updates
Test on Testnet First
Always test updates on testnet before mainnet:- Run a testnet validator
- Apply update to testnet validator
- Monitor for 24-48 hours
- If stable, apply to mainnet
Update Checklist
- Review release notes
- Test on testnet
- Backup configuration
- Schedule maintenance window
- Notify delegators (for validators)
- Perform update
- Monitor for 1 hour post-update
- Verify metrics and logs
- Update documentation
Scheduled Maintenance
Planning Maintenance Windows
For validators:- Communicate with delegators
- Schedule during low-activity periods
- Keep downtime under 1 hour
- Have rollback plan ready