Magento 2

All blog about M2

Issues when deploying static content on EFS

Submitted by Eric on Wed, 04/24/2019 - 17:29

This article is about deploying the static content on EFS, but it can be NFS or anything over the network that might be slow.
And this article is another article about how annoying Magento 2 can be and how it wasn't built to be a scalable application.

Anyway, we have been getting several errors when running a static content deploy with the --jobs option:


Running Magento 2 Crons With Queue Consumers on Kubernetes or Docker

Submitted by Eric on Sun, 04/21/2019 - 16:01

Let me start saying that this article will be quick and simple, but it was a headache to find out the issues we encountered with running Magento crons with queue consumers on Kubernetes (or even Docker).
Configuring the cron is pretty simple and Magento has a nice documentation here:


Configure Catalog Search Engine with Magento CLI

Submitted by Eric on Fri, 02/15/2019 - 11:44

Since we installed Magento 2.3 we started receiving a notice that Catalog Search using MySQL will go away as it is deprecated. This is ok as we are going to use Elasticsearch anyway, but we have to setup Magento to connect to the correct hostname when the container starts and not manually in the admin or using CLI, but the CLI is helpful as we can run scripts after the container is up and running.