I had to setup the whole machine from scratch and saved all mongodb content using ‘mongodump’ before.
Then reinstalled everything; Rocket.Chat shows the setup assistent. Stopped the Rocket.Chat service and replaced all mongodb content using the backup data using ‘mongorestore’. I can verify that the old db content has been stored (e.g. collection ‘users’ shows the previously existing users).
Restarted Rocket.Chat and expected the normal login screen but the setup assistent is shown instead.
How should I proceed? What data has to be restored as well?
Server Setup Information
- Version of Rocket.Chat Server: 2.1.0
- Commit Hash: c95663d2ca
- Operating System: Ubuntu Server 18.04
- Deployment Method: tar
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabled
- NodeJS Version: 8.15.1
- MongoDB Version: 4.0.12
- Proxy: none
- Firewalls involved: none
Any additional Information
The log shows an entry that gives hint but I don’t understand it:
“Setting Setup Wizard to “in_progress” because, at least, one admin was found”