Questions tagged [production-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
3answers
41 views

Magento 2: Showing error on production mode

I'm facing an issue like errors are show on PRODUCTION mode, how can this be possible. Anyone have any idea how can this be resolved?
0
votes
0answers
9 views

Is it bad to switch to Developer Mode when your website is already live and has a lot of traffic?

I don't have a test server but I like to change a few things, the thing is - I don't know where the code for that section is. I know you can use the hints in developer mode but for that I have to ...
0
votes
0answers
23 views

Magento 2 Default to Production mode (Command returned non-zero exit code:) unknown memory error

I am trying to enable production mode on Magento 2.3.3 [user@cpa public_html] $bin/magento deploy:mode:set production Enabling maintenance mode Starting compilation Something went wrong while ...
0
votes
0answers
10 views

languages switcher redirect random page on mobile

Hi i've a problem on Magento 2. Language switcher only on mobile in production redirect on random page or in 404. In languages.phtml all work fine and urls in browser inspect are correct. In local i ...
0
votes
1answer
20 views

How to detect if the store is using developer mode via browser?

I usually do some store audits even without ssh access, and I'd like to be more precise checking if the store is using developer mode just browsing through the browser console. How could I check if ...
0
votes
0answers
19 views

Code not working on Live Server

This code line working on my testing server but not working on live $collection = $this->_order->create()->getCollection(); I am getting my code stuck on this code and not creating log ...
0
votes
2answers
85 views

Check if Magento is running in production mode

I am creating a custom store implementation and I need to check if the store is in production mode or not via code. What is the fastest way to achieve this?
0
votes
0answers
63 views

Magento2 - Vue StoreFront How to set production mode?

I have implemented the vue storefront theme using the Magento 2 Vue Storefront error can't start docker in background references. I have implemented the vue storefront Manually. How to set the ...
0
votes
0answers
38 views

how to Update the Live site without downtime in Magento2?

I Have a site developed in Magento2 and it was in live, for further i have few new modifications to the site developed in my development application , i want to move those changes in live without any ...
1
vote
1answer
31 views

Magento 2.2.5 Product details blank page while switching to Production mode

My magento site when setting to Prod mode displays blank Product detail page. The page is perfect in developer mode though. Screenshot: https://prnt.sc/qmt3db I ran the following while changing the ...
0
votes
0answers
10 views

Production Mode - What Happens When You Make A Product Change

So, we are running in production mode and when we make product changes the cpu load is really high for about 2 minutes. What exactly is happening when products are changed in production mode.
2
votes
2answers
52 views

Magento 2: Command returned non-zero exit code during submission on marketplace

I have submitted a module to the marketplace, I have tested it by all cases. I have switched to production mode but I am not getting any errors. However, I am getting a failure on submission with the ...
1
vote
0answers
37 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
0answers
27 views

Host venia theme on server but generated secure url not run on other devices

Generate ssl certificate for CUSTOM_ORIGIN_EXACT_DOMAIN=www.pwa.com using command yarn buildpack create-custom-origin packages/venia-concept. after excuting the yarn run build && yarn run ...
1
vote
1answer
40 views

js files are automatically deleted - adminhtml/web/js/components/use-parent-settings

In my M 2.2.6 I can not enter the Category section of dashboard, the spining is turn around. When I check the console, some of JS has 404 error In - adminhtml/web/js/components/use-parent-...
0
votes
1answer
27 views

Assigning different BASE_URL for developer mode only

I that possible? I want to do this to set up a configuration like this: https://mystore.mydomain.com/ for production (with Varnish cache) https://mystore.mydomain.com:5001/ for development (...
0
votes
3answers
411 views

Magento 2.3.2 Production mode not working

i have run production command but not working php bin/magento deploy:mode:set production when I run deploy command php bin/magento setup:static-content:deploy -f and Below type Error showing ...
1
vote
0answers
32 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 ...
2
votes
0answers
32 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:...
0
votes
1answer
86 views

Issue when setting mode from Developer to Production

My Magento 2 webshop (oplader.com) is having CSS/JS issues when setting the mode to production. It gives the following error in the console: The resource from “https://www.oplader.com/%3Clink%20href=...
0
votes
2answers
309 views

Set production mode magento 2.3

I want to switch to production mode but I can not find information about the exact commands that I have to use. I know that I must use this command: php bin/magento deploy:mode:set production But, ...
0
votes
2answers
129 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
2answers
134 views

deploy:mode:set production taking too much time

I did a php bin/magento deploy:mode:set production on magento 2 snappy 4000 vps, it's taking about 3h and still not done. Is it normal? 4 GB RAM 2 Cores CPU 165 GB Disk Space 2 TB Bandwidth Aren't ...
0
votes
0answers
83 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
2answers
284 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 ...
3
votes
0answers
139 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 ...
0
votes
1answer
51 views

Magento2 production mode error magento2.1

I got below error on my category pages and product pages after setting minify html to yes: Parse error: syntax error, unexpected ‘<‘, expecting end of file” magento2 production mode What should ...
1
vote
1answer
395 views

Magento 2 - Command returned non-zero exit code: when try to change to production mode

when i run php bin/magento deploy:mode:set production or php -d memory_limit=768M bin/magento deploy:mode:set production I received the following error, how can i fix it? Config "dev/debug/...
1
vote
0answers
21 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 ...
5
votes
2answers
730 views

Magento 2 Editing phtml files in Production Mode

I have a Magento 2 store in "production mode" My question is, If I want to change a phtml file, do I need to change to developer mode or is it enough to execute setup:static-content:deploy -f?
0
votes
0answers
66 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
1answer
114 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
0answers
171 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
1answer
231 views

Cannot set Magento2 to Production Mode

I tried to put my website into Production mode. For this, I used the following command on SSH but it get stuck. php bin/magento deploy:mode:set production Please refer to the following screenshot.
0
votes
2answers
148 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 ...
1
vote
0answers
68 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 ...
0
votes
0answers
98 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
1answer
105 views

Errors just switching between dev and prod mode

Magento CE 2.2.6 PHP 7.1.24 in production mode, frontend was working with just few bugs but i have a spam of [2018-11-27 10:02:57] main.CRITICAL: The element 'header-wrapper' already has a child with ...
0
votes
2answers
115 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
1answer
41 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 ...
2
votes
1answer
383 views

Magento 2: publish changes from development env to production

I have two environments for my store developed in Magento CE 2.2.5, one is for development use (where I run the store in developer mode), the other is the production environment (where the I use the ...
1
vote
1answer
67 views

Magento 2.2.5 : Runtime Exception during setup:di:compile

The issue started when I was attempting to enter production mode with php bin/magento deploy:mode:set production Upon researching the issue, I attempted to see if the error gave more information ...
0
votes
2answers
537 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://...
1
vote
1answer
91 views

What are the correct file permission settings for magento 2.2 on a single-user production environment?

I am setting up a Magento 2.2.5 instance on a production environment (single-user / shared hosting). When it comes to file permissions, I found two documentation pages: https://devdocs.magento.com/...
0
votes
0answers
68 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?
2
votes
3answers
753 views

Magento 2.1 not loading some js and css in production mode

I am working on mageno 2.1.10 and I have tried setting mod to production from development by using the following solutions: solution 1. php bin/magento deploy:mod:set production And it gave me the ...
2
votes
0answers
146 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 ...
1
vote
0answers
25 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 ...
0
votes
1answer
249 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/...
3
votes
1answer
3k views

Magento 2: js-translation.json 404 (Not Found) on production mode

After switching to the production mode, an error appeared in the console : pub/static/adminhtml/Magento/backend/en_US/js-translation.json 404 (Not Found) pub/static/adminhtml/Magento/backend/en_US/js-...