Upgrade guide
Overview
The Mambo Platform continually evolves to better meet your requirements and resolve any defects that may have eluded our comprehensive automated test suite. This guide will walk you through the process of safely upgrading your Mambo installation.
Prerequisites
Before beginning the upgrade process, ensure you have:
- Access credentials for all servers running the platform
- Administrator access to your MongoDB database
- A copy of your current
mambo.propertiesfile - The new Mambo release WAR file
- Sufficient downtime allocated for the upgrade process
Testing procedure
Prior to upgrading your production environment, you must create and test on a staging environment:
-
Create a complete copy of your production environment, including at least:
- One Mambo application server
- One database server
-
Use this staging environment to:
- Test the upgrade process itself
- Verify all integrations function correctly after the upgrade
-
Choose one of these integration testing approaches:
Approach Description Recommendation Recommended Create a test/copy environment for your integrated product and point it to the upgraded test servers Preferred for all situations Alternative Point your live production system to the test environment Only use when there are NO users in the system OR with an isolated copy of production
Always perform thorough testing on every upgrade to ensure your integrations continue to function properly. Major upgrades may include migration paths with specific instructions for updating integration code.
Update process
Follow these steps to update your Mambo Gamification Platform:
-
Access all servers running the platform
-
Stop Tomcat service
Bash -
Backup your current
mambo.propertiesfileBash -
Deploy the new WAR file following the procedure in the Installation Guide
-
Configure your new
mambo.propertiesfile:- Refer to your backup for existing values
- Important: Do not simply copy and paste the old file
- Check for new configuration fields and requirements
-
Start Tomcat service
Bash -
Monitor the upgrade process in the log file
Bash
Post-upgrade verification
After completing the upgrade:
- Verify the application starts correctly
- Check that all integrations are functioning
- Test core platform features like points awarding and redemption
- Monitor error logs for at least 24 hours
Troubleshooting
Upgrade process lock
If your upgrade fails and you need to retry, you may encounter this error:
Or in newer versions:
This indicates the upgrade failed and left a lock in the database. To resolve:
- Log into your MongoDB shell:
- Restart Tomcat after removing the lock
Deserializing session errors
If the upgrade changes session structures and sessions were created before completion, you might see:
With this prefix near the top of the stack trace:
To resolve, clear the sessions via the database: