Questions tagged [deploy]

The tag has no usage guidance.

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 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,559
3 votes
2 answers
2k views

magento 2 static content deploy error: @minicart-icon-color is undefined

I have created a new theme, and deployed the static content, but it's giving me an error when the front-end static content deployment is running. That is: @minicart-icon-color is undefined in the ...
Hemant's user avatar
  • 55
2 votes
2 answers
3k views

Magento 2.4: Catalog Search index exception: Could not ping search engine: No alive nodes found in your cluster

We have installed Magento 2.4 on our local machine. After installing, we have got the below error when doing the setup:upgrade Could not validate a connection to Elasticsearch. No alive nodes found ...
MagentoDev's user avatar
2 votes
2 answers
144 views

Css can't read content in new area code for theme deploy

Here is my scenario. I have create new area for my theme (Not adminhtml , frontend). Used Developer mode and no symlinks config in admin I have create new module simple for define new area theme ...
mrtuvn's user avatar
  • 3,263
2 votes
2 answers
1k views

Deploying Magento 2 with a docker

I have a project Magento 2. It has a folder docker. Please tell me how to deploy an existing project with the help of a docker? Is there a good tutorial? All I've found is installing a magenta using ...
Eugene Kapelko's user avatar
2 votes
0 answers
82 views

Magento 2 deploy 1 pub static file

have a question, maybe somebody knows - how to add to deploy version only 1 pub static file in production mode without flush all deploy version. For example, i have some customer-side uploader and ...
Slava Yurthev's user avatar
2 votes
0 answers
117 views

Magento 2.1 and symlinks

My server structure is as follows: /var/www/htdocs_webroot/shop -> symlink to: /var/www/shop/deploy_xxxx-xx-xx/htdocs So I can redeploy magento easily and switch back and forth with one simple ...
steros's user avatar
  • 1,622
2 votes
0 answers
579 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 ...
Dequan W's user avatar
1 vote
0 answers
202 views

Running Deploy Hook via bin/magento-docker ece-deploy results with Could not open input file: ./vendor/bin/ece-tools returned non-zero exit status 1

I am trying to get a project that is already live in production setup and installed on my local for development. After running my bin/magento-docker up -d all of my containers start successfully. But ...
Denoteone's user avatar
  • 111
1 vote
1 answer
64 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
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
1 vote
2 answers
103 views

Magento 2 Production Mode Issue

Can we set developer to production mode on the local server? Magento 2.x Php 7.x
Masud Shaikh's user avatar
  • 1,189
1 vote
1 answer
1k views

pub/static/_requirejs is not being created in magento 2 version 2.2.4

i am trying to include slick plugin into magento 2 through custom theme by requirejs but pub/static/_requirejs folder + files are not being generated on code deploy. file structure is following: /app/...
Asad Kaleem's user avatar
1 vote
1 answer
358 views

Magento 2 Autoprefixer in production mode

Magento 2 comes with a preinstalled autoprefixer for Grunt. But is it possible to use the autoprefixer in the production mode too? I have a lot of CSS which does not work without the vendor prefixes ...
Fredwak's user avatar
  • 21
1 vote
0 answers
1k views

Static deployment errors Magento 2.2

Hi everyone I am having an issue after installing a theme. when I run php bin/magento setup:static-content:deploy I get: [Magento\Framework\Exception\LocalizedException] NOTE: Manual static ...
HadlowJ's user avatar
  • 11
1 vote
0 answers
358 views

Magento 2.1 deploy static content production mode fails

after spending some hours with this issue I now dare to ask. I think I have overseen something stupid. After switching in production mode my, I run static content deploy command wich runs without any ...
user58220's user avatar
1 vote
2 answers
50 views

Deploying issue in Magento -2

I have a js file. Everytime I change something I need to execute the following commands: php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento setup:static-...
Attila Naghi's user avatar
  • 3,903
1 vote
0 answers
155 views

