From eceb6d888b2d536e0877e36285f483007e2e0ebd Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Tue, 10 Feb 2026 16:32:25 -0300 Subject: [PATCH 1/6] chore: update MongoDB version to 8.0 across configurations and add script for version management --- .github/workflows/ci-test-e2e.yml | 2 +- .github/workflows/ci.yml | 12 +- docker-compose-ci.yml | 2 +- docker-compose-local.yml | 2 +- .../federation-matrix/docker-compose.test.yml | 2 +- package.json | 1 + scripts/set-mongo-version.mjs | 259 ++++++++++++++++++ 7 files changed, 270 insertions(+), 10 deletions(-) create mode 100644 scripts/set-mongo-version.mjs diff --git a/.github/workflows/ci-test-e2e.yml b/.github/workflows/ci-test-e2e.yml index 0e41352406b56..28e0674011d3a 100644 --- a/.github/workflows/ci-test-e2e.yml +++ b/.github/workflows/ci-test-e2e.yml @@ -20,7 +20,7 @@ on: transporter: type: string mongodb-version: - default: "['8.2']" + default: "['8.0']" required: false type: string release: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b1e812e67ea3..2c6c1e597c957 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -158,7 +158,7 @@ jobs: fi; curl -H "Content-Type: application/json" -H "X-Update-Token: $UPDATE_TOKEN" -d \ - "{\"nodeVersion\": \"${{ needs.release-versions.outputs.node-version }}\", \"denoVersion\": \"${{ needs.release-versions.outputs.deno-version }}\",\"compatibleMongoVersions\": [\"8.2\"], \"commit\": \"$GITHUB_SHA\", \"tag\": \"$RC_VERSION\", \"branch\": \"$GIT_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"draft\", \"draftAs\": \"$RC_RELEASE\"}" \ + "{\"nodeVersion\": \"${{ needs.release-versions.outputs.node-version }}\", \"denoVersion\": \"${{ needs.release-versions.outputs.deno-version }}\",\"compatibleMongoVersions\": [\"8.0\"], \"commit\": \"$GITHUB_SHA\", \"tag\": \"$RC_VERSION\", \"branch\": \"$GIT_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"draft\", \"draftAs\": \"$RC_RELEASE\"}" \ https://releases.rocket.chat/update packages-build: @@ -548,8 +548,8 @@ jobs: release: ee transporter: 'nats://nats:4222' enterprise-license: ${{ needs.release-versions.outputs.enterprise-license }} - mongodb-version: "['8.2']" - coverage: '8.2' + mongodb-version: "['8.0']" + coverage: '8.0' node-version: ${{ needs.release-versions.outputs.node-version }} deno-version: ${{ needs.release-versions.outputs.deno-version }} lowercase-repo: ${{ needs.release-versions.outputs.lowercase-repo }} @@ -570,8 +570,8 @@ jobs: enterprise-license: ${{ needs.release-versions.outputs.enterprise-license }} shard: '[1, 2, 3, 4, 5]' total-shard: 5 - mongodb-version: "['8.2']" - coverage: '8.2' + mongodb-version: "['8.0']" + coverage: '8.0' node-version: ${{ needs.release-versions.outputs.node-version }} deno-version: ${{ needs.release-versions.outputs.deno-version }} lowercase-repo: ${{ needs.release-versions.outputs.lowercase-repo }} @@ -981,7 +981,7 @@ jobs: fi; curl -H "Content-Type: application/json" -H "X-Update-Token: $UPDATE_TOKEN" -d \ - "{\"nodeVersion\": \"${{ needs.release-versions.outputs.node-version }}\", \"denoVersion\": \"${{ needs.release-versions.outputs.deno-version }}\", \"compatibleMongoVersions\": [\"8.2\"], \"commit\": \"$GITHUB_SHA\", \"tag\": \"$RC_VERSION\", \"branch\": \"$GIT_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"$RC_RELEASE\"}" \ + "{\"nodeVersion\": \"${{ needs.release-versions.outputs.node-version }}\", \"denoVersion\": \"${{ needs.release-versions.outputs.deno-version }}\", \"compatibleMongoVersions\": [\"8.0\"], \"commit\": \"$GITHUB_SHA\", \"tag\": \"$RC_VERSION\", \"branch\": \"$GIT_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"$RC_RELEASE\"}" \ https://releases.rocket.chat/update # Makes build fail if the release isn't there diff --git a/docker-compose-ci.yml b/docker-compose-ci.yml index d23feb3fcc435..cc98641b40c51 100644 --- a/docker-compose-ci.yml +++ b/docker-compose-ci.yml @@ -175,7 +175,7 @@ services: image: nats:2.6-alpine mongo: - image: mongodb/mongodb-community-server:${MONGODB_VERSION:-8.2}-ubi8 + image: mongodb/mongodb-community-server:${MONGODB_VERSION:-8.0}-ubi8 container_name: mongo restart: on-failure ports: diff --git a/docker-compose-local.yml b/docker-compose-local.yml index 9e9b3308867f3..c2d72c7492a65 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -130,7 +130,7 @@ services: - nats mongo: - image: mongodb/mongodb-community-server:8.2-ubi8 + image: mongodb/mongodb-community-server:${MONGODB_VERSION:-8.0}-ubi8 restart: on-failure ports: - 27017:27017 diff --git a/ee/packages/federation-matrix/docker-compose.test.yml b/ee/packages/federation-matrix/docker-compose.test.yml index 8b34c6509cec2..77fa416d52d8b 100644 --- a/ee/packages/federation-matrix/docker-compose.test.yml +++ b/ee/packages/federation-matrix/docker-compose.test.yml @@ -120,7 +120,7 @@ services: - "traefik.http.routers.rc1-http.middlewares=rc1" mongo: - image: mongo:8.0 + image: mongo:${MONGODB_FEDERATION_VERSION:-8.0} profiles: - test - element diff --git a/package.json b/package.json index 3e6b626d23017..1133b82275d3e 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "dsv": "turbo run dsv --env-mode=loose --filter=@rocket.chat/meteor...", "ms": "turbo run ms --env-mode=loose", "fossify": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' ts-node scripts/fossify.ts", + "set:mongo-version": "node ./scripts/set-mongo-version.mjs", "fuselage": "./fuselage.sh", "lint": "turbo run lint", "storybook": "yarn workspace @rocket.chat/meteor run storybook", diff --git a/scripts/set-mongo-version.mjs b/scripts/set-mongo-version.mjs new file mode 100644 index 0000000000000..b7a7b24a3fb9b --- /dev/null +++ b/scripts/set-mongo-version.mjs @@ -0,0 +1,259 @@ +#!/usr/bin/env node +/** + * Updates the MongoDB version used by CI/test compose files and workflows. + * + * Usage: + * node ./scripts/set-mongo-version.mjs [--federation ] [--dry-run] + * + * Examples: + * node ./scripts/set-mongo-version.mjs 8.2 + * node ./scripts/set-mongo-version.mjs 8.2 --federation 8.0 + * node ./scripts/set-mongo-version.mjs 7.0 --dry-run + */ + +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const repoRoot = path.resolve(__dirname, '..'); + +function die(message) { + process.stderr.write(`${message}\n`); + process.exit(1); +} + +function isVersionLike(v) { + return typeof v === 'string' && /^\d+(?:\.\d+)?$/.test(v); +} + +function deriveFederationVersion(mongodbVersion) { + const m = /^(\d+)\.(\d+)$/.exec(mongodbVersion); + if (!m) { + return mongodbVersion; + } + const major = m[1]; + const minor = Number(m[2]); + if (Number.isNaN(minor) || minor === 0) { + return mongodbVersion; + } + return `${major}.0`; +} + +function parseArgs(argv) { + const args = argv.slice(2); + const out = { mongodbVersion: '', federationVersion: '', compatibleVersions: [], dryRun: false }; + + if (args.length === 0 || args.includes('--help') || args.includes('-h')) { + die( + [ + 'Usage: node ./scripts/set-mongo-version.mjs [--federation ] [--compatible ] [--dry-run]', + '', + 'Examples:', + ' node ./scripts/set-mongo-version.mjs 8.2', + ' node ./scripts/set-mongo-version.mjs 8.2 --federation 8.0', + ' node ./scripts/set-mongo-version.mjs 7.0 --dry-run', + ].join('\n'), + ); + } + + out.mongodbVersion = args[0]; + if (!isVersionLike(out.mongodbVersion)) { + die(`Invalid mongodbVersion: "${out.mongodbVersion}" (expected something like "8.2" or "7.0")`); + } + + for (let i = 1; i < args.length; i++) { + const a = args[i]; + if (a === '--dry-run') { + out.dryRun = true; + continue; + } + if (a === '--federation') { + const v = args[i + 1]; + if (!v || v.startsWith('--')) { + die('Missing value for --federation'); + } + if (!isVersionLike(v)) { + die(`Invalid --federation version: "${v}" (expected something like "8.0" or "7.0")`); + } + out.federationVersion = v; + i++; + continue; + } + if (a === '--compatible') { + const v = args[i + 1]; + if (!v || v.startsWith('--')) { + die('Missing value for --compatible (expected comma-separated list like "7.0,8.2")'); + } + const parts = v + .split(',') + .map((x) => x.trim()) + .filter(Boolean); + if (parts.length === 0) { + die('Invalid --compatible value (empty list)'); + } + for (const p of parts) { + if (!isVersionLike(p)) { + die(`Invalid --compatible entry: "${p}" (expected something like "8.2" or "7.0")`); + } + } + out.compatibleVersions = parts; + i++; + continue; + } + die(`Unknown argument: ${a}`); + } + + if (!out.federationVersion) { + out.federationVersion = deriveFederationVersion(out.mongodbVersion); + } + if (out.compatibleVersions.length === 0) { + out.compatibleVersions = [out.mongodbVersion]; + } + + return out; +} + +function replaceAllOrThrow({ filePath, content, replacements }) { + let next = content; + const changes = []; + + for (const r of replacements) { + const before = next; + if (r.pattern.global || r.pattern.sticky) { + r.pattern.lastIndex = 0; + } + const hadMatch = before.match(r.pattern) !== null; + if (r.pattern.global || r.pattern.sticky) { + r.pattern.lastIndex = 0; + } + next = before.replace(r.pattern, r.replace); + if (before !== next) { + changes.push(r.description); + } else if (!hadMatch && r.required) { + throw new Error(`Expected pattern not found (${r.description}) in ${filePath}`); + } + } + + return { next, changes }; +} + +function updateFile(fileRelPath, replacements, { dryRun }) { + const filePath = path.join(repoRoot, fileRelPath); + const content = fs.readFileSync(filePath, 'utf8'); + const { next, changes } = replaceAllOrThrow({ filePath, content, replacements }); + + if (next === content) { + process.stdout.write(`- ${fileRelPath}: no changes\n`); + return false; + } + + process.stdout.write(`- ${fileRelPath}: updated (${changes.join(', ') || 'content'})\n`); + + if (!dryRun) { + fs.writeFileSync(filePath, next); + } + + return true; +} + +const { mongodbVersion, federationVersion, compatibleVersions, dryRun } = parseArgs(process.argv); + +process.stdout.write(`MongoDB (CI/local) version: ${mongodbVersion}\n`); +process.stdout.write(`MongoDB (federation tests) version: ${federationVersion}\n`); +process.stdout.write(`MongoDB (artifact compatible versions): ${compatibleVersions.join(', ')}\n`); +if (dryRun) { + process.stdout.write('(dry-run)\n'); +} + +let any = false; + +any = + updateFile( + 'docker-compose-ci.yml', + [ + { + description: 'MONGODB_VERSION default', + required: true, + pattern: /\$\{MONGODB_VERSION:-([0-9.]+)\}/g, + replace: `\${MONGODB_VERSION:-${mongodbVersion}}`, + }, + ], + { dryRun }, + ) || any; + +any = + updateFile( + 'docker-compose-local.yml', + [ + { + description: 'mongodb-community-server image (supports hardcoded or env default)', + required: true, + pattern: + /image:\s*mongodb\/mongodb-community-server:(?:\$\{MONGODB_VERSION:-)?(\d+(?:\.\d+)?)(?:\})?-ubi8/g, + replace: `image: mongodb/mongodb-community-server:\${MONGODB_VERSION:-${mongodbVersion}}-ubi8`, + }, + ], + { dryRun }, + ) || any; + +any = + updateFile( + '.github/workflows/ci-test-e2e.yml', + [ + { + description: 'workflow_call.mongodb-version default', + required: true, + pattern: /(mongodb-version:\s*\n\s*default:\s*)"\['(\d+(?:\.\d+)?)'\]"/g, + replace: `$1"['${mongodbVersion}']"`, + }, + ], + { dryRun }, + ) || any; + +any = + updateFile( + '.github/workflows/ci.yml', + [ + { + description: 'mongodb-version matrix pin', + required: true, + pattern: /(mongodb-version:\s*)"\['(\d+(?:\.\d+)?)'\]"/g, + replace: `$1"['${mongodbVersion}']"`, + }, + { + description: 'coverage pin', + required: true, + pattern: /(coverage:\s*)'(\d+(?:\.\d+)?)'/g, + replace: `$1'${mongodbVersion}'`, + }, + { + description: 'compatibleMongoVersions in artifact metadata JSON', + required: true, + pattern: /compatibleMongoVersions\\":\s*\[[^\]]*\]/g, + replace: `compatibleMongoVersions\\": [${compatibleVersions.map((v) => `\\\"${v}\\\"`).join(', ')}]`, + }, + ], + { dryRun }, + ) || any; + +any = + updateFile( + 'ee/packages/federation-matrix/docker-compose.test.yml', + [ + { + description: 'federation mongo image (supports hardcoded or env default)', + required: true, + pattern: + /image:\s*mongo:(?:\$\{MONGODB_FEDERATION_VERSION:-)?(\d+(?:\.\d+)?)(?:\})?/g, + replace: `image: mongo:\${MONGODB_FEDERATION_VERSION:-${federationVersion}}`, + }, + ], + { dryRun }, + ) || any; + +if (!any) { + process.stdout.write('No changes were necessary.\n'); +} + From 395d268c33172a21ae4804d29913ad81315ef06d Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Tue, 10 Feb 2026 16:40:38 -0300 Subject: [PATCH 2/6] fix: update MongoDB deprecation warning to reflect version 8.0 and enhance environment checks --- apps/meteor/server/startup/serverRunning.ts | 83 +++++++++++---------- 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/apps/meteor/server/startup/serverRunning.ts b/apps/meteor/server/startup/serverRunning.ts index 3bb9433ecc4fd..a53c78361149b 100644 --- a/apps/meteor/server/startup/serverRunning.ts +++ b/apps/meteor/server/startup/serverRunning.ts @@ -11,7 +11,7 @@ import { getMongoInfo } from '../../app/utils/server/functions/getMongoInfo'; // import { i18n } from '../lib/i18n'; // import { isRunningMs } from '../lib/isRunningMs'; // import { sendMessagesToAdmins } from '../lib/sendMessagesToAdmins'; -import { showErrorBox, showSuccessBox } from '../lib/logger/showBox'; +import { showErrorBox, showSuccessBox, showWarningBox } from '../lib/logger/showBox'; const exitIfNotBypassed = (ignore: string | undefined, errorCode = 1) => { if (typeof ignore === 'string' && ['yes', 'true'].includes(ignore.toLowerCase())) { @@ -21,7 +21,10 @@ const exitIfNotBypassed = (ignore: string | undefined, errorCode = 1) => { process.exit(errorCode); }; -// const skipMongoDbDeprecationCheck = ['yes', 'true'].includes(String(process.env.SKIP_MONGODEPRECATION_CHECK).toLowerCase()); +const skipMongoDbDeprecationCheck = + ['yes', 'true'].includes(String(process.env.SKIP_MONGODEPRECATION_CHECK).toLowerCase()) || + process.env.TEST_MODE === 'true' || + process.env.NODE_ENV === 'development'; // const skipMongoDbDeprecationBanner = ['yes', 'true'].includes(String(process.env.SKIP_MONGODEPRECATION_BANNER).toLowerCase()); Meteor.startup(async () => { @@ -72,7 +75,7 @@ Meteor.startup(async () => { const mongoSemver = semver.coerce(mongoVersion); if (!mongoSemver || semver.satisfies(mongoSemver, '<7.0.0')) { - msg += ['', '', 'YOUR CURRENT MONGODB VERSION IS NOT SUPPORTED BY ROCKET.CHAT,', 'PLEASE UPGRADE TO VERSION 7.0 OR LATER'].join('\n'); + msg += ['', '', 'YOUR CURRENT MONGODB VERSION IS NOT SUPPORTED BY ROCKET.CHAT,', 'PLEASE UPGRADE TO VERSION 8.0 OR LATER'].join('\n'); showErrorBox('SERVER ERROR', msg); exitIfNotBypassed(process.env.BYPASS_MONGO_VALIDATION); @@ -81,42 +84,42 @@ Meteor.startup(async () => { showSuccessBox('SERVER RUNNING', msg); // Deprecation - // if (!skipMongoDbDeprecationCheck && semver.satisfies(semver.coerce(mongoVersion), '<7.0.0')) { - // msg = [ - // `YOUR CURRENT MONGODB VERSION (${mongoVersion}) IS DEPRECATED.`, - // 'IT WILL NOT BE SUPPORTED ON ROCKET.CHAT VERSION 8.0.0 AND GREATER,', - // 'PLEASE UPGRADE MONGODB TO VERSION 6.0 OR GREATER', - // ].join('\n'); - // showWarningBox('DEPRECATION', msg); - - // const id = `mongodbDeprecation_${mongoVersion.replace(/[^0-9]/g, '_')}`; - // const title = 'MongoDB_Deprecated'; - // const text = 'MongoDB_version_s_is_deprecated_please_upgrade_your_installation'; - // const link = 'https://go.rocket.chat/i/mongodb-deprecated'; - - // if (!(await Users.bannerExistsById(id))) { - // if (skipMongoDbDeprecationBanner || process.env.TEST_MODE) { - // return; - // } - // sendMessagesToAdmins({ - // msgs: async ({ adminUser }) => [ - // { - // msg: `*${i18n.t(title, adminUser.language)}*\n${i18n.t(text, { postProcess: 'sprintf', sprintf: [mongoVersion] }, adminUser.language)}\n${link}`, - // }, - // ], - // banners: [ - // { - // id, - // priority: 100, - // title, - // text, - // textArguments: [mongoVersion], - // modifiers: ['danger'], - // link, - // }, - // ], - // }); - // } - // } + if (!skipMongoDbDeprecationCheck && semver.satisfies(semver.coerce(mongoVersion)!, '<8.0.0')) { + msg = [ + `YOUR CURRENT MONGODB VERSION (${mongoVersion}) IS DEPRECATED.`, + 'IT WILL NOT BE SUPPORTED ON ROCKET.CHAT VERSION 8.0.0 AND GREATER,', + 'PLEASE UPGRADE MONGODB TO VERSION 8.0 OR GREATER', + ].join('\n'); + showWarningBox('DEPRECATION', msg); + + // const id = `mongodbDeprecation_${mongoVersion.replace(/[^0-9]/g, '_')}`; + // const title = 'MongoDB_Deprecated'; + // const text = 'MongoDB_version_s_is_deprecated_please_upgrade_your_installation'; + // const link = 'https://go.rocket.chat/i/mongodb-deprecated'; + + // if (!(await Users.bannerExistsById(id))) { + // if (skipMongoDbDeprecationBanner || process.env.TEST_MODE) { + // return; + // } + // sendMessagesToAdmins({ + // msgs: async ({ adminUser }) => [ + // { + // msg: `*${i18n.t(title, adminUser.language)}*\n${i18n.t(text, { postProcess: 'sprintf', sprintf: [mongoVersion] }, adminUser.language)}\n${link}`, + // }, + // ], + // banners: [ + // { + // id, + // priority: 100, + // title, + // text, + // textArguments: [mongoVersion], + // modifiers: ['danger'], + // link, + // }, + // ], + // }); + // } + } }, 100); }); From 2f6ac441ab1a529813b8549c68adf505f60fc2a0 Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Tue, 10 Feb 2026 16:50:34 -0300 Subject: [PATCH 3/6] Update MongoDB version to 8 for long-term compatibility Adjusts the minimum supported MongoDB version for stability. --- .changeset/twelve-meals-sit.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/twelve-meals-sit.md diff --git a/.changeset/twelve-meals-sit.md b/.changeset/twelve-meals-sit.md new file mode 100644 index 0000000000000..89ddf2fcb79c2 --- /dev/null +++ b/.changeset/twelve-meals-sit.md @@ -0,0 +1,6 @@ +--- +"@rocket.chat/meteor": patch +"@rocket.chat/federation-matrix": patch +--- + +Adjusts the minimum supported MongoDB version from 8.2 (Rapid Release with short support lifecycle) to 8, ensuring stable and long-term compatibility From dfd52a1859d84d977250d03ef6852d972bb080e4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 02:10:01 +0000 Subject: [PATCH 4/6] Initial plan From 537e3c981c89f59812d21bb94d8ebe801cd4bb22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 02:11:57 +0000 Subject: [PATCH 5/6] Fix MongoDB <8.0 deprecation warning message Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com> --- apps/meteor/server/startup/serverRunning.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/meteor/server/startup/serverRunning.ts b/apps/meteor/server/startup/serverRunning.ts index a53c78361149b..7b53fa5b8dd52 100644 --- a/apps/meteor/server/startup/serverRunning.ts +++ b/apps/meteor/server/startup/serverRunning.ts @@ -86,8 +86,8 @@ Meteor.startup(async () => { // Deprecation if (!skipMongoDbDeprecationCheck && semver.satisfies(semver.coerce(mongoVersion)!, '<8.0.0')) { msg = [ - `YOUR CURRENT MONGODB VERSION (${mongoVersion}) IS DEPRECATED.`, - 'IT WILL NOT BE SUPPORTED ON ROCKET.CHAT VERSION 8.0.0 AND GREATER,', + `DEPRECATED: MONGODB VERSION ${mongoVersion}.`, + 'SUPPORT FOR MONGODB <8.0 WILL BE REMOVED IN ROCKET.CHAT 9.0.0.', 'PLEASE UPGRADE MONGODB TO VERSION 8.0 OR GREATER', ].join('\n'); showWarningBox('DEPRECATION', msg); From f3401d4a4a7a2b7f5b8eef17438e368c84fb1b6d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 02:12:36 +0000 Subject: [PATCH 6/6] Remove period from line 90 for consistency Co-authored-by: ggazzo <5263975+ggazzo@users.noreply.github.com> --- apps/meteor/server/startup/serverRunning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/server/startup/serverRunning.ts b/apps/meteor/server/startup/serverRunning.ts index 7b53fa5b8dd52..79b2463eb9245 100644 --- a/apps/meteor/server/startup/serverRunning.ts +++ b/apps/meteor/server/startup/serverRunning.ts @@ -87,7 +87,7 @@ Meteor.startup(async () => { if (!skipMongoDbDeprecationCheck && semver.satisfies(semver.coerce(mongoVersion)!, '<8.0.0')) { msg = [ `DEPRECATED: MONGODB VERSION ${mongoVersion}.`, - 'SUPPORT FOR MONGODB <8.0 WILL BE REMOVED IN ROCKET.CHAT 9.0.0.', + 'SUPPORT FOR MONGODB <8.0 WILL BE REMOVED IN ROCKET.CHAT 9.0.0', 'PLEASE UPGRADE MONGODB TO VERSION 8.0 OR GREATER', ].join('\n'); showWarningBox('DEPRECATION', msg);