Questions tagged [deployment]

The tag has no usage guidance.

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
2 answers
617 views

Gruntfile.js, Autoprefixer and bin/magento setup:static-content:deploy

The vanilla checkout of Magento2 contains a Grunt boilerplate including the autoprefixer task. It works all sweet and dandy (according to our frontend devs). However now as I need to make the whole ...
  • 2,781
4 votes
3 answers
1k views

Zero downtime deployments

I'm using Magento 2.3.4 open source and I am looking into how I can achieve zero downtime The build commands I normally use are: php bin/magento maintenance:enable composer install --no-interaction ...
  • 2,519
4 votes
1 answer
890 views

Structure project using Vue Storefront and Magento 2

Right now I have a Magento 2 installation which is run through a customized vagrant box, and I would like to use VS for the frontend, but I’m a little confused on how to best handle deployment to ...
3 votes
1 answer
697 views

error in pipeline deployment

Using this URL https://blog.e-zest.com/magento-2-pipeline-deployment-with-minimum-downtime I have followed all steps for dev and build server, then now when I am running php bin/magento app:config:...
  • 41
2 votes
0 answers
221 views

Symlinks issue after MAGETWO-96314

I have a problem (duhh) with symlinks inside public_html. Everything stopped working after this patch https://github.com/magento/magento2/commit/202ce32dd4bed272a9ddb1a4618fa0e14a179dcb#diff-...
  • 489
2 votes
1 answer
187 views

Magento 2: How do you move Catalog/CMS changes to production?

The magento 2.2 documentation, in its Pipeline Deployment Overview , states the following (brackets & emphasis mine): [the production system is] Your live store. You should make minimal ...
2 votes
0 answers
562 views

Best way to deploy from dev to production?

Currently using Magento 1 for my website and I needed to deploy a new "Build" onto my live server. For the past few months, I would zip the dev server files, FTP to live server. I would also export ...
2 votes
0 answers
63 views

Deploy Sample Data Content to app/code folder instead of vendor

I can deploy sample data to vendor folder with with the command bin/magento sampledata:deploy in Magento 2 however I want to edit this command to deploy sample data to app/code/magento folder instead ...
2 votes
1 answer
846 views

Magento 2 deployment from Dev to Staging using Git

I have a local Dev environment and installed Magento 2 using composer I initialized the local /magneto2/ folder as a Git repo I added this .gitignore file to the root of my /magneto2/ folder I have a ...
  • 417
1 vote
1 answer
17 views

Managing Cache prefixes and database numbers in multi vm environment

I am hosting Magento through Google Cloud and have each store including the admin running on its own VM behind a load balancer. My concern was I was running into issues during di:compile. When I ...
  • 31
1 vote
1 answer
364 views

Magento 2.4.1 - Static content deployment needed in developer mode

I am in the middle of a situation regarding the static content deployment and I find it strange. I built Magento 2 themes based on Luma/Blank or even not based on those. When I was working under the ...
  • 75
1 vote
2 answers
297 views

Update styling magento 2 in production mode

I have a server with a production install of magento. When I deploy a new version, adding for example a new .less file, the new markup doesn't get loaded. I cleared the cache, rebuild the static-...
1 vote
1 answer
59 views

Deploy magento site on AWS

I want to deploy a sample magento site on AWS. I need help to deploy site on AWS from scratch. Anyone can provide proper documentation for deployment of magento on AWS.
1 vote
0 answers
27 views

Product/Store Data Deployment Best Practices

I'm currently working on a store with Pipeline deployment and in the docs for the Production system it states that: You should make minimal configuration changes here and no changes to websites, ...
  • 11
1 vote
2 answers
2k views

Any change to default.xml breaks homepage layout

Fairly new to Magento 2. Working from a cloned version of another site and trying to make simple, cosmetic changes to the custom theme homepage here: app/design/frontend/Vendor/Theme/Magento_Theme/...
  • 11
1 vote
0 answers
280 views

A faster route to deploying static content in Magento 2? Dev to Live etc?

Massive bounty on this guys. Wanted to get some attention here. Maybe move it here instead.. https://stackoverflow.com/questions/38589283/a-faster-route-to-deploying-static-content-in-magento-2-dev-...
1 vote
1 answer
955 views

Magento 2 .gitignore template in combination with Deploybot and Git workflow

I installed Magento 2 using composer locally (on my local Dev environment using MAMP). I added my custom theme and did all my frontend work on my local Dev site. I want my code and changes to be ...
  • 417
0 votes
1 answer
181 views

Admin redirect loop after 2.4 upgrade

