Updates
How to safely update SigmaOrders to newer versions.
Standard Updateโ
- Backup the plugin folder:
cp -r plugins/SigmaOrders plugins/SigmaOrders.backup - Stop the server gracefully (wait for operations to complete).
- Remove the old
SigmaOrders.jarand place the new one inplugins/. - Start the server and watch console for update messages.
Config and database updates are automatic: config.yml gets new options with defaults while preserving existing settings (no manual migration); database schema/tables update on startup with data preserved (no manual SQL needed).
Version Compatibilityโ
- Breaking changes: possible in major version updates - review config changes, test on a dev server first, check release notes.
- Backward compatibility: config files keep working with old keys; database migrations are automatic; deprecated API methods remain until the next major version.
Update Checklistโ
| Before updating | After updating |
|---|---|
| Read changelog | Verify plugin loads successfully |
| Backup plugin folder | Check console for errors |
Backup database.db | Test basic functionality (/orders) |
| Test on dev server if available | Verify configuration still works |
| Note current version for rollback | Check database integrity |
Rollback Procedureโ
- Stop the server.
- Restore the backup:
rm -rf plugins/SigmaOrders
cp -r plugins/SigmaOrders.backup plugins/SigmaOrders - Restore the database if needed:
cp plugins/SigmaOrders.backup/database.db plugins/SigmaOrders/ - Start the server and report the issue if applicable.
Update Notificationsโ
The plugin checks for updates on startup via its manifest system and prints notifications to console on each server start.
Development/snapshot builds may be unstable - backup more frequently and test thoroughly before production use.
See Alsoโ
- Configuration - Review new config options
- Troubleshooting - If issues occur