Questions tagged [production-mode]
The production-mode tag has no usage guidance.
44
questions with no upvoted or accepted answers
3
votes
0
answers
177
views
After Production mode and JS minification, 404 error for all JS files
I have enabled JS minification and Merging while in developer mode.
Then i enabled production mode.
Cleared cache and ran below commands:
php bin/magento setup:upgrade
php bin/magento indexer:...
3
votes
0
answers
700
views
Production mode won't geneate files inside var/view_processed folder
When I open the frontend and backend I always got an error like this:
"Warning:
include(/var/www/test.com/var/view_preprocessed/html/vendor/magento/module-theme/view/base/templates/root.phtml):
...
3
votes
0
answers
484
views
Production-mode to developer-mode error
After the development of Magento 2 store, I push my site on production mode and perform all the speedup tweak's like merge JS/CSS etc..
After this, my site is working very well without any JavaScript ...
2
votes
0
answers
312
views
Ignore specific path when running setup:di:compile in Magento 2.2.2
Is there a additional command to add to setup:di:compile command to ignore a specific path compilation?
In Magento 2 this could be done with additional parameter --exclude-pattern, but in Magento 2.2 ...
2
votes
1
answer
533
views
Magento 2 styling issues after switch from default to production mode
I thought I should switch to production mode from default mode as I got closer to launching my site. As soon as I did that, the formatting of my front-end and admin section got messed up. The front ...
2
votes
1
answer
1k
views
Magento won't create minified JS files
I switched my Site to production mode and enabled JavaScript minification, bundling and concatenating in the backend, expecting Magento to correctly create the .min.js files - It won't, though. First ...
2
votes
0
answers
229
views
Magento 2 : New Order Email Template CSS Not Working in Production Mode
I am facing issue in sales new order email template. I am working with my custom theme. Problem is there, new order email template CSS working in developer mode correctly but same template not working ...
2
votes
0
answers
203
views
Magento 2 from developer to production mode e-mail / mail
Magento 2.1.2
If i change from developer to production mode the order email layout is little confused.
Can help me somebody to fix that?
developer mode:
production mode:
1
vote
0
answers
34
views
what environment variables can override application mode and where do they need to be set?
When I run deploy:mode:show, it shows an application mode followed by a message that says that its value may be overridden. For example:
prod@mysite01:~/www$ ./bin/magento deploy:mode:show
Current ...
1
vote
0
answers
411
views
Swagger redirecting to login when going from Production mode to Developer
When I tried to set my production mode instance to developer mode I can not get swagger to load.
If I go to mystore.com/swagger it will redirect to the login page.
Deploy mode is set to developer. I ...
1
vote
0
answers
59
views
Magento 2.3: cache issue - changes are uploading with long delay
We have got installed Magento 2.3 on our production server.
Whenever we do changes to css file or other Magento files it takes ages to reflect the page on the live website. The brutal method to get ...
1
vote
0
answers
55
views
Product page and category page disappeared
Developed on developer mode and everything is OK, just set production mode, home page and admin panel is OK but category page completely disappeared and shows a blank page and also product page is ...
1
vote
0
answers
106
views
Magento 2 how to set permission in production mode
I have successfully completed all issues in developer mode,
and now I moved to production mode, every thing is working fine
but when I am try to cache clear from admin panel , frontend permission are ...
1
vote
0
answers
35
views
Magento2.1.8 ltrim() error broke production site
Live production site went down suddenly. I created a custom cron job to enable/disable products in the site and the job ran successfully. 3 people placed order and suddenly the Live site went down and ...
1
vote
1
answer
371
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 ...
1
vote
0
answers
683
views
Not able to set Magento 2.2.2 to production mode
I am done with all the work of my website but now when I try to set it to production mode, it abruptly terminates in shell without giving any error details in log file. At least I was not able to ...
1
vote
0
answers
130
views
How to debug error "Unable to get content for ..."?
How to find error in this file? I can't find error and fix it.
I has moved to production mode and merge all js/css file.
1
vote
2
answers
1k
views
CSS and JS files not loading in Production mode
I am changing my site to Production mode but CSS,JS is not loading after changing to production mode.
Group product has very odd issue. Display in Developer mode but not in Production mode.
0
votes
1
answer
84
views
Element 'item': This element is not expected. Expected is ( argument ) when in developer mode
I am getting this error: Element 'item': This element is not expected. Expected is ( argument ) when run command like: php bin/magento cache:flush.
I try to get back production mode but still get the ...
0
votes
2
answers
62
views
Maintance Mode: How to show the content of my 503.phtml page istead of exceptions
1 exception(s):
Exception #0 (Exception): Unable to proceed: the maintenance mode is enabled.
Exception #0 (Exception): Unable to proceed: the maintenance mode is enabled.
<pre>#1 Magento\...
0
votes
2
answers
79
views
What do I do with these Test modules being populated in a Live Production Environment?
I always thought that if I ran composer install --no-dev that test modules in the Dev directory would not be populated but after finding a payment with that processed with "fake payment method&...
0
votes
1
answer
241
views
magento 2 admin showing error but no message
I have recently switched my magento 2.4.3-p1 instance to production mode but now it is showing an error in admin panel but with no text. No js error in console no error in log files.
Do anyone have ...
0
votes
0
answers
38
views
Magento 2.4.3 - site becomes unstable / unresponsive when in production mode
Have recently updated site from M2.3.5 to M2.4.3
While in developer mode, the site is responsive and stable.
If I switch to production mode, then after a period of time it becomes unresponsive and ...
0
votes
2
answers
68
views
Homepage not working on production
Everything works fine in development mode. But when I switch to production everything except homepage works. The only thing shown is this:
An error has happened during the application run. See ...
0
votes
1
answer
365
views
Magento 2 Production mode still showing Developer Tab
On one of my Magento 2 websites I noticed while in Production mode, the Developer tab is still showing in Stores > Settings -> Configuration > Advanced.
The store seems to be running fine but ...
0
votes
3
answers
203
views
Magento 2.3.2 compilation error
I have a website in Magento 2.3.2. This morning the website was in production mode.
I added a custom module (I don't think is related to this problem)
run bin/magento setup:upgrade, bin/magento c:f, ...
0
votes
2
answers
368
views
During setup:di:compile getting error:- Source class "\PHPExcel_IO" for "PHPExcel_IOFactory" generation does not exist
When i'm running "setup:di:compile" or setting mode to "production" from "default" then getting following error:-
Please help me to resolve this problem immediately.
------Update@Start--------------...
0
votes
0
answers
318
views
Magento 2.3.0 After change production mode minify js and minify css not working it admin side
I have tried all commands on our Magento 2.3.0 website but I am getting issue after changing to production mode. So if anyone is facing this type of error, please reply to me the proper solution. ...
0
votes
2
answers
741
views
Magento2.3.0 :When merge and minify js and css after set production mode not working my admin panel and frontend css lacking
I am using Magento2.3.0 community version When merge and minify js and css after set production mode not working my admin panel and front end css lacking if any one know what is actual issue reply me ...
0
votes
0
answers
261
views
Disabling maintenance mode Command returned non-zero exit code
I am a newbie in magneto I made a Magento custom extension but while uploading this into the Magento Marketplace, I am facing an issue it's Test Fail, Below is the test report
Environment: PHP 7.1....
0
votes
0
answers
276
views
HTTP 500 error after switching from developer mode to production mode
After switching to production mode, website is giving http 500 error. Admin side is opening but no pictures. What should i do?
0
votes
2
answers
375
views
Do I have to be in developer mode?
How to add custom css file in magento2.2.6?
I am in Production mode, using Luma Magento 2.2.6.
Do I have to be in Developer mode to make the solution in the above link work?
Before switching to ...
0
votes
0
answers
278
views
Magento 2 shell shows production mode, but still in developer mode
I have a problem turning the webshop into production mode. When I change mode to production all seems fine and production mode is enabled without any problem in ssh.
[admin@server public_html]$ php ...
0
votes
2
answers
198
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/...
0
votes
1
answer
65
views
Developer to Production Cashe
I have been using MAGE for about 2 months now and I am a Neophyte to front and back end. I am looking for a little guidance in changing form "developer" to "production" mode. I don't use the CL, I use ...
0
votes
2
answers
1k
views
Magento 2.2 some JS files are not loading in production mode
In Magento 2.2.2 when setting website into production mode the following files are not loading, due to which my store switcher and other ui functions are not working in production mode:
http://...
0
votes
0
answers
75
views
Site is not opening after setting production mode Magento2
I set mode as production, after that my website gone down,
Is there any setting to be done? All css and js are showing 504 gateway error.
What is the reason for it?
0
votes
1
answer
394
views
JS doesn't load when change mode from development to production in Magento 2.1.9
Website working properly in developer mode when I am changing mode from development to production. JS doesn't load after change mode of production.
Below Error:
GET https://example.com/pub/static/...
0
votes
0
answers
293
views
Magento 2 custom theme setup:static-content:deploy en_GB on production mode does not work!
I've been doing this for while and having to end up either going to developer mode then production to push e.g css changes or run setup:upgrade then setup:static-content:deploy en_GB && cache:...
0
votes
0
answers
402
views
Magento2: Error when change developer mode to production (Magento 2.1.7)
D:\xampp\htdocs\site> php bin/magento deploy:mode:set production
Enabled maintenance mode
Starting compilation
Compilation was started.
%message% 0/7 [>---------------------------] 0% 1 sec 44....
0
votes
1
answer
103
views
Problem after I changed developer mode
after I change from default to developer mode my homepage is look like this
what is my mistake ? please help me
0
votes
2
answers
2k
views
Magento 2 error when run php bin/magento setup:di:compile
I am using magento 2.1.5 when i change developer to production mode got the error like this
Enabled maintenance mode
Starting compilation
Something went wrong while compiling generated code. See ...
0
votes
0
answers
169
views
Can we set production mode from localhost in Magento 2
I am trying to set production Mode from my localhost, but it is throwing error.
Can we set Production Mode from localhost? and let us know the precautions before setting the production mode?
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:
'/...