we are working on updating 2.3.5 to 2.4.2-p1 Frontend loads ok, but admin backend creates a redirect loop admin/admin/auth/login/key/.... to admin/admin/index/index/key/... and admin/admin/auth/login/...
0 votes
1 answer
255 views

Magento Commerce Cloud Docker Deployment - Invalid entity_type specified: customer

I have an existing Magento Commerce Cloud Project which I want to deploy to a Docker environment. Running ./bin/magento-docker ece-deploy I get the following error: Running "deploy" hook. [...
0 votes
1 answer
335 views

Magento 2.4 EE - Consumers or RabbitMQ Consumers are not working, it should work automatically after deployment

Summary of the issue Queue Consumers are not working, it should work automatically after deployment. Information on your environment Magento EE 2.4 , RabbitMQ 3.8, Composer version- 1.10.16 ...
0 votes
2 answers
349 views

Can we remove Integration environment from magento cloud project?

We are having lots of extra code on integration environment. I cannot reset the commits on this branch as there are lots of issues on integration branch. So I wanted to remove integration environment ...
  • 1
0 votes
0 answers
29 views

Mageplaza extension can't be deployed - Use of undefined constant

I'm having trouble deploying a MagePlaza extension (SEO) to my staging environment on Magento Cloud even though it works perfectly fine on my machine. I'm getting this message:
0 votes
1 answer
1k views

How to create a docker image of an existing Magento 2 website running with Apache/PHP7.2/MySQL/ubuntu 18.04 version

We have a Magento 2 website and are trying to deploy the website as docker containers running in Kubernetes in GCP. At present, we have the website set up with a LAMP. So I believe we need to have the ...
0 votes
1 answer
22 views

Magento deployment process - DB Sync

I'm developing a Magento Store, I bought a custom theme and a lot of the theme content goes into the DB (eg. the content of the footer or menus). How should I proceed to deploy changes that I made ...
0 votes
1 answer
400 views

Magento 2: error on any bin/magento command ("More than one node matching the query")

Magento 2.2.9 This error is driving me nuts: More than one node matching the query: /config/type[@name='Magento\Framework\Console\CommandList']/arguments/argument[@name='commands'] I get this on ...
  • 628
0 votes
0 answers
673 views

Unable to deploy, failing on slug prepare/upload

There is an issue in some of our shared environments where deployment fails intermittently on the "Preparing slugs" step. No other details are in the error log. Has anyone experienced this or can ...
  • 1
0 votes
1 answer
27 views

Important div tag commented out when on production mode

We noticed that some of our page layout has been broken. Did some debugging and found out that when in production mode there are some errors with the tags. Specifically: <!--?php <?php <?...
0 votes
1 answer
1k views

How to setup same GIT repository for development, build and production

As stated in Magento Docs for Development System and in Magento Docs for Build and Production System (Quote from Build Server explanation): All Magento code is under source control in the same ...
  • 325
0 votes
0 answers
42 views

After upgrading magento from v2.1.16 6o v 2.2.5 getting error in static content deployement

After successfully upgrade Magento from 2.1.16 to 2.2.5 when deploying the static content it throwing the below error, further debug to check file is present in the vendor folder. Check Below Error ...
0 votes
1 answer
603 views

Magento 2 production deployment: which commands?

I am currently in the process of creating a Magallanes production environment for release deployments on a server. However, I am unsure which commands actually need to be executed and in which order. ...
  • 708
0 votes
0 answers
736 views

Magento 2 | CPU Load goes High showing php-fpm7 process ID on top Command

we have setup Magento 2.0 on Ubuntu 16.04 TLS, We are using nginx Web Server and php 7.0 installed on Machine. When we run application all CPU Utilisation showing 100% and eating server memory very ...
0 votes
0 answers
43 views

How to handle static asset generation in production?

I'm wondering how to handle the setup:static-content:deploy command in production efficiently, right now I'm running the command after setup:upgrade however I run into an issue where frontend assets ...
0 votes
2 answers
491 views

magento 2: dealing with module setup version when rolling back a deployment

Given the scenario: an update to a module is deployed and immediately results in breaking the checkout The expected reaction could be to rollback the deployment. However, with the way magento 2 ...
  • 1,662
0 votes
1 answer
402 views

Why the check on installation date in M2?

So i've build a CI/CD process that worked perfectly on Magento 2.0 After upgrading to 2.1, stuff started to collapse. I use Magento's CLI commands to create env.php dynamically, depending on the ...
0 votes
0 answers
79 views

how to deploy multiple websites and each with app folder magento2?

i develop magento2 modules, and "common practice" for module development is to install new magento2 everytime for new module. This is tedious and space consuming. I'm trying to use the multiple ...
  • 1,317