Questions tagged [deployment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 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
vote
1answer
25 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.
0
votes
1answer
19 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
0answers
9 views

Add options to `./app/etc/env.php` on deploy

I want to add 'directories' => [ 'document_root_is_pub' => true ] to ./app/etc/env.php file on deploy. Can ./bin/magento script add options to ./app/etc/env.php or I should ...
0
votes
1answer
75 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 ...
0
votes
1answer
28 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', '...
0
votes
1answer
38 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 ...
0
votes
0answers
21 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
3answers
62 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: ...
1
vote
1answer
33 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.
1
vote
0answers
57 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 ...
3
votes
0answers
64 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 ...
1
vote
0answers
20 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, ...
0
votes
0answers
16 views

How Capistrano install new extension pushed in repo?

I have setup Capistrano to deploy magento2. Followed Link - https://github.com/davidalger/capistrano-magento2 I faced below issue. 1 . When I commit new magento extension and deploy the branch it ...
1
vote
0answers
121 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-...
0
votes
0answers
19 views

Magento 2 Install Composer and Setup Upgrade in 1 step: how do we get the package name?

I am reading through the Magento guide and understand the steps. However it appears to me that many -if not all - of the steps are the same everytime. https://devdocs.magento.com/guides/v2.3/comp-mgr/...
0
votes
1answer
71 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 ...
0
votes
1answer
564 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 ...
3
votes
1answer
178 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:...
9
votes
1answer
530 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 ...
2
votes
1answer
53 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 ...
0
votes
1answer
307 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. ...
4
votes
1answer
373 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 ...
1
vote
1answer
669 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 ...
0
votes
2answers
508 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....
1
vote
1answer
229 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 ...
0
votes
0answers
386 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
1answer
132 views

RequireJS issues on server, fine locally

I'm currently setting up the pipeline deployment process for a new store, Magento Commerce 2.2.5 with B2B module and sample data. I don't think the fact it's Commerce vs Open Source, has the sample ...
1
vote
1answer
157 views

Magento2.1 - Deployment version issue

In production mode , I tried to deployed the application. Deployment was completed successfully but the changes in js file seems to be old. Static Signing is enabled in admin I checked the pub/static/...
3
votes
1answer
2k views

Magento 2 - Really Bad Performance in Docker

we are using Docker on macOS for development and deployment and have massive performance problems especially in deployment. Our deployment does a full project build with: git clone composer install ...
1
vote
2answers
1k 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/...
1
vote
1answer
749 views

Database connection parameters via environmental variables

Currently working on the deployment of a Magento 2.2.x instance and I can't seem to find any documentation regarding the ability to set the database connection parameters as environmental variables. ...
0
votes
0answers
30 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 ...
2
votes
1answer
127 views

Do I need a production database to run integration tests?

I'm trying to run integration tests on our CI server using a docker container. Now the documentation states that I only need to have a test-database (called magento_integration_tests), so I created ...
3
votes
1answer
1k views

GIT deployment and what files are required in production environment

At the moment development is done on a local server to myself. The site is not live but testing is done on what is to be on production server and a git push from development triggers a webhook that ...
5
votes
5answers
6k views

app:config:dump locks everything in configuration

I am using pipeline deployment. As suggested in Magento 2.2 documentation, to use pipeline deployment process use below code: app:config:dump and add config.php to source control. But when i ...
2
votes
1answer
2k views

Magento 2.2 Build system

I trying to setup build system for setup:di:compile and setup:static-content:deploy based on official devdocs. Build system The build system compiles code and generates static view files for ...
0
votes
1answer
58 views

Magento 2 opposite of deployment (setup develpment environment)

Situation: I have got access to a live server that runs Magento 2 that was deployed with capistrano, so the structure looks like following: - releases - 20160311115120 - 20160325080754 - repo ...
11
votes
2answers
4k views

Magento2 - local / staging / production deployment & gitignore

This could be one kind of discussion more than a question. I'd like to know which deployment policy you follow with Magento2 & local > staging > production environments After some tries we've ...
2
votes
1answer
313 views

Magento 2 - Deploying local to live, why rsync doesn't work

I've recently deployed a magento 2 from local to live environment, local was working fine and everything was running smoothly. I've also enabled production mode, but i've not turned on css or js ...
1
vote
1answer
527 views

Should I run catalog:images:resize on each deployment or only incidentally?

The question is simple: Should I add bin/magento catalog:images:resize to our Continuous Integration script, running it on every deployment? Or is it's intent solely to run incidentally (since ...
4
votes
1answer
212 views

How can I run unit tests / code sniffs for individual modules using a CI provider?

At the company I work with, our modules are individual repositories. We add those as composer packages to our Magento 2 installation by adding GitHub as a repository in our composer.json: "require": {...
0
votes
1answer
316 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 ...
2
votes
3answers
402 views

Magento2 export and import configurations instead of uploading the DB

Is it possible to move settings like product, customers and categories attributes, store settings and others that doesn't include data product, customers, orders, categories, etc ... Instead of ...
6
votes
2answers
534 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
votes
3answers
3k views

Magento 2: connect to existing DB

I have deployed Magento 2.1.2 CE and have setup the database to use with this instance. # http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-install.html#instgde-install-cli-...
15
votes
1answer
2k views

Can you achieve zero downtime deployment with magento2?

If you have a new module and you need to run setup:upgrade then I don't see a way where you can have zero downtime. It's always going to be 10-20 seconds down because you need to upgrade the database. ...
7
votes
1answer
2k views

Magento 2 setup:static-content:deploy symlinks

When removing all the pub/static files in Magento 2 and opening the homepage, the files are generated as symlinks. When using the command setup:static-content:deploy the files are copied, even after ...
8
votes
1answer
1k views

Magento2 moving from staging to live site

I have not found too much information on an efficient process for a rolling development of my site so I can add custom modules and other file changes on staging and then push those changes onto the ...
1
vote
2answers
409 views

Magento 2 not work when move source code to other PC

I'm install a new project with magento 2 (M2), and use sample data of M2. This installation is success on my laptop, and M2 works fine. After that, I compress source code of my project, then copy ...