Rocket.Chat Upgrade Issue (MongoDB 7 → 8, 8.1.1 → 8.2.1)
Current setup
-
Rocket.Chat: 8.1.1
-
MongoDB: 7.0
-
Running stable with full data (users, channels, messages)
Goal
Upgrade to:
-
Rocket.Chat 8.2.1
-
MongoDB 8
Test setup
-
MongoDB 8
-
Rocket.Chat 8.1.1 works fine on MongoDB 8
Problem
After upgrading Rocket.Chat to 8.2.1 (changing only the image in docker-compose):
-
Rocket.Chat starts
-
Setup wizard appears
-
Asked to create a new admin account
-
Existing data is not recognized
What I tried
-
Direct upgrade (8.1.1 → 8.2.1)
→ Setup wizard appears -
Backup & restore:
mongodump --gzip --archive=dump.gz mongorestore --gzip --archive=dump.gz --drop→ Data is restored but still not recognized
-
Combinations:
-
MongoDB 8 + Rocket.Chat 8.1.1 → works
-
MongoDB 8 + Rocket.Chat 8.2.1 → setup wizard
-
Question
Is there a required migration step when upgrading from Rocket.Chat 8.1.1 (MongoDB 7) to 8.2.1 (MongoDB 8)?
How can I upgrade without losing or reinitializing the existing data?