Workspace version unsupported v7.13.5

Description

Server Setup Information

  • Version of Rocket.Chat Server: 7.13.5
  • Operating System: ubuntu linux
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 22.16.0 - x64
  • MongoDB Version: 7.0.31
  • Proxy: caddy
  • Firewalls involved:

Any additional Information

Hi all, today i see this message on desktop app and mobile app. The message say: at least i need v7.10.0 but i have v7.13.5
Why?
How resolve this?

Helps if you read the docs.

7.10 is LTS. 7.13 is not.

Hi reetp then i need to switch at 7.10 ? How do it?

Way too late - the only safe way to go back is to restore a backup from 7.10.x

There will have been a lot of database upgrades since which will likely break if you just try and go back.

To avoid any breakages you’ll have to upgrade to a newer version, and then wait for the next LTS in September or so.

Ho reetp, i run with SNAP. Will be SNAP update for a LTS version in september? And until sept/26 desktop e mobile will be stopped? Not good.

No idea on snap - they are no longer supported and there may not be an update. You should switch to docker.

Note I don’t work here - it’s not my fault.

Hi,
got the same situation. Will switch to Docker. As we use community version, can I stay with community?

Yes. Licencing is the same across the board.

Make sure you backup and restore to the SAME RocketChat VERSION, and upgrade after the restore.

Do NOT try and backup say 7.13.x and restore to 8.5.x

Backup to 7.13.x and restore to 7.13.x

You CAN setup Mongo in docker as 8.x and import a 7.x database to it. Then upgrade Rocket after.

Note the db in snaps has a different name (parties?) to the one in docker (rocketchat)

You need to rename it. There are posts here and around on doing this.

I also advise you use the docker compose files with .env as per github.

And last, never, EVER use ‘latest’ unless you like nasty surprises. Pick a version and use it specifically. Upgrade on your own timescale.

Personally I always have a separate test box running and upgrade that first… :slight_smile:

Hi reetp and everyone, exist a complete and detailed guide step-by-step for migrate on same ubuntu server RC SNAP 7.13.5 to a RC DOCKER LTS ? thankyou

Nope.

Afraid not. My notes above should work.

Have LOTS of backups, and run a test machine first.

Essentially:

Setup Rocket on docker following the docs and specifying the same version as snap. You can use Mongo 8.

Dump the snap db.

Rename db.

Import db to docker rocket.

Upgrade Rocket.

Hi reetp

We’ve failed to migrate from snap to docker. Every time we restore the database the app crashes or shows intial wizard but it doesn’t work. Logs say nothing.

Should we initiate and register empty/new rocketchat instance on docker before db restore?

Our steps:

  1. backup db with:
    snap stop rocketchat-server.rocketchat-server
    rocketchat-server.backupdb

  2. run mongodb container, and restore the DB, to be able to do that first we have run something like this:
    mongosh --eval ‘rs.initiate({_id: “rs0”,members: [{ _id: 0, host: “mongodb:27017” }]})’
    and then go to the directory with backup and run mongorestore (we’ve tried to rename db before import (rename directory) and during import with mongorestore with “nsFrom” and “nsTo” but with no difference.

  3. run rocketchat app container

  4. in the webbrowser the app crashes or there is a initial wizard but the Next button doesn’t work.

Is there any step that we are missing?

Did you rename the db?

Yes, init first then import IIRC.

What do your logs tell you?

@reetp: As you said: “You CAN setup Mongo in docker as 8.x and import a 7.x database to it.” - Would using the DB, that comes with RocketChat work? Upgrading RC docker container from 7.13.x to 8.x should upgrade the database as well - will it?

If so, I would set up 7.13.5 as docker container, mongorestore the old database and then upgrade to RC 8.x … :thinking:

Hi reetp and other, just setup docker then migrate mongodb and compose a new rocketchat version 8.5.0
It’s running well.

But i dont show admin page workspace. Its empty with error. I’ve already registered new workspace on cloud successfully.

How resolve this error?

But:

Clearly not then…

I’ve already explaind how to upgrade.

You have to backup the db, change the db name, then import into a new mongo, then run Rocket on the SAME version you backed up. Check it works properly.

Upgrade after you have checked it works.

If you had done what I said you wouldn’t need to do this.

Rocket should start and use your existing, imported database. If it doesn’t you have gone wrong.

When importing ONLY start Mongo, then import, THEN start Rocket.

Hi reetp, i’ll explain better. RC 8.5.1 in docker work very well in all components: desktop,smartphone,browser. I’ve lost nothing: messages,integration,etc…
Just miss this page (here a 7.13.5 installation):


and the RC 8.5.1 show so:

How show workplace info in 8.5.1 ??? Thankx

Hi all, doing some debugs.
Chrome Devtools show api fail when i click on WORKSPACE

image

image

Latest traces before api in error:

GOOOOAL !

i’ve missed the microservices sequence in docker startup.

This is the correct form of startup: docker compose -f compose.yml -f compose.database.yml -f compose.nats.yml up -d

:grinning_face: