The latest delivered MongoDB version is 8. It can be used with Sage X3 Syracuse Server version 12.23.0.
Important: The minimum version required to upgrade to MongoDB 8 is MongoDB 4.2. Therefore, it is also possible to update from MongoDB 4.4 and MongoDB 7 to MongoDB 8.
Sage delivers a MongoDB setup to upgrade your MongoDB instance.
Consult the MongoDB 8 documentation for more information.
For each release, the minimum Syracuse upgrades compatible with MongoDB 8 are the following:
| Product version | Minimum Sage X3 Syracuse Server version |
|---|---|
| U9 | Not compatible |
| V11 | Not compatible |
| V12 | 12.23.0 |
Consult the prerequisites documentation for MongoDB 8 on Linux and Windows for more information.
Consult this documentation if you need to upgrade to MongoDB 4.2 first.

Before upgrading to MongoDB 8, take these notes into consideration:
Clear the MongoDB cache.
Make sure before you launch the setup, there's at least two times the size of the current database of free disk space.
If you are using a Java Oracle platform and if the MongoDB server uses an SSL connection, you need to make sure the system has at least Java 11 installed.
You need to purge and clean big objects stored in the MongoDB database. This will reduce the size of the database to migrate.
Note: If the customer executes the purge, it is normal to not see any immediate benefits due to database fragmentation. This issue will be solved automatically during the migration process.
The replica set feature is not handled by the migration tool. The migration of replica sets needs to be done manually.
The sharded cluster feature is currently not handled by the current architecture of Sage X3 Syracuse Server.
The duration of the migration is impacted by the resources of the server where MongoDB is installed and by the size of the database.
When you start the migration process, the process can't be reversed. This is due to the setup detecting a previous installation of MongoDB and trying to update it before executing the migration at the end of the process using a dedicated Powershell script.
During the upgrade procedure to MongoDB 8, take these notes into consideration for possible troubleshooting during the migration that occurs during the process:
It can be important to look at the following log files generated by the Powershell migration script:
Migration setting file (migration-8-0.ini)
Timestamped log file (migration-tools.log)
The migration setting file and timestamped log file are located in the MongoDB installation folder.
If you encounter an error during the migration, the information stored in the timestamped log file can provide context to the error and provide you with instructions to solve it.
If an error occurs during the migration, a manual migration needs to be executed. Follow the instructions described in the log file concerning the manual installation.
After the upgrade to MongoDB 8 is concluded, take these notes into consideration:
In the update_backup directory located within the MongoDB installation folder, you can find the data of the MongoDB database before the upgrade together with the dump of the database before the migration. If after a certain time, the migration is validated, the content of this directory can be archived or purged.