Upgrade
Upgrading your Wraft installation
Upgrading your Wraft installation
Step-by-step guide to upgrade Wraft across different deployment methods
Docker
Update the images using the latest image from Wraft.
After upgrading, run the database migrations:
Verify the Upgrade
- Check the application is running:
docker-compose ps
- Visit your application URL to ensure it's working
- Check the logs for any errors:
docker-compose logs -f
Kubernetes
This upgrade guide is applicable for Wraft Kubernetes deployments using Helm charts.
Post-Upgrade Steps
- Verify all pods are running:
kubectl get pods
- Check application logs:
kubectl logs -f deployment/wraft-backend
- Ensure database migrations completed successfully
Local
For local installations, follow these steps to upgrade Wraft:
Prerequisites
- Backup your current installation
- Ensure you have the latest dependencies installed
Upgrade Steps
Verify the Upgrade
- Check service status (Linux):
sudo systemctl status wraft
- Check service status (macOS):
brew services list | grep wraft
- View application logs: Check your application's log files
- Test the application functionality
Backup Before Upgrade
Before performing any upgrade, it's recommended to create a backup:
Docker
Kubernetes
Troubleshooting
Common Issues
- Database Migration Errors: Ensure your database is accessible and has sufficient permissions
- Asset Compilation Errors: Clear build cache and reinstall dependencies
- Service Won't Start: Check logs for configuration errors
Rollback Procedure
If the upgrade fails, you can rollback:
Version Compatibility
- Check the changelog for breaking changes
- Review the upgrade notes for your specific version
- Test the upgrade in a staging environment first
Support
If you encounter issues during the upgrade process:
- Check the GitHub issues
- Review the documentation
- Join the community discussions