{"id":601792,"date":"2022-06-01T11:44:45","date_gmt":"2022-06-01T09:44:45","guid":{"rendered":"https:\/\/www.devoteam.com\/expert-view\/the-upgrade-to-elastic-v8-0\/"},"modified":"2022-06-01T11:44:45","modified_gmt":"2022-06-01T09:44:45","slug":"the-upgrade-to-elastic-v8-0","status":"publish","type":"expert-view","link":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/","title":{"rendered":"The upgrade to Elastic V8.0"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Elastic 8.0 comes with enhanced speed, scale, relevance and simplicity. Elastic 8.0 brings a full suite of native vector search capabilities that empower customers and employees to search and receive highly relevant results using their own words and language.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Before you upgrade<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make a backup by taking a snapshot of the current indexes to prevent data loss.&nbsp;<\/li>\n\n\n\n<li>With your data secured the next step is to check the environment is at least the 7.16 version of the Elastic Stack. This enables you to use the upgrade assistant which guides you through the upgrade process by identifying and resolving issues. The upgrade assistant will show deprecation logs and some of these will be marked as critical. This means that they have to be resolved before you are able to upgrade. (Note: We did not use upgrade assistant. Instead, we have checked depreciation logs and fixed all critical depreciations before upgrading)<\/li>\n\n\n\n<li>Reindex indices created before 7.0. Elasticsearch can read indices created in the previous major version. If you have indices created in 6.x or earlier, you must reindex or delete them before upgrading to 8.2.0. Elasticsearch nodes will fail to start if incompatible indices are present. Snapshots of 6.x or earlier indices cannot be restored to a 8.x cluster even if they were created by a 7.x cluster<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Issues encountered during upgrade<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Issue<\/strong>: We have upgraded the first node to version 8.1.1 and restarted the node. Started Elasticsearch gave the error \u201cthere are version 6.6.2 indices present\u201d.&nbsp;<br><strong>Fix<\/strong>: Used this API call to get migration deprecations.(GET <em>\/.*\/_migration\/deprecations<\/em>). This hinted that some of the indices were both old and hidden. Reindex the same 6.6.2 indices fixed our issue .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After fixing the issue, the upgrade process went as planned. 60+ nodes were upgraded through ansible playbook. Each node took around 7-10 mins to complete the upgrade procedure.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Post upgrade issues<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After successfully upgrading all the nodes we have encountered with one more issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Issue<\/strong>: Kibana was giving an authentication issue attempting to login into Kibana.<br><strong>Fix<\/strong>: Since our Elasticsearch is upgraded to 8.1.1, we must add the <em>allow_restricted_indices<\/em> permission set to true on a user role to access system indices. The superuser role only grants read-only permissions on system indices. We need to check if the <em>.kibana_7.17.0_001<\/em> index has <em>index.blocks.write<\/em> set to true. If so, you should set it to false, too.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/blog-thumbnail-generic-release.png\" alt=\"\" class=\"wp-image-16029\"\/><\/figure>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Elastic 8.0 comes with enhanced speed, scale, relevance and simplicity. Elastic 8.0 brings a full suite of native vector search capabilities that empower customers and employees to search and receive highly relevant results using their own words and language. Before you upgrade Issues encountered during upgrade Issue: We have upgraded the first node to version [&hellip;]<\/p>\n","protected":false},"featured_media":0,"template":"","categories":[],"tags":[2978,3262,2717],"industry":[],"class_list":["post-601792","expert-view","type-expert-view","status-publish","hentry","tag-cloud-native-architecture-en-nl","tag-elastic-en-nl","tag-netherlands-en-nl"],"acf":[],"cards":"\n\t<div class=\"single-post-card\">\n\n\t\t\n\n\t\t\n\t\t<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-43282307 wp-block-group-is-layout-flex\">\n\t<p style=\"font-style:normal;font-weight:700\" class=\"has-link-color wp-elements-1 wp-block-lp-post-type has-text-color has-primary-color has-small-font-size\">Expert View<\/p>\n\n\t\t\n\t\t<h3 style=\"font-style:normal;font-weight:400\" class=\"wp-block-post-title has-base-font-size\"><a href=\"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/\" target=\"_self\" >The upgrade to Elastic V8.0<\/a><\/h3><\/div>\n\t\t\n\t<\/div>\n\n","yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.4 (Yoast SEO v28.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>The upgrade to Elastic V8.0 | Devoteam<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The upgrade to Elastic V8.0\" \/>\n<meta property=\"og:description\" content=\"Elastic 8.0 comes with enhanced speed, scale, relevance and simplicity. Elastic 8.0 brings a full suite of native vector search capabilities that empower customers and employees to search and receive highly relevant results using their own words and language. Before you upgrade Issues encountered during upgrade Issue: We have upgraded the first node to version [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/\" \/>\n<meta property=\"og:site_name\" content=\"Devoteam\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/09\/GettyImages-686932287_edited.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1328\" \/>\n\t<meta property=\"og:image:height\" content=\"1920\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/\",\"url\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/\",\"name\":\"The upgrade to Elastic V8.0 | Devoteam\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/devoteam.info\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/blog-thumbnail-generic-release.png\",\"datePublished\":\"2022-06-01T09:44:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/#breadcrumb\"},\"inLanguage\":\"en-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NL\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/#primaryimage\",\"url\":\"https:\\\/\\\/devoteam.info\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/blog-thumbnail-generic-release.png\",\"contentUrl\":\"https:\\\/\\\/devoteam.info\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/blog-thumbnail-generic-release.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/the-upgrade-to-elastic-v8-0\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Expert View\",\"item\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"The upgrade to Elastic V8.0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/#website\",\"url\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/\",\"name\":\"Devoteam\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-NL\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"The upgrade to Elastic V8.0 | Devoteam","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:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/","og_locale":"en_US","og_type":"article","og_title":"The upgrade to Elastic V8.0","og_description":"Elastic 8.0 comes with enhanced speed, scale, relevance and simplicity. Elastic 8.0 brings a full suite of native vector search capabilities that empower customers and employees to search and receive highly relevant results using their own words and language. Before you upgrade Issues encountered during upgrade Issue: We have upgraded the first node to version [&hellip;]","og_url":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/","og_site_name":"Devoteam","og_image":[{"width":1328,"height":1920,"url":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/09\/GettyImages-686932287_edited.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/","url":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/","name":"The upgrade to Elastic V8.0 | Devoteam","isPartOf":{"@id":"https:\/\/devoteam.info\/en-nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/#primaryimage"},"image":{"@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/#primaryimage"},"thumbnailUrl":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/blog-thumbnail-generic-release.png","datePublished":"2022-06-01T09:44:45+00:00","breadcrumb":{"@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/#breadcrumb"},"inLanguage":"en-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/"]}]},{"@type":"ImageObject","inLanguage":"en-NL","@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/#primaryimage","url":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/blog-thumbnail-generic-release.png","contentUrl":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/blog-thumbnail-generic-release.png"},{"@type":"BreadcrumbList","@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/the-upgrade-to-elastic-v8-0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devoteam.info\/en-nl\/"},{"@type":"ListItem","position":2,"name":"Expert View","item":"https:\/\/devoteam.info\/en-nl\/expert-view\/"},{"@type":"ListItem","position":3,"name":"The upgrade to Elastic V8.0"}]},{"@type":"WebSite","@id":"https:\/\/devoteam.info\/en-nl\/#website","url":"https:\/\/devoteam.info\/en-nl\/","name":"Devoteam","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devoteam.info\/en-nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-NL"}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Julien Pawlowski","author_link":"https:\/\/devoteam.info\/en-nl\/author\/"},"uagb_comment_info":0,"uagb_excerpt":"Elastic 8.0 comes with enhanced speed, scale, relevance and simplicity. Elastic 8.0 brings a full suite of native vector search capabilities that empower customers and employees to search and receive highly relevant results using their own words and language. Before you upgrade Issues encountered during upgrade Issue: We have upgraded the first node to version&hellip;","_links":{"self":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/expert-view\/601792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/expert-view"}],"about":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/types\/expert-view"}],"version-history":[{"count":0,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/expert-view\/601792\/revisions"}],"wp:attachment":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/media?parent=601792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/categories?post=601792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/tags?post=601792"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/industry?post=601792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}