<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stratus - Magento 2 Guides on Webscale Product Documentation</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/</link><description>Recent content in Stratus - Magento 2 Guides on Webscale Product Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.webscale.com/docs/reference/stratus/guides/magento-2/index.xml" rel="self" type="application/rss+xml"/><item><title>Stratus Magento 2 Guides - Improving the Cron</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magemojo-cron/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magemojo-cron/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; All Magento 2 stores hosted on STRATUS are required to install the MageMojo Cron extension.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;MageMojo&amp;rsquo;s (now Webscale Stratus) engineers have completely rewritten the Magento 2 cron functionality to fix the inherent bugs and to be much more resistant to failure.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The MageMojo Cron extension is free to install&lt;/strong&gt; and may be installed by the store owner or developer, &lt;em&gt;or&lt;/em&gt; Webscale Stratus support will install the extension at &lt;strong&gt;no additional cost&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Configure Elasticsearch</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/elasticsearch-and-elasticsuite/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/elasticsearch-and-elasticsuite/</guid><description>&lt;ol&gt;
&lt;li&gt;&lt;em&gt;Log into&lt;/em&gt; the Magento 2 Administration backend.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Go to&lt;/em&gt; &lt;strong&gt;Stores &amp;gt; Configuration&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Go to&lt;/em&gt; &lt;strong&gt;Catalog &amp;gt; Catalog&lt;/strong&gt; in the sidebar menu.

 &lt;link rel="stylesheet" href="https://docs.webscale.com/css/hugo-easy-gallery.css" /&gt;&lt;div class="box" &gt;
 &lt;figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"&gt;
 &lt;div class="img"&gt;
 &lt;img itemprop="thumbnail" src="https://docs.webscale.com/images/stratus/img/articles/configure-elasticsearch-1.png" /&gt;
 &lt;/div&gt;
 &lt;a href="https://docs.webscale.com/images/stratus/img/articles/configure-elasticsearch-1.png" itemprop="contentUrl"&gt;&lt;/a&gt;
 &lt;/figure&gt;
 &lt;/div&gt;

