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

Rocket.Chat update to new version (Example: Rocket.Chat server 0.28.0 update to 0.44.0 #4734

Closed
sophornsna opened this issue Oct 26, 2016 · 9 comments

Comments

@sophornsna
Copy link

Hi developer,

I am very wonder with update Rocket.Chat to new version. I am using the Rocket.Chat old version by git and I want to update it to new version. I run the meteor to startup Rocket.Chat server.

Thanks,

@geekgonecrazy
Copy link
Member

@sophornsna are you using the mongo database built into meteor or an external database?

@sophornsna
Copy link
Author

I am using the mongo database built into meteor.

@geekgonecrazy
Copy link
Member

Any guide or advice we give will be away from using meteor to run in production.

My advice would be to export your database from the meteor mongo, and install rocket.chat using a recommended method.

To do this first make sure meteor is running. Then run: mongodump -h 127.0.0.1 --port 3001 -d meteor

It'll dump the database in a folder called dump.

Then install mongodb on your system. Please see the mongo section in one of our guides: https://rocket.chat/docs/installation/manual-installation/ubuntu/

Once Mongo is installed restore the data using: mongorestore -d meteor dump/meteor if you want to use a different database, you'd take this as your opportunity to change the database name. Replacing -d meteor with your desired database name.

Then follow the remainder of the guide on setting up Rocket.Chat.

@sophornsna
Copy link
Author

sophornsna commented Oct 28, 2016

mongodump -h 127.0.0.1 --port 3001 -d meteo

After run this command it create a directory /dump/meteor , but it get blank. Any idea to transfer my old data on ( meteor mongo ) to restore to my Production RocketChat (Mongo external database)?

@geekgonecrazy
Copy link
Member

if you run: meteor mongo does it connect?

@sophornsna
Copy link
Author

When I run meteor mongo it is connect.

@geekgonecrazy
Copy link
Member

@sophornsna try it with out the -d meteor

Like:

mongodump -h 127.0.0.1 --port 3001

See what that gives you

@sophornsna
Copy link
Author

Thank you so much for your support. Now I can backup database from meteor and I can restore it in my production Rocketchat server. Now I use command node main.js instead command meteor to start up rocketchat.

@geekgonecrazy
Copy link
Member

@sophornsna great!

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

No branches or pull requests

3 participants