At FileCloud, we’re always working to make sure our systems are upgraded to the highest possible standard. With our 21.1 update, FileCloud MongoDB has been upgraded from 3.6 to 4.2. For standalone installations, the script will automatically upgrade the version, as it includes compatibility checks and issues. Prior to web node upgrades, the MongoDB cluster will […]
At FileCloud, we’re always working to make sure our systems are upgraded to the highest possible standard.
With our 21.1 update, FileCloud MongoDB has been upgraded from 3.6 to 4.2.
For standalone installations, the script will automatically upgrade the version, as it includes compatibility checks and issues. Prior to web node upgrades, the MongoDB cluster will need to be upgraded manually.
mongo --host {IP address of Primary} --eval "db.adminCommand( { setFeatureCompatibilityVersion: '3.6' } )"
In Linux versions, you can use the command filecloudcp -m40 which should help you upgrade the MongoDB from 3.6 to 4.0
rs.stepDown()
mongo --host {IP address of Primary} "db.adminCommand( { setFeatureCompatibilityVersion: '4.0' } )"
filecloudcp -m42
rs.stepDown()
mongo --host {IP address of Primary} "db.adminCommand( { setFeatureCompatibilityVersion: '4.2' } )"
After upgrading the MongoDB servers, you can run the command filecloudcp -u on all the web servers which should help you to upgrade the FileCloud webservers to the latest version.
Download the file here and place it under Xampp\htdocs\resources\tools
mongo --host {IP address of Primary} --eval "db.adminCommand( { setFeatureCompatibilityVersion: '3.6' } )"
In Linux versions, you can use the command Xampp\htdocs\resources\tools\filecloudcp -m40 which should help you upgrade the MongoDB from 3.6 to 4.0
rs.stepDown()
mongo --host {IP address of Primary} "db.adminCommand( { setFeatureCompatibilityVersion: '4.0' } )"
Xampp\htdocs\resources\tools\filecloudcp -m42
rs.stepDown()
mongo --host {IP address of Primary} "db.adminCommand( { setFeatureCompatibilityVersion: '4.2' } )"
After upgrading the MongoDB servers, you can run the command filecloudcp -u on all the web servers which will help you to upgrade the FileCloud webservers to the latest version.
In case of any issues with the upgrade, please feel free to open a ticket with our support team at support@filecloud.com
Article written by Nandakumar Chitrasuresh