Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [deployment]

The tag has no usage guidance.

2
votes
0answers
14 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 ...
1
vote
1answer
28 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
0answers
19 views

M2.2 - Does pipeline deployment only benefit JS/CSS updates?

I'm looking at taking advantage of pipeline deployment for our site to keep downtime for updates to a minimum. However, someone mentioned to me that the pipeline deployment is really only beneficial ...
0
votes
1answer
76 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
0answers
148 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
226 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
1answer
212 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
51 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
246 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
82 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
53 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
902 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 ...
0
votes
2answers
465 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
401 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
24 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
57 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
818 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 ...
4
votes
4answers
3k 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 ...
0
votes
1answer
1k 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
54 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 ...
7
votes
2answers
3k 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
223 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
174 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
173 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
227 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
355 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 ...
4
votes
2answers
489 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
2k 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-...
13
votes
1answer
1k 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. ...
6
votes
1answer
1k 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
969 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
256 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 ...
2
votes
0answers
437 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 ...
3
votes
1answer
893 views

How to deploy public PHP files in Magento 2 extension?

I need to deploy a publicly accessible PHP file as part of a Magento 2 extension. Obviously this is not intended, as usually all requests should be routed through index.php, but in this case it's ...
3
votes
0answers
910 views

Recommended continuous integration tools for Magento 2 [closed]

For companies deploying Magento 2, what CI (continuous integration) tools do you recommend? We use GitHub and commonly deploy to AWS Beanstalk instances, but some of our clients use Linux VMs on ...
0
votes
1answer
969 views

Easy to Deploy 2 server setup on AWS

My client wishes to make a simple 2 server magento setup, one for the database and one for the webserver. Most AMI out there or AWS deployments are much much more complicated (and expensive!) and not ...
2
votes
0answers
48 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 ...
10
votes
1answer
624 views

Reasons to setup cronjob for setup:cron:run and update/cron.php on a deployed production system?

In Magento 2 there are three commands that should be set up as cronjob * * * * * <path to php binary> <magento install dir>/bin/magento cron:run | grep -v "Ran jobs by schedule" >> &...
-1
votes
1answer
151 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 ...
2
votes
1answer
958 views

When Compilation and Deployment is required in Magento 2

Its my first project in magento. I am confuse about deployment and compilation. When i do compilation every time after changes i got some error. Also deployment have many more time memory failed and ...
1
vote
0answers
237 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-...
3
votes
1answer
1k views

Magento2 changes not deployed

I am working with Magento2 and have the problem, that my changes are only visible after a full php bin/magento setup:static-content:deploy en_US. Prerequisites: Magento 2.1.0 Linux VM with Apache / ...
4
votes
0answers
203 views

Order of Magento 2 deployment tasks [duplicate]

What order do the deployment tasks of static-files, DI compilation, and setup:upgrade have to be performed? In order to deploy updates for a Magento 2 site to live, the common approach would be to ...
0
votes
1answer
31 views

Install scripts on deployments

Is there a way to force the install scripts to run for every new deployment? When I deploy a new git branch to our QA servers, the install scripts are not kicking off since magento thinks they already ...
11
votes
1answer
785 views

Magento2 CI Server Integration for Production

What are steps, guidelines and flows that needs to be followed for a successfully Magento2 Continuous Integration workflow ?
2
votes
2answers
519 views

Deploy Magento 2 website on Staging server and Composer

I installed Magento 2 locally using Composer I use Git to track my code I need to deploy my local Magento 2 site to a staging server (shared hosting) 1) For what do I need Composer anyway on Staging ...
1
vote
1answer
769 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 ...
2
votes
1answer
569 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 ...
2
votes
3answers
2k views

magento2: how to only deploy used themes to speed up static deploy

Does anyone know if it's possible to restrict the setup:static-content:deploy to only deploy themes I actually use? For instance i have a theme that inherits from Magento/blank and we have two ...
0
votes
2answers
882 views

Deploy Production mode via SSH gets stuck at 'Static content deployment'

So, I guess this is kinda vague and hard to explain, so I'll try to give some detail to help contextualise the problem. I have a Magento 2.0.0 install, that I installed via cPanel's Installatron. ...