magento 1.9.x Modman vs modgit

I'm looking for best practice in order to manage magento submodules, my plan was to use modman but I've heard about modgit. Is there any benchmark modman vs modgit? Advantages / disadvantages or ...
Sabri Zouari's user avatar
1 vote
0 answers
215 views

Capistrano & Magento - Previewing new deploy and manually update symlink

I am using a Capistrano deployment workflow for a Magento project. On deploy Capistrano builds this Magento project on the server using https://github.com/Cotya/magento-composer-installer. The issue ...
pessato's user avatar
  • 157
0 votes
1 answer
248 views

Magento 2 Cloud: turn on developer mode

I need to turn on developer mode, but NOT via the following command: bin/magento deploy:mode:set developer I need to turn it on via deploy. Does anyone know how to do it?
Elf-12's user avatar
  • 11
0 votes
1 answer
463 views

Magento 2 front end looks like no css and js after deploying static content

I'm using magento 2.4.3, and I did a couple putty commands, like upgrade, compile, and now php bin/magento setup:static-content:deploy -f but now the front end is loading apparently without css and ...
alexcr's user avatar
  • 1,467
0 votes
1 answer
695 views

Magento 2.3.2 - Problems with merged CSS/JS file cache on production

We experience an issue almost every single time we deploy new code to the website, whereby we get 404 errors for merged CSS/JS files. To me, this seems like there is something pointing to the location ...
Keydose's user avatar
  • 101
0 votes
1 answer
41 views

Error: Unable to upload application to Magento Cloud

When I try to push a new code to my Magento Cloud instance I get this error below, it doesn't matter which version, even a version that worked previously. How could I find the issues?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
39 views

Deployment does no create /js folder with main.js

During the process of updating my Magento2 website, the console commands fail to create my main.js file, and shows me this error static/frontend/website/default/pt_PT/js/main.js net::ERR_ABORTED 404 (...
Pedro Ferreira's user avatar
0 votes
0 answers
27 views

Changing debug mode into magento 2.3 losses theme css content

My site was in production mode. i changed it to developer mode. i ran all the commands. Static content deploy command too. But site is looking weird now. Can you guys please suggest something. https://...
Nafsss's user avatar
  • 740
0 votes
1 answer
649 views

Magento 2 variable @mobile-cart-padding is undefined (Porto Theme)

I Cloned Magento 2 project from GitHub without any error. After I configured env files with DB details. when I deploy the project getting variable @mobile-cart-padding is an undefined error. I am ...
Subu's user avatar
  • 31
0 votes
2 answers
1k views

Possible way to fix luma Layout

Encounter this issue (Layout are wrong ).What is the possible issue for this? Tried dicompile, clear cache and reindex.Still not working exception.log main.CRITICAL: Path "/var/www/html/var/...
Ed Tan's user avatar
  • 173
0 votes
2 answers
194 views

Magento 2: Deploy Production mode with fresh install

I am working with MAGE2.2.6. It is a fresh install. Before I opened magento for the first time. I changed from default to Production mode, in the etc.php file. I also cleared my var/cash and var/...
Starkemp315's user avatar
0 votes
1 answer
309 views

Magento broken after module disable

I have a huge problem with Magento on a live platform. I've disabled a few modules, which I don't use, via a command line. I've made it before already and had no problems with it. But now I can't ...
Anastasia's user avatar
0 votes
1 answer
438 views

print.less file error when run deploy command

When running php bin/magento setup:static-content:deploy command it shows above error, I just replace the magento 2.1.6 files to magento 2.1.0 files now theme working fine but when run deploy command ...
Velu's user avatar
  • 1
0 votes
1 answer
1k views

M2 - Cannot change deploy mode to Production

I am trying to set the deploy mode on an M2 instance to Production from Developer. On my local environment however I keep getting the error message: Command returned non-zero exit code: '/...
Chris Wells's user avatar