* De-select* &lt;strong&gt;Search Engine : Use system value&lt;/strong&gt;.
* &lt;strong&gt;Elasticsearch Server Hostname&lt;/strong&gt; — &lt;em&gt;Enter&lt;/em&gt; &amp;ldquo;elasticsearch&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Click&lt;/em&gt; &lt;strong&gt;Test Connection&lt;/strong&gt; to validate the settings.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Click&lt;/em&gt; &lt;strong&gt;Save Config&lt;/strong&gt; to save the changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After activating Elasticsearch, re-index the &lt;em&gt;catalogsearch_fulltext&lt;/em&gt; index using the Magento Admin, SSH access, or the Webscale STRATUS Control panel &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/application-panel/cli-commands/"&gt;CLI commands&lt;/a&gt;
.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Composer</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/composer-and-magento-2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/composer-and-magento-2/</guid><description>&lt;p&gt;Instead of identifying, installing, and configuring a PHP library independently, libraries can be specified in a JSON setup file.&lt;/p&gt;
&lt;p&gt;Magento 2 relies on composer (though you can avoid it) through several repositories.&lt;/p&gt;
&lt;p&gt;Composer for Magento 2 is pre-installed on MageMojo servers. To install, &lt;em&gt;run&lt;/em&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="how-composer-works"&gt;How Composer Works&lt;/h2&gt;
&lt;p&gt;When Composer is called by this command, it first creates a project and pull in an existing package — in this case, Magento 2. The project will be created, for this example, in the &lt;code&gt;magento/project-community-edition&lt;/code&gt; directory.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Customer Grid Empty</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/customer-grid-empty/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/customer-grid-empty/</guid><description>&lt;p&gt;The customer list in Magento 2 may appear empty despite the fact there are many rows/customers in the &lt;code&gt;customer_entity&lt;/code&gt; table. The grid depends on an indexer called the &lt;em&gt;customer_grid&lt;/em&gt; index that stores data in the &lt;code&gt;customer_grid_flat&lt;/code&gt; table. In this case, the flat table has not been properly populated by the indexer.&lt;/p&gt;
&lt;p&gt;By tracing the indexer, it may show a &amp;ldquo;hang&amp;rdquo; on a query such as the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sendto(5, &amp;quot;,\7\0\0\3SELECT `e`.*, `e`.`entity_id`, TRIM(CONCAT_WS(' ', IF(`e`.`prefix` &amp;lt;&amp;gt; '', `e`.`prefix`, NULL), IF(`e`.`firstname` &amp;lt;&amp;gt; '', `e`.`firstname`, NULL), IF(`e`.`middlename` &amp;lt;&amp;gt; '', `e`.`middlename`,&amp;lt;br /&amp;gt;
NULL), IF(`e`.`lastname` &amp;lt;&amp;gt; '', `e`.`lastname`, NULL), IF(`e`.`suffix` &amp;lt;&amp;gt; '', `e`.`suffix`, NULL))) AS `name`, `e`.`email`, `e`.`group_id`, `e`.`created_at`, `e`.`website_id`, `e`.`confirmation`,&amp;lt;br /&amp;gt;
 `e`.`created_in`, `e`.`dob`, `e`.`gender`, `e`.`taxvat`, (SELECT `lookup`.`last_visit_at` FROM `customer_visitor` AS `lookup` WHERE (`lookup`.`customer_id` = `e`.`entity_id`) ORDER BY `lookup`.`last_visit_at`&amp;lt;br /&amp;gt;
DESC LIMIT 1) AS `last_visit_at`, TRIM(CONCAT_WS(' ', IF(`shipping`.`street` &amp;lt;&amp;gt; '', `shipping`.`street`, NULL), IF(`shipping`.`city` &amp;lt;&amp;gt; '', `shipping`.`city`, NULL), IF(`shipping`.`region` &amp;lt;&amp;gt; '',&amp;lt;br /&amp;gt;
`shipping`.`region`, NULL), IF(`shipping`.`postcode` &amp;lt;&amp;gt; '', `shipping`.`postcode`, NULL))) AS `shipping_full`, TRIM(CONCAT_WS(' ', IF(`billing`.`street` &amp;lt;&amp;gt; '', `billing`.`street`, NULL), IF(`billing`.`cit&amp;quot;...,&amp;lt;br /&amp;gt;
 1840, MSG_DONTWAIT, NULL, 0) = 1840
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The problem, in this case, is the &lt;code&gt;customer_visitor&lt;/code&gt; table. By inspection, if the table has several hundred thousands of rows, it should be emptied and reindexing again attempted.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Deploying static files</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/deploying-static-files/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/deploying-static-files/</guid><description>&lt;p&gt;Before deploying static files, remove any files — &lt;em&gt;except&lt;/em&gt; the .htaccess file — in &lt;code&gt;pub/static&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The following should also be removed, especially when doing a production deployment.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All folders under &lt;code&gt;pub/static&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;var/cache&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;var/composer_home&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;var/generation&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;var/page_cache&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;var/view_preprocessed&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;var/di&lt;/code&gt; (if present)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then the static files can be deployed using the following command (run from the bin directory in the Magento install).&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;php bin/magento setup:static-content:deploy
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Stratus Magento 2 Guides - Email Sender Incorrect</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-email-sender-incorrect/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-email-sender-incorrect/</guid><description>&lt;p&gt;For example,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.2.3&lt;/strong&gt; — &lt;a href="mailto:sales@example.com"&gt;sales@example.com&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;may become,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.2.4&lt;/strong&gt; — www-data@…mojostratus.io&lt;/p&gt;
&lt;p&gt;A &lt;a href="https://github.com/magento/magento2/issues/14952" title="Github Issue" target="_blank"&gt;github issue&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 is tracking this. MageMojo has tested and confirmed the bug and a fix is to disable all the Amazon modules:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Amazon_Core
Amazon_Login
Amazon_Payment
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To disable these modules, run:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;php bin/magento module:disable Amazon_Login
php bin/magento module:disable Amazon_Payment
php bin/magento module:disable Amazon_Core
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then redeploy production mode for the Magento 2 store.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Site Changes Not Appearing</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/none-of-my-site-changes-appear-in-magento-2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/none-of-my-site-changes-appear-in-magento-2/</guid><description>&lt;h2 id="caches"&gt;Caches&lt;/h2&gt;
&lt;p&gt;If product or theme changes on a Magento 2 site are not showing, there are numerous caches that might need to be cleared. In no particular order, check all of these sources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Re-deploy static files (clear &lt;code&gt;pub/static&lt;/code&gt;, then deploy)&lt;/li&gt;
&lt;li&gt;Re-compile or reset production mode (this also clears static files)&lt;/li&gt;
&lt;li&gt;Flush and clean the Magento 2 cache&lt;/li&gt;
&lt;li&gt;Clear the local browser cache or test with an incognito tab in Chrome or private tab in Firefox&lt;/li&gt;
&lt;li&gt;Use [/usr/share/stratus/cli cache.all.clear][1]&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="clearing-varnish"&gt;Clearing Varnish&lt;/h2&gt;
&lt;p&gt;The easiest way to do clear Vanish without root access:&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Purge the Varnish FPC</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/purge-the-varnish-fpc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/purge-the-varnish-fpc/</guid><description>&lt;pre&gt;&lt;code&gt;/usr/share/stratus/cli cache.varnish.clear
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Curl also works if you are using SSH. The Varnish hostname is &lt;strong&gt;varnish&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;curl -X 'PURGE' -H'X-Magento-Tags-Pattern: .*' varnish
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Magento 2 users should set their &lt;em&gt;http-cache-host&lt;/em&gt; accordingly:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;php bin/magento setup:config:set --http-cache-hosts=varnish
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Once the above is set, a typical cache clear via the Magento 2 admin or Magento commands is possible:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;php bin/magento cache:clean
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Varnish can also be purged via the &lt;strong&gt;Flush Cache&lt;/strong&gt; button in the &lt;strong&gt;Varnish &amp;gt; Info&lt;/strong&gt; Webscale STRATUS Admin panel.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Send store mail via SMTP</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/send-store-mail-via-smtp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/send-store-mail-via-smtp/</guid><description>&lt;p&gt;While this works fine in most cases, we do recommend using an SMTP module or plugin for either version of Magento to improve deliverability. Especially for high traffic stores.  Sending a lot of emails daily runs the risk of having the server blocked by the major email providers such as Gmail or Hotmail due to volume. Sending out through dedicated services like Mandrill or Sendgrid allows the sending of higher volumes without the risk of blacklisting.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Set Magento 2 modes</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/set-magento-2-modes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/set-magento-2-modes/</guid><description>&lt;p&gt;Please read the development documentation on &lt;a href="https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/setup/application-modes.html" target="_blank"&gt;Magento 2 modes&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 for in-depth information.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Default mode&lt;/p&gt;
&lt;p&gt;This mode is &amp;ldquo;halfway&amp;rdquo; between development and production. Static files are enabled, but compilation is not.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Production mode&lt;/p&gt;
&lt;p&gt;All the caching and compilation features are enabled for performance. Updates to your site theme or other content may not appear without re-deploying this mode. Caching will be used for all requests which are why updates are ignored until this content is refreshed via the Magento 2 cache, static files, and compilation.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Cron Explained</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/the-magento-2-cron/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/the-magento-2-cron/</guid><description>&lt;pre tabindex="0"&gt;&lt;code&gt;/usr/local/bin/php /srv/public_html/bin/magento cron:run &amp;gt;&amp;gt; /srv/public_html/var/log/cron.log
/usr/local/bin/php /srv/public_html/update/cron.php &amp;gt;&amp;gt; /srv/public_html/var/log/mcron.log
/usr/local/bin/php /srv/public_html/bin/magento setup:cron:run &amp;gt;&amp;gt; /srv/public_html/var/log/mcron.log
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;font color="red"&gt;WARNING: DO not use stdout/stderr redirection &amp;ldquo;2&amp;gt;&amp;amp;1&amp;rdquo; as this is already applied with the nice command during execution time.
Adding it may prevent the cron from running entirely. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;EXAMPLE: If you have set this cron:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;/usr/local/bin/php /srv/public_html/bin/magento cron:run &amp;gt;&amp;gt; /srv/public_html/var/log/cron.log
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;the cron that will actually run at execution time will be:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;/bin/bash -c /usr/share/stratus/cron.sh &amp;#34;nice -n 19 /usr/local/bin/php /srv/public_html/bin/magento cron:run &amp;gt;&amp;gt; /srv/public_html/var/log/cron.log&amp;#34; 2&amp;gt;&amp;amp;1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;See also &lt;a href="https://docs.webscale.com/reference/stratus/guides/magento-2/magemojo-cron/"&gt;MageMojo Cron&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Upgrade Recommendations</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-upgrade-recommendations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-upgrade-recommendations/</guid><description>&lt;p&gt;The following are helpful guides for upgrading Magento 2.x.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Support for upgrading Magento 2 is outside the scope of regular support.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="before-upgrading"&gt;Before Upgrading&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Perform a local backup of the files and database before upgrading.&lt;/strong&gt; Test the upgrade first on a development environment before performing the same steps on production.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Disable &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/cron-panel/schedule/"&gt;crons&lt;/a&gt;
 temporarily&lt;/li&gt;
&lt;li&gt;Put the site in &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/application-panel/maintenance-mode/"&gt;maintenance mode&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="notes-about-upgrading-higher-than-magento-243"&gt;Notes about Upgrading higher than Magento 2.4.3+&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;During &lt;em&gt;setup:upgrade&lt;/em&gt; you may get an error related to ServiceManager.php: &lt;code&gt;Service with name &amp;quot;Magento\Setup\Console\Command\DbStatusCommand&amp;quot; could not be created. Reason: Class &amp;quot;Vertex\Tax\Setup\Schema\Triggers\MigrateVertexInvoiceSent&amp;quot; does not exist&lt;/code&gt;. This is because the Vertex module does not exist in Magento 2.4.4 &amp;amp; higher. You can solve this issue by clearing caches and running &lt;em&gt;setup:upgrade&lt;/em&gt; again.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;redis-cli -h redis flushall &amp;amp;&amp;amp; redis-cli -h redis-session -p 6380 flushall &amp;amp;&amp;amp; redis-cli -h redis-config-cache -p 6381 flushall;stratus cache.all.clear
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;During &lt;em&gt;setup:upgrade&lt;/em&gt; you may get an error in logs related to DataObject.php: &lt;code&gt;main.CRITICAL: Deprecated Functionality: Return type of Magento\Framework\DataObject::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /cache/vendor/magento/framework/DataObject.php&lt;/code&gt; In this case you will need to do the following:&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;While PHP version is &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/php-panel/version/"&gt;set to 7.4&lt;/a&gt;
: &lt;code&gt;composer require magento/composer-root-update-plugin ~2.0 --no-update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;composer update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rm -rf var/cache/* ; rm -rf var/page_cache/* ; rm -rf generated/code/* ; php bin/magento setup:upgrade&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;composer require-commerce magento/product-community-edition 2.4.4 --no-update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;composer update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;CHANGE TO &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/php-panel/version/"&gt;PHP 8.1&lt;/a&gt;
: &lt;code&gt;rm -rf var/cache/* ; rm -rf var/page_cache/* ; rm -rf generated/code/* ; php bin/magento setup:upgrade&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="upgrading-to-a-major-release"&gt;Upgrading to a Major Release&lt;/h2&gt;
&lt;p&gt;To upgrade to 2.2.7 (in this example), &lt;em&gt;run&lt;/em&gt;:&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Using Baler to Speed Javascript Delivery</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/using-baler/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/using-baler/</guid><description>&lt;p&gt;The result of this bundling is faster page speed times, which can improve customer experiences and Google rankings.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Bundling can only be activated on a Production environment.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="installing-baler"&gt;Installing Baler&lt;/h2&gt;
&lt;p&gt;To install Baler:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Clone&lt;/em&gt; the current Baler Repository.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;git clone https://github.com/magento/baler.git&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Change&lt;/em&gt; to the Baler directory and install using npm.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;npm install&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Check&lt;/em&gt; to confirm you have node.js version 10.12.0 or later.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;~/baler/bin$ ./baler baler requires a version of node.js &amp;gt;= 10.12.0. You're currently using v8.16.0&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Using MagePack to Speed JS Delivery</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/using-magepack/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/using-magepack/</guid><description>&lt;p&gt;To successfully utilize &lt;a href="https://github.com/magesuite/magepack" target="_blank"&gt;MagePack&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
, a well-known JavaScript bundling tool on Webscale Stratus, please generate magepack.config.js file on your local computer by running a command.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;docker run -t -i --rm nemke82/magepack-generator bash
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can use &lt;a href="https://labs.play-with-docker.com/" target="_blank"&gt;Play with Docker&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 and run docker image directly in your browser tab to generate magepack.config.js file as well.&lt;/p&gt;
&lt;p&gt;Run the following to generate magepack.config.js file (Replace &lt;a href="https://mystore.com" target="_blank"&gt;https://mystore.com&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 with your domain url ):&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;magepack generate --cms-url=&amp;#34;https://mystore.com&amp;#34; --category-url=&amp;#34;https://mystore.com/category-2/category-2-1/category-2-1-1.html&amp;#34; --product-url=&amp;#34;https://mystore.com/category-2/category-2-1/category-2-1-1/simple-product-122.html&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;When the file is generated, please upload the file to the docroot of your&amp;rsquo;s Magento 2 installation, &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/ssh-panel/users/"&gt;login to the SSH container&lt;/a&gt;
 on Webscale STRATUS environment, and execute:&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Terser installation</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/using-terser/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/using-terser/</guid><description>&lt;p&gt;&lt;a href="https://github.com/terser/terser" target="_blank"&gt;Terser&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 processes JavaScript files as well as the compiled output from other languages like CoffeeScript, and TypeScript and transpilers like Babel.&lt;/p&gt;
&lt;p&gt;First, make sure you have installed the latest version of node.js (You may need to restart your computer after this step).&lt;/p&gt;
&lt;p&gt;From NPM for use as a command-line app:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install terser -g
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Output:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ node -v
v17.3.0

$ npm install terser -g
added 6 packages, and audited 7 packages in 687ms
found 0 vulnerabilities

$ whereis terser
terser: /usr/local/nvm/versions/node/v17.3.0/bin/terser
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Usage is simple:
&lt;a href="https://github.com/terser/terser" target="_blank"&gt;GitHub - terser/terser: JavaScript parser, mangler and compressor toolkit for ES6+ &lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Consumer Brokers MySQL to RabbitMQ.</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/consumers-changing-broker/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/consumers-changing-broker/</guid><description>&lt;h2 id="rabbitmq-vs-mysql"&gt;RabbitMQ vs MySQL&lt;/h2&gt;
&lt;p&gt;Starting with Magento 2.4.5 Queue Consumers are utilizing RabbitMQ automatically. Any previous versions, when possible, Webscale Stratus recommends using RabbitMQ as the broker instead of MySQL.
The &lt;a href="https://developer.adobe.com/commerce/php/development/components/message-queues/" target="_blank"&gt;Magento Dev docs&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 explain how this can be changed in the env.php file. The RabbitMQ broker provides much better performance than MySQL. We recommend that high traffic sites utilize RabbitMQ for the most often used consumers.&lt;/p&gt;
&lt;h2 id="webscale-patch-repo"&gt;Webscale Patch Repo&lt;/h2&gt;
&lt;p&gt;Please check the &lt;a href="https://github.com/magemojo/m2-patches/wiki" target="_blank"&gt;Webscale Patch Repo&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 for easy-to-install patches to switch brokers for Magento consumers to RabbitMQ.&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Manually Uninstalling an Extension or Module</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/uninstall-magento-2-extension/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/uninstall-magento-2-extension/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Before starting any modification that may affect your store, &lt;strong&gt;always&lt;/strong&gt; [backup your store and database](/docs/reference/stratus/guides/general/backup-strategies/ &amp;ldquo;Backup Strategies&amp;rdquo;/) first. Preferably, you will be performing this action on a Development environment &lt;em&gt;before&lt;/em&gt; attempting it on a Production environment.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To remove an extension/module manually:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Log into&lt;/em&gt; the environment via SSH.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Go to&lt;/em&gt; the root of the Magento 2 installation and remove the folder, &lt;code&gt;app/code/&amp;lt;Vendor&amp;gt;/&amp;lt;Module&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Run&lt;/em&gt; &lt;code&gt;n98-magerun2 db:console&lt;/code&gt; to access the database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Drop&lt;/em&gt; the module tabels from the database:&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Configuring a Sitemap</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-sitemap/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-sitemap/</guid><description>&lt;p&gt;To generate a sitemap in Magento 2:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;em&gt;Go to&lt;/em&gt; &lt;strong&gt;Marketing &amp;gt; Site Map&lt;/strong&gt; in the backend of your Magento 2 store.&lt;/li&gt;
&lt;li&gt;If you don&amp;rsquo;t already have a sitemap showing in the list, &lt;em&gt;click&lt;/em&gt; &lt;strong&gt;Add Sitemap&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Enter&lt;/em&gt; the filename you wish to use (e.g. &amp;ldquo;sitemap.xml&amp;rdquo;).&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Enter&lt;/em&gt; the file path from the &lt;em&gt;root of the Magento install&lt;/em&gt; you wish to have Magento generate the sitemap. Most will simply enter in &amp;ldquo;/&amp;rdquo; for the root directory.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Click&lt;/em&gt; &lt;strong&gt;Save &amp;amp; Generate&lt;/strong&gt; to have Magento create your initial sitemap.&lt;/li&gt;
&lt;/ol&gt;

 &lt;link rel="stylesheet" href="https://docs.webscale.com/css/hugo-easy-gallery.css" /&gt;&lt;div class="box" &gt;
 &lt;figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"&gt;
 &lt;div class="img"&gt;
 &lt;img itemprop="thumbnail" src="https://docs.webscale.com/images/stratus/img/articles/enable-m2-sitemap-1.png" alt="magento-83"/&gt;
 &lt;/div&gt;
 &lt;a href="https://docs.webscale.com/images/stratus/img/articles/enable-m2-sitemap-1.png" itemprop="contentUrl"&gt;&lt;/a&gt;
 &lt;/figure&gt;
 &lt;/div&gt;

&lt;p&gt;To configure the parameters of the sitemap:&lt;/p&gt;</description></item><item><title>Stratus Magento 2 Guides - Magento 2.4.x Media Gallery</title><link>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-4-x-media-gallery/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/guides/magento-2/magento-2-4-x-media-gallery/</guid><description>&lt;p&gt;You can read more about using the gallery &lt;a href="https://experienceleague.adobe.com/docs/commerce-admin/content-design/media/gallery/media-gallery.html" target="_blank"&gt;here&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
.&lt;/p&gt;
&lt;h2 id="consumer-setup"&gt;Consumer Setup&lt;/h2&gt;
&lt;p&gt;Full functionality for new Media Gallery requires media.gallery.synchronization and media.content.synchronization queue consumers to be started for initial synchronization.
Configuration in your env.php should look similar to this in order to run these consumers.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;'cron_consumers_runner' =&amp;gt; [
 'cron_run' =&amp;gt; true,
 'max_messages' =&amp;gt; 0,
 'consumers' =&amp;gt; [
 'async.operations.all',
 'product_action_attribute.update',
 'product_action_attribute.website.update',
 'exportProcessor',
 'negotiableQuotePriceUpdate',
 'sharedCatalogUpdatePrice',
 'sharedCatalogUpdateCategoryPermissions',
 'quoteItemCleaner',
 'inventoryQtyCounter',
 'media.storage.catalog.image.resize',
 'media.content.synchronization',
 'media.gallery.renditions.update',
 'media.gallery.synchronization',
 'codegeneratorProcessor'
 ]
],
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="broker"&gt;Broker&lt;/h2&gt;
&lt;p&gt;By default, Magento uses Mysql as a broker for processing consumers. You can gain a significant performance increase by configuring &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/rabbitmq-panel/configuration/"&gt;RabbitMQ&lt;/a&gt;
 as the broker for consumers instead.
Please see the &lt;a href="https://github.com/magemojo/m2-patches/wiki#magento2-media-rabbitmq" target="_blank"&gt;Webscale patch repo&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 for instructions.&lt;/p&gt;</description></item></channel></rss>