Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transfer data from a dumpfile to a new instance of rocket chat #188

Open
thsurgeonofdeath opened this issue Apr 11, 2023 · 1 comment
Open

Comments

@thsurgeonofdeath
Copy link

Hello, I have a rocket chat server (v 5.2.0) running on docker container and then backed up data using: docker exec db sh -c "mongodump --archive" > db.dump
I created a docker-compose file, that runs a new instance of rocket chat and MongoDB, then restored the dump file using: docker exec -i db sh -c "mongorestore --archive" < db.dump.
After the docker-compose startup, even when the logs show data transfer was successful, I'm always redirected to the default setup wizard, I looked into it and found i needed to add OVERWRITE_SETTING_Show_Setup_Wizard=completed in the environment, but even then, no data is displayed, it just asks me to log in, the credentials were wrong and I had to create a new user, and even then it's the default rocket chat interface with none of my rooms, channels, custom css...
How can add the data from a dumpfile of a previous rocketchat server to this new one running using docker-compose?

Thanks

@thsurgeonofdeath thsurgeonofdeath changed the title restore data from a mongoDB container transfer data from a dumpfile to a new instance of rocket chat Apr 11, 2023
@mremptypants
Copy link

Yeah, I am getting the same thing, mine started with the upgrade so i rebuilt everything moved the mongodb, 7.10 did the import and wizrd and non user found, it works if the users never log out...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants