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.


New Relic Bug Email Transicional

Submitted by Eric on Fri, 08/24/2018 - 21:14

Recentemente tive um problema com o email transicional em um Magento EE 1.13.0 rodando Debian no container e o agente PHP da New Relic instalado.
Quando na página para criar um novo template, se você tentar carregar um template em HTML, ele fica girando e depois não carrega o template. Mas funciona com template em texto.

Durante nossos testes identificamos que o agente da New Relic estava adicionando um JavaScript à requisição, que quebrava o carregamento. Por motivos de segurança irei colocar somente parte do JavaScript que era inserido:


Upgrade Magento to version 1.9

Submitted by Eric on Thu, 03/29/2018 - 21:25
Many people have a need to upgrade Magento to a newer version, but this is not an easy task to do with Magento. It would be great if you had a button in the admin to do the update, but it's not that simple. You may be thinking, "but what about Magento Connect?" He's not that efficient, believe me. Today in this tutorial I will explain how to upgrade your Magento store. This tutorial has been tested with version to