{"id":2345,"date":"2016-09-19T03:21:50","date_gmt":"2016-09-19T08:21:50","guid":{"rendered":"http:\/\/www.migrate2cloud.com\/blog\/?p=2345"},"modified":"2016-11-17T00:56:04","modified_gmt":"2016-11-17T05:56:04","slug":"upgrading-rocket-chat","status":"publish","type":"post","link":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/","title":{"rendered":"Upgrading Rocket Chat"},"content":{"rendered":"<p>This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative.<\/p>\n<p>One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times.<\/p>\n<p>Here is how we can upgrade without breaking anything.<\/p>\n<p>take a backup of the installation directory<\/p>\n<p><code>cd \/home\/rocket<br \/>\nsu -l rocket<br \/>\ncp -rfp Rocket.chat backups\/<code>date +%F<\/code><\/code><\/p>\n<p>Assuming that backups are kept in \/home\/rocket\/backups and db backups are in \/home\/rocket\/backups\/db<\/p>\n<p><code>cd backups\/db<br \/>\nmongodbump<br \/>\nrm -rf \/home\/rocket\/Rocket.chat<\/code><\/p>\n<p>#get the new version<\/p>\n<p><code>cd \/home\/rocket<br \/>\ncurl -L https:\/\/rocket.chat\/releases\/latest\/download -o rocket.chat.tgz<br \/>\ntar xf rocket.chat.tgz<br \/>\nmv bundle Rocket.chat<\/code><\/p>\n<p>install dependencies<\/p>\n<p><code>(cd \/home\/rocket\/Rocket.chat\/programs\/server &amp;&amp; npm install )<\/code><\/p>\n<p>All set to start the new server, migrate the dabase etc.<\/p>\n<p><code>cd \/home\/rocket\/Rocket.chat<br \/>\nnode main .js<\/code><\/p>\n<p>The last step performs upgrade and maintenance of the db scheme. With most of the versions this method will work.<\/p>\n<p>It is assumed that the user rocket is the user under which Rocket.chat is installed.<\/p>\n<p>Further, the server is running as a service which was done with :<\/p>\n<p><code>sudo forever-service install -s main.js -e \"ROOT_URL=https:\/\/chat.agileblaze.net\/ MONGO_URL=mongodb:\/\/localhost:27017\/rocketchat PORT=3000\" rocketchat<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[34,131],"tags":[129,127,128,676,674,677],"class_list":["post-2345","post","type-post","status-publish","format-standard","hentry","category-amazon-ec2","category-tools","tag-amazon-ec2","tag-cloud-computing","tag-iaas","tag-rocket-chat","tag-slack","tag-team-collaboration-software"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"bobinson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Migrate to Cloud - we make the clouds rain\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Upgrading Rocket Chat - Migrate to Cloud\" \/>\n\t\t<meta property=\"og:description\" content=\"This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-09-19T08:21:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-11-17T05:56:04+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Upgrading Rocket Chat - Migrate to Cloud\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#blogposting\",\"name\":\"Upgrading Rocket Chat - Migrate to Cloud\",\"headline\":\"Upgrading Rocket Chat\",\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"},\"datePublished\":\"2016-09-19T03:21:50-05:00\",\"dateModified\":\"2016-11-17T00:56:04-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#webpage\"},\"articleSection\":\"Amazon EC2, Tools, Amazon EC2, Cloud computing, IaaS, Rocket.chat, slack, team collaboration software\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/#listItem\",\"name\":\"Amazon EC2\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/#listItem\",\"position\":2,\"name\":\"Amazon EC2\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#listItem\",\"name\":\"Upgrading Rocket Chat\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#listItem\",\"position\":3,\"name\":\"Upgrading Rocket Chat\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/#listItem\",\"name\":\"Amazon EC2\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/\",\"name\":\"bobinson\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/75ccdce824303bc4f61f39dec0a643a767f9bda27d54a85334ab60120544971f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"bobinson\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#webpage\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/\",\"name\":\"Upgrading Rocket Chat - Migrate to Cloud\",\"description\":\"This is a very quick post. Many organizations are using Rocket chat as the slack \\\/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/upgrading-rocket-chat\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"datePublished\":\"2016-09-19T03:21:50-05:00\",\"dateModified\":\"2016-11-17T00:56:04-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Upgrading Rocket Chat - Migrate to Cloud","description":"This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of","canonical_url":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#blogposting","name":"Upgrading Rocket Chat - Migrate to Cloud","headline":"Upgrading Rocket Chat","author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"},"datePublished":"2016-09-19T03:21:50-05:00","dateModified":"2016-11-17T00:56:04-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#webpage"},"isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#webpage"},"articleSection":"Amazon EC2, Tools, Amazon EC2, Cloud computing, IaaS, Rocket.chat, slack, team collaboration software"},{"@type":"BreadcrumbList","@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.migrate2cloud.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/#listItem","name":"Amazon EC2"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/#listItem","position":2,"name":"Amazon EC2","item":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#listItem","name":"Upgrading Rocket Chat"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#listItem","position":3,"name":"Upgrading Rocket Chat","previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/#listItem","name":"Amazon EC2"}}]},{"@type":"Organization","@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization","name":"Migrate to Cloud","description":"we make the clouds rain","url":"https:\/\/www.migrate2cloud.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author","url":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/","name":"bobinson","image":{"@type":"ImageObject","@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/75ccdce824303bc4f61f39dec0a643a767f9bda27d54a85334ab60120544971f?s=96&d=mm&r=g","width":96,"height":96,"caption":"bobinson"}},{"@type":"WebPage","@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#webpage","url":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/","name":"Upgrading Rocket Chat - Migrate to Cloud","description":"This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/#breadcrumblist"},"author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"creator":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"datePublished":"2016-09-19T03:21:50-05:00","dateModified":"2016-11-17T00:56:04-05:00"},{"@type":"WebSite","@id":"https:\/\/www.migrate2cloud.com\/blog\/#website","url":"https:\/\/www.migrate2cloud.com\/blog\/","name":"Migrate to Cloud","description":"we make the clouds rain","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Migrate to Cloud - we make the clouds rain","og:type":"article","og:title":"Upgrading Rocket Chat - Migrate to Cloud","og:description":"This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of","og:url":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/","article:published_time":"2016-09-19T08:21:50+00:00","article:modified_time":"2016-11-17T05:56:04+00:00","twitter:card":"summary_large_image","twitter:title":"Upgrading Rocket Chat - Migrate to Cloud","twitter:description":"This is a very quick post. Many organizations are using Rocket chat as the slack \/ IRC alternative. One important point that is not often documented is the upgrade. We ourselves ran into issues with Node.js errors, Meteror errors etc multiple times. Here is how we can upgrade without breaking anything. take a backup of"},"aioseo_meta_data":{"post_id":"2345","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-12-27 09:33:08","updated":"2026-07-21 15:34:34","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/\" title=\"Amazon EC2\">Amazon EC2<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUpgrading Rocket Chat\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.migrate2cloud.com\/blog"},{"label":"Amazon EC2","link":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/"},{"label":"Upgrading Rocket Chat","link":"https:\/\/www.migrate2cloud.com\/blog\/upgrading-rocket-chat\/"}],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/comments?post=2345"}],"version-history":[{"count":3,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2345\/revisions"}],"predecessor-version":[{"id":2367,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2345\/revisions\/2367"}],"wp:attachment":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/media?parent=2345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/categories?post=2345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/tags?post=2345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}