{"id":18366,"date":"2021-04-28T07:39:25","date_gmt":"2021-04-28T07:39:25","guid":{"rendered":"http:\/\/wiki2.plumserver.com\/?post_type=ht_kb&#038;p=18366"},"modified":"2023-01-25T08:10:23","modified_gmt":"2023-01-25T13:10:23","slug":"magento-2-amp-v3-x-updating","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating","title":{"rendered":"Magento 2 AMP v3.x Updating"},"content":{"rendered":"\n<p>In this article you will learn how to update your <a href=\"\/magento-amp\">Magento 2 AMP Extension<\/a> correctly, please follow this step-by-step guide below.<\/p>\n\n\n\n<p><strong>You can choose one of the following two methods to update the extension on your Magento 2 store:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background\" href=\"#update-extension-via-composer\" style=\"background-color:#33b0e2\"><strong>1. Update via Composer<\/strong><\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background\" href=\"#Update_Extension_via_FTP\" style=\"background-color:#c9383d\"><strong>2. Update via FTP<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"Update_Extension_via_the_Composer\">Update Extension via Composer<\/h2>\n\n\n\n<p><strong>In order to update your Magento 2 AMP extension via the Composer, open the console (SSH terminal) and follow commands:<\/strong><\/p>\n\n\n\n<p>1. In the terminal, switch to your Magento 2 root directory using the command:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">cd \/FULL_PATH_TO_YOUR_MAGENTO2<\/code><\/pre><\/div>\n\n\n\n<p>where &#8220;FULL_PATH_TO_YOUR_MAGENTO2&#8221; is the path to your Magento 2 folder on your server.<\/p>\n\n\n\n<p>2. Update your Plumrocket extension and AMP Theme One to the latest versions:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">composer update plumrocket\/amp-theme-one plumrocket\/module-pramp --with-dependencies<\/code><\/pre><\/div>\n\n\n\n<p>After running this command, you will be prompted to enter the username and password (skip this step if your credentials were saved during the installation).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v1-8.jpg\" alt=\"\" class=\"wp-image-14865\"\/><\/figure>\n\n\n\n<p>In order to find your personal Username and Password to update extension via the Composer, <strong>go to your account at <a href=\"\/\">https:\/\/plumrocket.com<\/a> &gt; select &#8220;My Account&#8221; in the header menu &gt; select the &#8220;My Downloads&#8221; tab &gt; find the required Plumrocket extension in the list &gt; and press the &#8220;Install via Composer&#8221; link<\/strong>. Please see the screenshot below.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step action:<\/p>\n\n\n\n<ol><li>Copy the <strong>&#8220;Username&#8221;<\/strong> key from the popup window.<\/li><li>Copy the <strong>&#8220;Password&#8221;<\/strong> key from the popup window.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Composer_credentials-4.jpg\" alt=\"\"><\/figure>\n\n\n\n<p>3. Run the next four Magento 2 commands:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">php bin\/magento cache:flush\nphp bin\/magento setup:upgrade\nphp bin\/magento setup:di:compile\nphp bin\/magento setup:static-content:deploy<\/code><\/pre><\/div>\n\n\n\n<p>After running these commands, the extension should be updated successfully. A similar message should be displayed in your console as displayed below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-22.jpg\" alt=\"\" class=\"wp-image-14868\"\/><\/figure>\n\n\n\n<p><strong>Next Step<\/strong> &gt; <strong><a href=\"\/docs\/magento-amp\/v3\/configuration\">Magento 2 AMP Configuration<\/a><\/strong><\/p>\n\n\n\n<h2 id=\"Update_Extension_via_FTP\">Update Extension via FTP<\/h2>\n\n\n\n<p><strong>Step 1. Download and unzip the Magento 2 AMP<\/strong> <strong>extension&#8217;s files as shown below:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Detailed description:<\/p>\n\n\n\n<ol><li><strong>Login to your Plumrocket store account: <\/strong><a href=\"\/\"><strong>https:\/\/plumrocket.com<\/strong><\/a><\/li><li> <strong>Select &#8220;My Account&#8221; in the menu<\/strong> . (To open this page you have to log in first)<\/li><li><strong>Select &#8220;My Downloads&#8221; in the menu.<\/strong><\/li><li><strong>Press on the &#8220;Download&#8221; link to download the latest version of your extension.<\/strong><\/li><li><strong>If you need to download one of the previous versions of your extension or to check the change logs, please, press on the &#8220;Release archive&#8221; link.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Magento_2_accelerated_mobile_pages_extension.jpg\" alt=\"\"><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Detailed description:<\/p>\n\n\n\n<ol><li><strong>In the &#8220;Release Archive&#8221; section you can see the list of available versions, read the change logs and download one of the previous versions.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Update_magento_accelerated_mobile_extension_release_arhcive_updt.jpg\" alt=\"\"><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-warning\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Important Information:<\/p>\n\n\n\n<ol><li><strong>We strongly recommend that you backup all your Magento 2 files and folders before you proceed with updating the extension.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<p><strong>Step 2. To upload files to the server, you may use any FTP-client (To show you how it works we used the FileZilla FTP-client.)<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Detailed description:<\/p>\n\n\n\n<ol><li> <strong>This is your client side.<\/strong> Here you will see the unpacked catalog containing Magento 2 AMP Extension.<\/li><li> <strong>This is your root directory on the server side.<\/strong> The files should be uploaded here.<\/li><li> <strong>All the files have to be uploaded to the server.<\/strong> Select the files and press right button of your mouse.<\/li><li><strong>Choose the &#8220;Upload&#8221; option for these files.<\/strong><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/2_magento_amp_extension_by_plumrocket_install_v2_up-1.jpg\" alt=\"\"><\/figure>\n\n\n\n<p><strong>Step 3. SSH Installation (requires SSH access to your webserver)<\/strong><\/p>\n\n\n\n<p>1. In the terminal, switch to your Magento 2 root directory using the command:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">cd \/FULL_PATH_TO_YOUR_MAGENTO2<\/code><\/pre><\/div>\n\n\n\n<p>where &#8220;FULL_PATH_TO_YOUR_MAGENTO2&#8221; is the path to your Magento 2 folder on your server.<\/p>\n\n\n\n<p>2. You have to update the required composer package <a aria-label=\"undefined (opens in a new tab)\" href=\"https:\/\/packagist.org\/packages\/ampproject\/amp-toolbox\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">AMP Toolbox for PHP<\/a>. Run the following command:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-\">composer require ampproject\/amp-toolbox ^0.11.2<\/code><\/pre><\/div>\n\n\n\n<p>3. Run the next four Magento 2 commands:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">php bin\/magento cache:flush\nphp bin\/magento setup:upgrade\nphp bin\/magento setup:di:compile\nphp bin\/magento setup:static-content:deploy<\/code><\/pre><\/div>\n\n\n\n<p>After running these commands, the extension should be updated successfully. A similar message should be displayed in your console as displayed below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img src=\"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v3-21.jpg\" alt=\"\" class=\"wp-image-14863\"\/><\/figure>\n\n\n\n<p><strong>Next Step<\/strong> &gt; <strong><a href=\"\/docs\/magento-amp\/v3\/configuration\">Magento 2 AMP Configuration<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article you will learn how to update your Magento 2 AMP Extension correctly, please follow this step-by-step guide below. You can choose one of the following two methods to update the extension on your Magento 2 store: Update Extension via Composer In order to update your Magento 2 AMP extension via the Composer, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2 AMP v3.x Updating&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[103],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Update Magento 2  AMP Extension v3.x Magento 2 AMP v3.x Updating - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"In this article you will learn how to update your Magento 2 AMP Extension correctly, please follow this step-by-step guide below. You can choose one of\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 AMP v3.x Updating\" \/>\n<meta property=\"og:description\" content=\"In this article you will learn how to update your Magento 2 AMP Extension correctly, please follow this step-by-step guide below. You can choose one of\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-28T07:39:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-25T13:10:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v1-8.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Update Magento 2  AMP Extension v3.x Magento 2 AMP v3.x Updating - Plumrocket Documentation","description":"In this article you will learn how to update your Magento 2 AMP Extension correctly, please follow this step-by-step guide below. You can choose one of","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:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating","og_locale":"en_US","og_type":"article","og_title":"Magento 2 AMP v3.x Updating","og_description":"In this article you will learn how to update your Magento 2 AMP Extension correctly, please follow this step-by-step guide below. You can choose one of","og_url":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating","og_site_name":"Plumrocket Documentation","article_published_time":"2021-04-28T07:39:25+00:00","article_modified_time":"2023-01-25T13:10:23+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v1-8.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating#primaryimage","inLanguage":"en-US","url":"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v1-8.jpg","contentUrl":"\/docs\/wp-content\/uploads\/2020\/12\/Installation_of_extension_via_composer_by_plumrocket_v1-8.jpg"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating#webpage","url":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating","name":"Magento 2 AMP v3.x Updating - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating#primaryimage"},"datePublished":"2021-04-28T07:39:25+00:00","dateModified":"2023-01-25T13:10:23+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"In this article you will learn how to update your Magento 2 AMP Extension correctly, please follow this step-by-step guide below. You can choose one of","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/updating#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 AMP","item":"https:\/\/plumrocket.com\/magento-amp"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-amp"},{"@type":"ListItem","position":4,"name":"v3","item":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3"},{"@type":"ListItem","position":5,"name":"Updating"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/18366"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=18366"}],"version-history":[{"count":7,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/18366\/revisions"}],"predecessor-version":[{"id":26404,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/18366\/revisions\/26404"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=18366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=18366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=18366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}