diff --git a/server/startup/serverRunning.js b/server/startup/serverRunning.js index 68809a2009f..751703139bb 100644 --- a/server/startup/serverRunning.js +++ b/server/startup/serverRunning.js @@ -62,7 +62,7 @@ Meteor.startup(function() { return process.exit(1); } - if (!semver.satisfies(mongoDbVersion, '>=3.2.0')) { + if (!semver.satisfies(semver.coerce(mongoDbVersion), '>=3.2.0')) { msg += ['', '', 'YOUR CURRENT MONGODB VERSION IS NOT SUPPORTED,', 'PLEASE UPGRADE TO VERSION 3.2 OR LATER'].join('\n'); SystemLogger.error_box(msg, 'SERVER ERROR');