Questions tagged [deployment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

How to depoy code in magento2 cloud project?

I have following queries as a beginner for the Magento/Adobe Commerce Cloud project. How we can do the deployment process? What is the best practice to do the deployment process? Can we create new ...
Jitendra Patel's user avatar
0 votes
0 answers
12 views

How to deploy magepack bundling on production

magento.app.yaml when i am deploying on cloud error is occur W: /etc/platform/bletrhxa5fb2a_stg/auto_post_deploy.sh: 3: /etc/platform/bletrhxa5fb2a_stg/auto_post_deploy.sh: magepack: not found In ...
Nabeel Ahmed's user avatar
0 votes
1 answer
348 views

Mysql error MySQL doesn't yet support drop existing primary key without adding a new primary key

need help regarding the issue, All of the sudden our production environment we are getting issue during upgrade command SQLSTATE[42000]: Syntax error or access violation: 1235 This version of MySQL ...
Waqar Ali's user avatar
  • 2,319
0 votes
0 answers
26 views

Magento Cloud Docker 2.4.6-p2 on ./bin/magento-docker ece-deploy

I am facing this error: Module 'Magento_AdobeCommerceEventsClient': Type Error occurred when creating object: Magento\AdobeIoEventsClient\Model\Credentials\CredentialsFactory, Magento\...
Th. Schott's user avatar
2 votes
1 answer
94 views

100% CPU usage after deployments

After deploying change to magento cloud (2.4.3p3) our servers are hitting 100% CPU, which makes the whole system unresponsive and inaccessible. It seems to last random amount of time can be more than ...
james4563's user avatar
0 votes
0 answers
167 views

Issue with product images. Error: Directory \"/var/www/html/pub/media\" cannot be created Warning!mkdir()

I'm new to Magento 2 and have successfully deployed magento 2.4.1 with apache on Kubernetes. However, I'm facing issues with product images not being displayed when I mount pub/media using cosfs. The ...
Zeck's user avatar
  • 3
0 votes
0 answers
94 views

Deployment script takes around 30 min on magento 2.4.5-p1. how to reduce the time?

When I run the deployment command on our production mode site, it takes around 30 mins to complete. How can I make it faster? Magento Version: 2.4.5-p1
T P T's user avatar
  • 51
1 vote
1 answer
86 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 ...
0xMatt's user avatar
  • 31
1 vote
1 answer
976 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 ...
Kloppo's user avatar
  • 95
0 votes
1 answer
324 views

Static files don't fully deploy on a docker-based deployment

I'm having trouble implementing the deploy strategy described in e.g. https://info2.magento.com/rs/585-GGD-959/images/The%20New%20Magento%202.2%20Deployment%20Capabilities%20%26%20Patterns.pdf I build ...
Roger Firpo's user avatar
1 vote
2 answers
2k views

Call to undefined method Magento\Eav\Api\Data\AttributeExtension::setIsPagebuilderEnabled()

I'm using Mad-IT GitHub Actions to build a magento 2.4.3 store. When it does the magento install step, I'm getting Call to undefined method Magento\Eav\Api\Data\AttributeExtension::...
alexjamesbrown's user avatar
0 votes
1 answer
249 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/...
Alexander Gran's user avatar
0 votes
1 answer
493 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. [...
Th. Schott's user avatar
0 votes
1 answer
703 views

what is the mechanism use in CI-CD process for Magento2 cloud?

Like jenkins is automation server, SonarQube for code code quality we can integrate this thing with normal git or any versioning control tool. for our CI-CD process. SO what mechanism used in Magento2 ...
Rutvee Sojitra's user avatar
0 votes
1 answer
891 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 ...
Amit Singh's user avatar
1 vote
2 answers
1k 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 ...
Sneha's user avatar
  • 11
0 votes
0 answers
35 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:
BelgoCanadian's user avatar
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 ...
Sandeep S's user avatar
1 vote
2 answers
556 views

How to get the deployment version in Magento 2?

I want to save deployment version in DB from where I can get the currently deployed version?
Milind Singh's user avatar
  • 1,584
1 vote
2 answers
388 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-...
Jonas de Herdt's user avatar
4 votes
1 answer
613 views

Cache:Flush fails after updating from Magento 2.3.4-p2 to 2.3.5-p2

When deploying the update from Magento 2.3.4-p2 to 2.3.5-p2 the cache:flush command does not work. As error message I get Class Magento\GoogleShoppingAds\Model\Cache\Type does not exist. I checked ...
norgeindian's user avatar
1 vote
1 answer
623 views

Is it possible to lock the design configuration in env.php?

In production, the meta robots on my website is configured to be "INDEX,FOLLOW". In staging, I run an sql query to insert or update it in the core_config_data table to be "NOINDEX,...
beluga's user avatar
  • 41
0 votes
1 answer
756 views

Magento 2 - Can't compile theme in production mode anymore | Unable to retrieve deployment version of static files from the file system

I get this error when trying to execute grunt refresh or grunt exec:all. [2020-08-17 05:25:31] report.CRITICAL: Can not load static content version. [] [] [2020-08-17 05:25:31] report.ERROR: Unable to ...
Black's user avatar
  • 3,280
0 votes
1 answer
619 views

env.php in Docker containers with pipeline deployment

I wanna be able to deploy and run Magento 2 using Docker images I am following Magento 2.2+ pipeline deployment docs: https://devdocs.magento.com/guides/v2.4/config-guide/deployment/ https://devdocs....
Lubos Zapotocny's user avatar
6 votes
3 answers
2k 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 ...
Goose84's user avatar
  • 2,581
0 votes
1 answer
36 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 ...
Antonio's user avatar
0 votes
1 answer
560 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 ...
omsta's user avatar
  • 698
0 votes
0 answers
760 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 ...
Andrew's user avatar
  • 1
1 vote
1 answer
67 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.
Akash Killedar's user avatar
0 votes
1 answer
31 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 <?...
Lauris Kārkliņš's user avatar
0 votes
1 answer
795 views

how to deploy magento pwa studio in Cloud

I want to know how to deploy Magento PWA studio in Cloud what are technologies required to deploy the Magento PWA studio aws and digital ocean - both and what about firebase and aws ...
prabhakaran7's user avatar
  • 1,077
0 votes
1 answer
247 views

Deployer.org - Recipe changes are not being applied on Magento deploying

I'm using this recipe to deploy Magento 2 with Deployer.org. It's not getting my changes. For example the writable_dirs are set this wait: set('writable_dirs', [ 'var', 'pub/static', '...
Alejandro Araujo's user avatar
1 vote
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 ...
Creepin's user avatar
  • 335
0 votes
0 answers
48 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 ...
Yogendra - eCommerce Developer's user avatar
0 votes
3 answers
499 views

How to deploy to production server customizations made in vendor folder?

So, We have 3 environments: development, staging and production. .gitignore file includes "vendor" folder and it has been working fine for us fine. Once We pull changes in Staging We would just run: ...
jtalel's user avatar
  • 13
1 vote
1 answer
339 views

How to deploy local source to live server for magento 2

I have tried many ways to deploy my local server project to live server or another PC but not working very well. so please give me a better and exact solution for it. thanks in advance.
Sarvesh Patel's user avatar
4 votes
1 answer
539 views

Why would you add the modules array in app/etc/config.php to source control?

As of Magento 2.2 it's recommended to add config.php to your source control to facilitate pipeline deployment. I have some questions and issues with this. I'm hoping somebody can share their ...
Joke Puts's user avatar
  • 341
3 votes
0 answers
301 views

Magento 2 caches keep disabling themselves [duplicate]

During deployments we sometimes have the problem, that all the caches disable themselves, for no apparent reason. During deployment, we basically execute the following commands: bin/magento ...
fritzmg's user avatar
  • 747
1 vote
0 answers
28 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, ...
David S's user avatar
  • 11
2 votes
0 answers
245 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-...
Macas's user avatar
  • 487
0 votes
1 answer
402 views

Magento 2.3 : How to add code that will throw an error when developer mode is on not on Production mode

I would like to add code in try and catch block that will throw an error in case of developer mode. If deployment mode founds developer mode then it will throw an error in try and catch block. If ...
Softec's user avatar
  • 2,065
0 votes
3 answers
3k views

How to downgrade the setup version of a extension in magento2?

Suppose I have Magento extension Company_Setup and version v1.0.0. I update the version with some DB change v1.0.11 I have installed the extension and now in DB version update with 1.0.11. But ...
Yogendra - eCommerce Developer's user avatar
3 votes
1 answer
753 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:...
Kurtz's user avatar
  • 41
12 votes
2 answers
2k views

Magento 2 deployment without downtime - are there proven production strategies?

We know the recommended Magento 2 deployment process which roughly contains the following steps: php bin/magento maintenance:enable composer require <package> <version> --no-update ...
HelgeB's user avatar
  • 4,501
2 votes
1 answer
256 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 ...
user931780's user avatar
0 votes
1 answer
752 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. ...
fritzmg's user avatar
  • 747
4 votes
1 answer
945 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 ...
Cyclonecode's user avatar
1 vote
1 answer
3k views

Magento2: Missing commands on build server

I try to make a Magento2 Pipeline Deployment and running in a awkward error. But first a few words to the deployment: I use a docker container with installed php and nodejs. I copy in the container ...
bambamboole's user avatar
1 vote
2 answers
2k views

Production Mode app:config:import issue

after a new deployment I get the following error: {"0":"The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration.","1":"#0 \/var\/www\/dev.xxx....
bambamboole's user avatar
1 vote
1 answer
618 views

Magento 2: How to deploy an image file on production site?

We changed one image file at this location and now we want to deploy it on live: app/design/frontend/theme/theme1/web/images/sample.jpg We learned that the only way to deploy static files in ...
Ner's user avatar
  • 1,071