Overview
Upgrading Sakai requires careful planning and execution to minimize downtime and ensure data integrity. This guide covers the complete upgrade process from planning through post-upgrade validation.Supported Versions
Community Supported Versions
Development Versions
- Sakai 25.2 - Expected Q2 2026
- Sakai 23.5 - Expected Q4 2025
- Sakai 22.6 - Expected Q4 2025
Pre-Upgrade Planning
Timeline
Review Release Notes
Before upgrading, thoroughly review:- Release Notes: New features, bug fixes, and known issues
- Upgrade Documentation: Version-specific instructions
- Breaking Changes: API changes, deprecated features
- Database Changes: Schema migrations, data conversions
Release documentation is available at: https://sakaiproject.atlassian.net/wiki/spaces/DOC/pages/17225318626/Release+Documentation
Check Dependencies
Java Version Requirements
Tomcat Version Requirements
Database Support
- MySQL 5.7+ or MariaDB 10.3+
- Oracle 12c+
- PostgreSQL 10+
Upgrade Preparation
1. Backup Everything
Create complete backups before starting:2. Document Current State
Record current system information:3. Prepare Test Environment
Create a QA environment that mirrors production:Build New Version
Download Source Code
Apply Custom Code
If you have local customizations:Build Sakai
Building Sakai from source typically takes 20-40 minutes depending on hardware and whether artifacts are cached.
Upgrade Process
Maintenance Window Checklist
Step-by-Step Upgrade
1. Enable Maintenance Mode
Create maintenance page:2. Stop Tomcat
3. Backup Current Deployment
4. Deploy New Version
5. Update Configuration
Review and updatesakai.properties:
6. Database Conversion
Database conversion scripts are typically in:Some Sakai versions include automatic database migrations. Check release notes to determine if manual conversion is required.
7. Clear Caches
8. Set Permissions
9. Start Tomcat
10. Validate Upgrade
11. Disable Maintenance Mode
Post-Upgrade Tasks
Monitoring
Monitor system closely for 24-48 hours:Performance Optimization
After upgrade, optimize performance:User Communication
Rollback Procedure
If critical issues are discovered:Version-Specific Notes
Upgrading to Sakai 25
- Java 17 Required: Upgrade from Java 11
- No
varkeyword: Code usingvarmust be refactored - Web Components: New frontend architecture
- Bootstrap 5.2: UI framework upgrade
Upgrading to Sakai 23
- Java 11 Required: Upgrade from Java 8
- Database Character Set: Ensure UTF-8 MB4 support
- Assignment Conversion: Major changes to assignments
Troubleshooting
Common Issues
Problem: Tomcat fails to start after upgrade Solution: Check logs for missing dependencies or configuration errors:sakai.properties
Best Practices
Test First
Always test upgrades in QA environment that mirrors production before upgrading production.
Schedule Wisely
Schedule upgrades during low-usage periods (weekends, breaks) with adequate time buffer.
Keep Current
Stay within 1-2 versions of current release. Large version jumps are riskier.
Document Everything
Document your upgrade process, customizations, and any issues encountered.