{"id":16392,"date":"2022-09-28T16:22:31","date_gmt":"2022-09-28T16:22:31","guid":{"rendered":"https:\/\/www.guru.com\/blog\/?p=16392"},"modified":"2022-09-28T16:26:02","modified_gmt":"2022-09-28T16:26:02","slug":"how-to-update-erpnext","status":"publish","type":"post","link":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/","title":{"rendered":"How to Update ERPNext"},"content":{"rendered":"\n<p>Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software as a means of introducing new features whilst also improving the overall security and the performance of the software packages within them.<\/p>\n\n\n\n<p>However, when it comes to ERPNext, there is a lot of data on the line in terms of what it manages, stores, and goes through regularly. Businesses that rely on ERPNext want as little downtime as possible to upgrade to the latest version of the software.<\/p>\n\n\n\n<p>If you have gone over <a href=\"https:\/\/www.guru.com\/blog\/how-to-install-erpnext\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to install ERPNext<\/a> and have done <a href=\"https:\/\/www.guru.com\/blog\/erpnext-customization\/\" target=\"_blank\" rel=\"noreferrer noopener\">ERPNext customization<\/a>, you might want to upgrade the system to the latest software version. Remember that if you run into any issues, you can hire a <a href=\"https:\/\/www.guru.com\/m\/hire\/freelancers\/erpnext\/\" target=\"_blank\" rel=\"noreferrer noopener\">freelance ERPNext consultant<\/a> on Guru, the best platform for hiring freelancers.<\/p>\n\n\n\n<p>Today, we are going to go over everything you need to know when it comes to updating ERPNext with ease.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Importance of Upgrading ERPNext<\/h2>\n\n\n\n<p>One of the topics discussed online is upgrade issues that might arise when ERPNext is being upgraded; however, despite that, there is a much higher risk involved in letting an outdated version of the software manage everything. The latest iterations of ERPNext introduce several upgrades and security features, all of which enhance the overall experience.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Concerns to Keep In Mind<\/h3>\n\n\n\n<p>There are installation issues that can arise when upgrading ERPNext. In a majority of cases, however, the administrator is the person behind the issues due to the fact that they did not take the time to prepare correctly.&nbsp;<\/p>\n\n\n\n<p>With that in mind, the developers behind ERPNext utilize a three-numerical version system for the software format\u2014the major number, the minor version, and the patch level. There are a lot of things that can happen when doing a major jump, so ensure that you always make a full backup of the development system as well as a simple backup of the production system prior to beginning the procedure.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Upgrade Procedure<\/h3>\n\n\n\n<p>After you have completed the proper backups, you can move forward with updating or upgrading ERPNext. Start by upgrading the system with the following command:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>sudo apt update&nbsp;<\/li><li>sudo apt upgrade<\/li><\/ul>\n\n\n\n<p>Then, you will need to update the node-npm-arn:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>curl -fsSL https:\/\/deb.nodesource.com\/setup_10.x 377 | sudo -E bash &#8211;<\/li><li>sudo apt-get install -y nodejs<\/li><li>sudo npm install -g npm<\/li><li>sudo npm install -g yarn<\/li><\/ul>\n\n\n\n<p>Next, you can upgrade the frappe-bench:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>sudo -H pip3 install &#8211;upgrade frappe-bench<\/li><\/ul>\n\n\n\n<p>Move towards the installation directory with the following command:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>cd -the-directory-<\/li><\/ul>\n\n\n\n<p>Then engage the update commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>bench setup requirements<\/li><li>bench update<\/li><\/ul>\n\n\n\n<p>You might receive an error here, which can be resolved with the following command:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>sudo systemctl start supervisor<\/li><li>sudo systemctl enable supervisor<\/li><li>sudo bench setup production -user-<\/li><\/ul>\n\n\n\n<p>You will now need to install the new version with the command:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>bench switch-to-branch version-14 frappe erpnext &#8211;upgrade<\/li><li>sudo service nginx restart<\/li><li>sudo supervisorctl reload<\/li><li>bench update &#8211;patch<\/li><\/ul>\n\n\n\n<p>Again, you can update the bench with the command:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>bench update<\/li><li>bench build<\/li><\/ul>\n\n\n\n<p>If you need to change the port, you can do so with this command:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>bench set-nginx-port site1.local 8080<\/li><li>bench setup nginx<\/li><li>sudo service nginx reload<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Future-Proofing Yourself<\/h2>\n\n\n\n<p>Now, you have just come to the point in time when your ERPNext environment has been upgraded to the latest and greatest version. Next, you need to get into the user interface and test things to ensure everything runs properly.<\/p>\n\n\n\n<p>Take the time to go over every feature of the system that your company uses and ensure that everything works according to plan. If it doesn\u2019t, revert to your backup and try again. Once you\u2019re finished, make sure that you make a backup of the full system one more time with the latest version of ERPNext so you\u2019re covered when it comes to upgrading in the future.&nbsp;<\/p>\n\n\n\n<p>Of course, if you\u2019re looking for personalized assistance through the ERPNext updating process, Guru\u2019s freelance ERPNext experts can easily help you through every step.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software as a means of introducing new features whilst also improving the overall security and the performance of the software packages within them. However, when it comes to ERPNext, there is a lot of data on the line<\/p>\n","protected":false},"author":14,"featured_media":16476,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,437],"tags":[570],"class_list":{"0":"post-16392","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-employer","8":"category-resources","9":"tag-erpnext"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Update ERPNext - Guru Blog<\/title>\n<meta name=\"description\" content=\"Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software. Today, we are going to go over everything you need to know when it comes to updating ERPNext with ease.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Update ERPNext - Guru Blog\" \/>\n<meta property=\"og:description\" content=\"Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software. Today, we are going to go over everything you need to know when it comes to updating ERPNext with ease.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-28T16:22:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-28T16:26:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/qa-wp.guru.com\/blog\/wp-content\/uploads\/2022\/10\/install-erpnext-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Guru Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Guru Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/\"},\"author\":{\"name\":\"Guru Staff\",\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/#\\\/schema\\\/person\\\/1b9e9d9f55a3fcafaed8640391114a55\"},\"headline\":\"How to Update ERPNext\",\"datePublished\":\"2022-09-28T16:22:31+00:00\",\"dateModified\":\"2022-09-28T16:26:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/\"},\"wordCount\":668,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/install-erpnext-1.jpg\",\"keywords\":[\"ERPNext\"],\"articleSection\":[\"Employer\",\"Resources\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/\",\"url\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/\",\"name\":\"How to Update ERPNext - Guru Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/install-erpnext-1.jpg\",\"datePublished\":\"2022-09-28T16:22:31+00:00\",\"dateModified\":\"2022-09-28T16:26:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/#\\\/schema\\\/person\\\/1b9e9d9f55a3fcafaed8640391114a55\"},\"description\":\"Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software. Today, we are going to go over everything you need to know when it comes to updating ERPNext with ease.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#primaryimage\",\"url\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/install-erpnext-1.jpg\",\"contentUrl\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/install-erpnext-1.jpg\",\"width\":2400,\"height\":1600,\"caption\":\"How to Update ERPNext\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/how-to-update-erpnext\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Update ERPNext\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/\",\"name\":\"\",\"description\":\"Helping you work Your Way - Guru Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/#\\\/schema\\\/person\\\/1b9e9d9f55a3fcafaed8640391114a55\",\"name\":\"Guru Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/177f4420872955784327af85d8264ba2e072d910fbf91a394fd4403f42fc1757?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/177f4420872955784327af85d8264ba2e072d910fbf91a394fd4403f42fc1757?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/177f4420872955784327af85d8264ba2e072d910fbf91a394fd4403f42fc1757?s=96&d=mm&r=g\",\"caption\":\"Guru Staff\"},\"url\":\"https:\\\/\\\/qa-wp.guru.com\\\/blog\\\/author\\\/gurustaff\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Update ERPNext - Guru Blog","description":"Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software. Today, we are going to go over everything you need to know when it comes to updating ERPNext with ease.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/","og_locale":"en_US","og_type":"article","og_title":"How to Update ERPNext - Guru Blog","og_description":"Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software. Today, we are going to go over everything you need to know when it comes to updating ERPNext with ease.","og_url":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/","article_published_time":"2022-09-28T16:22:31+00:00","article_modified_time":"2022-09-28T16:26:02+00:00","og_image":[{"width":2400,"height":1600,"url":"https:\/\/qa-wp.guru.com\/blog\/wp-content\/uploads\/2022\/10\/install-erpnext-1.jpg","type":"image\/jpeg"}],"author":"Guru Staff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Guru Staff","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#article","isPartOf":{"@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/"},"author":{"name":"Guru Staff","@id":"https:\/\/qa-wp.guru.com\/blog\/#\/schema\/person\/1b9e9d9f55a3fcafaed8640391114a55"},"headline":"How to Update ERPNext","datePublished":"2022-09-28T16:22:31+00:00","dateModified":"2022-09-28T16:26:02+00:00","mainEntityOfPage":{"@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/"},"wordCount":668,"commentCount":0,"image":{"@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#primaryimage"},"thumbnailUrl":"https:\/\/qa-wp.guru.com\/blog\/wp-content\/uploads\/2022\/10\/install-erpnext-1.jpg","keywords":["ERPNext"],"articleSection":["Employer","Resources"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/","url":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/","name":"How to Update ERPNext - Guru Blog","isPartOf":{"@id":"https:\/\/qa-wp.guru.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#primaryimage"},"image":{"@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#primaryimage"},"thumbnailUrl":"https:\/\/qa-wp.guru.com\/blog\/wp-content\/uploads\/2022\/10\/install-erpnext-1.jpg","datePublished":"2022-09-28T16:22:31+00:00","dateModified":"2022-09-28T16:26:02+00:00","author":{"@id":"https:\/\/qa-wp.guru.com\/blog\/#\/schema\/person\/1b9e9d9f55a3fcafaed8640391114a55"},"description":"Software is ever-evolving. This means that software developers will always try to improve upon pre-existing applications and software. Today, we are going to go over everything you need to know when it comes to updating ERPNext with ease.","breadcrumb":{"@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#primaryimage","url":"https:\/\/qa-wp.guru.com\/blog\/wp-content\/uploads\/2022\/10\/install-erpnext-1.jpg","contentUrl":"https:\/\/qa-wp.guru.com\/blog\/wp-content\/uploads\/2022\/10\/install-erpnext-1.jpg","width":2400,"height":1600,"caption":"How to Update ERPNext"},{"@type":"BreadcrumbList","@id":"https:\/\/qa-wp.guru.com\/blog\/how-to-update-erpnext\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/qa-wp.guru.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Update ERPNext"}]},{"@type":"WebSite","@id":"https:\/\/qa-wp.guru.com\/blog\/#website","url":"https:\/\/qa-wp.guru.com\/blog\/","name":"","description":"Helping you work Your Way - Guru Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/qa-wp.guru.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/qa-wp.guru.com\/blog\/#\/schema\/person\/1b9e9d9f55a3fcafaed8640391114a55","name":"Guru Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/177f4420872955784327af85d8264ba2e072d910fbf91a394fd4403f42fc1757?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/177f4420872955784327af85d8264ba2e072d910fbf91a394fd4403f42fc1757?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/177f4420872955784327af85d8264ba2e072d910fbf91a394fd4403f42fc1757?s=96&d=mm&r=g","caption":"Guru Staff"},"url":"https:\/\/qa-wp.guru.com\/blog\/author\/gurustaff\/"}]}},"jetpack_featured_media_url":"https:\/\/qa-wp.guru.com\/blog\/wp-content\/uploads\/2022\/10\/install-erpnext-1.jpg","_links":{"self":[{"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/posts\/16392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/comments?post=16392"}],"version-history":[{"count":2,"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/posts\/16392\/revisions"}],"predecessor-version":[{"id":16398,"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/posts\/16392\/revisions\/16398"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/media\/16476"}],"wp:attachment":[{"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/media?parent=16392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/categories?post=16392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qa-wp.guru.com\/blog\/wp-json\/wp\/v2\/tags?post=16392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}