Deployment script taking too longmy table is not installing in Magento 2magento2 in production mode Nwdthemes Revslider not workingCannot install module in Magento 2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Magento2- Custom attribute customer not show in adminMagento 2.1.3: Overriding of vendor layout file with my custom layout file in Magento 2.1.3 is not working?Magento 2: Magento UI is not working properly. After deleting all productsMagento 2 - Really Bad Performance in DockerWhen using Magento 2 the admin panel buttons are un-responsive
Find a point shared by maximum segments
Air travel with refrigerated insulin
Writing in a Christian voice
How would a solely written language work mechanically
Offset in split text content
Magnifying glass in hyperbolic space
Why doesn't Gödel's incompleteness theorem apply to false statements?
How do you say "Trust your struggle." in French?
is this saw blade faulty?
What is this high flying aircraft over Pennsylvania?
Friend wants my recommendation but I don't want to give it to him
Mortal danger in mid-grade literature
Why is participating in the European Parliamentary elections used as a threat?
Why is indicated airspeed rather than ground speed used during the takeoff roll?
Why is "la Gestapo" feminine?
What (if any) is the reason to buy in small local stores?
Asserting that Atheism and Theism are both faith based positions
Why would five hundred and five same as one?
If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?
Can you take a "free object interaction" while incapacitated?
New Order #2: Turn My Way
Weird lines in Microsoft Word
Connection Between Knot Theory and Number Theory
How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?
Deployment script taking too long
my table is not installing in Magento 2magento2 in production mode Nwdthemes Revslider not workingCannot install module in Magento 2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Magento2- Custom attribute customer not show in adminMagento 2.1.3: Overriding of vendor layout file with my custom layout file in Magento 2.1.3 is not working?Magento 2: Magento UI is not working properly. After deleting all productsMagento 2 - Really Bad Performance in DockerWhen using Magento 2 the admin panel buttons are un-responsive
When I am creating new module I ran following commands for full deployment:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
But it took so much time, 30 minutes approx
How can I make it more faster?
magento2 static-content-deploy slow-response
|
show 1 more comment
When I am creating new module I ran following commands for full deployment:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
But it took so much time, 30 minutes approx
How can I make it more faster?
magento2 static-content-deploy slow-response
what is your server configuration and magento version?
– Amit Bera♦
Feb 9 at 16:42
Magento 2.2.7, I am using xamp, its on local environment
– Atif Ameer
Feb 9 at 16:44
On which mode you are working right now? Please check and do let me knowmagento deploy:mode:show
– Shoaib Munir
Feb 10 at 13:04
its on default mode
– Atif Ameer
Feb 10 at 16:08
Did you resolve your issue?
– Shoaib Munir
Feb 11 at 12:48
|
show 1 more comment
When I am creating new module I ran following commands for full deployment:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
But it took so much time, 30 minutes approx
How can I make it more faster?
magento2 static-content-deploy slow-response
When I am creating new module I ran following commands for full deployment:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
But it took so much time, 30 minutes approx
How can I make it more faster?
magento2 static-content-deploy slow-response
magento2 static-content-deploy slow-response
edited 17 hours ago
Shoaib Munir
2,1301828
2,1301828
asked Feb 9 at 16:39
Atif AmeerAtif Ameer
7311
7311
what is your server configuration and magento version?
– Amit Bera♦
Feb 9 at 16:42
Magento 2.2.7, I am using xamp, its on local environment
– Atif Ameer
Feb 9 at 16:44
On which mode you are working right now? Please check and do let me knowmagento deploy:mode:show
– Shoaib Munir
Feb 10 at 13:04
its on default mode
– Atif Ameer
Feb 10 at 16:08
Did you resolve your issue?
– Shoaib Munir
Feb 11 at 12:48
|
show 1 more comment
what is your server configuration and magento version?
– Amit Bera♦
Feb 9 at 16:42
Magento 2.2.7, I am using xamp, its on local environment
– Atif Ameer
Feb 9 at 16:44
On which mode you are working right now? Please check and do let me knowmagento deploy:mode:show
– Shoaib Munir
Feb 10 at 13:04
its on default mode
– Atif Ameer
Feb 10 at 16:08
Did you resolve your issue?
– Shoaib Munir
Feb 11 at 12:48
what is your server configuration and magento version?
– Amit Bera♦
Feb 9 at 16:42
what is your server configuration and magento version?
– Amit Bera♦
Feb 9 at 16:42
Magento 2.2.7, I am using xamp, its on local environment
– Atif Ameer
Feb 9 at 16:44
Magento 2.2.7, I am using xamp, its on local environment
– Atif Ameer
Feb 9 at 16:44
On which mode you are working right now? Please check and do let me know
magento deploy:mode:show– Shoaib Munir
Feb 10 at 13:04
On which mode you are working right now? Please check and do let me know
magento deploy:mode:show– Shoaib Munir
Feb 10 at 13:04
its on default mode
– Atif Ameer
Feb 10 at 16:08
its on default mode
– Atif Ameer
Feb 10 at 16:08
Did you resolve your issue?
– Shoaib Munir
Feb 11 at 12:48
Did you resolve your issue?
– Shoaib Munir
Feb 11 at 12:48
|
show 1 more comment
1 Answer
1
active
oldest
votes
The most time taken process in your listed commands are:
- Upgrade:
php bin/magento setup:upgrade - Di Compile:
php bin/magento setup:di:compile
By doing 2 basic tasks you will speedup your these commands.
First: Change mode to production (if it is default or development)
php bin/magento deploy:mode:set production --skip-compilation
Note: If your project is at development phase, then you need development mode for error reporting and other stuff
Second: integrate Eleanorsoft module in your project.
Download Eleanorsoft
- Copy Eleanorsoft folder to
app/code/. - Run
setup:upgrade. - Run
setup:di:compile. - After compilation, you should see a folder
var/di_cache/with 4 (or more) files. This is the actual cache. From now your compilation process will use these cached lists instead of scanning the whole filesystem.
I personally integrated this module just now and noticed, di compile tool 19 mins at first, but after integrating this module it completed in just 8 mins
Reference of eleanorsoft: https://www.eleanorsoft.com/speed-up-magento-2-di-compilation-setupdicompile/
Thanks for the detailed answer, I will try this solution. Will let you know if it worked for me
– Atif Ameer
Feb 10 at 16:13
It worked. Much optimized now
– Atif Ameer
Feb 11 at 14:44
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f261105%2fdeployment-script-taking-too-long%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The most time taken process in your listed commands are:
- Upgrade:
php bin/magento setup:upgrade - Di Compile:
php bin/magento setup:di:compile
By doing 2 basic tasks you will speedup your these commands.
First: Change mode to production (if it is default or development)
php bin/magento deploy:mode:set production --skip-compilation
Note: If your project is at development phase, then you need development mode for error reporting and other stuff
Second: integrate Eleanorsoft module in your project.
Download Eleanorsoft
- Copy Eleanorsoft folder to
app/code/. - Run
setup:upgrade. - Run
setup:di:compile. - After compilation, you should see a folder
var/di_cache/with 4 (or more) files. This is the actual cache. From now your compilation process will use these cached lists instead of scanning the whole filesystem.
I personally integrated this module just now and noticed, di compile tool 19 mins at first, but after integrating this module it completed in just 8 mins
Reference of eleanorsoft: https://www.eleanorsoft.com/speed-up-magento-2-di-compilation-setupdicompile/
Thanks for the detailed answer, I will try this solution. Will let you know if it worked for me
– Atif Ameer
Feb 10 at 16:13
It worked. Much optimized now
– Atif Ameer
Feb 11 at 14:44
add a comment |
The most time taken process in your listed commands are:
- Upgrade:
php bin/magento setup:upgrade - Di Compile:
php bin/magento setup:di:compile
By doing 2 basic tasks you will speedup your these commands.
First: Change mode to production (if it is default or development)
php bin/magento deploy:mode:set production --skip-compilation
Note: If your project is at development phase, then you need development mode for error reporting and other stuff
Second: integrate Eleanorsoft module in your project.
Download Eleanorsoft
- Copy Eleanorsoft folder to
app/code/. - Run
setup:upgrade. - Run
setup:di:compile. - After compilation, you should see a folder
var/di_cache/with 4 (or more) files. This is the actual cache. From now your compilation process will use these cached lists instead of scanning the whole filesystem.
I personally integrated this module just now and noticed, di compile tool 19 mins at first, but after integrating this module it completed in just 8 mins
Reference of eleanorsoft: https://www.eleanorsoft.com/speed-up-magento-2-di-compilation-setupdicompile/
Thanks for the detailed answer, I will try this solution. Will let you know if it worked for me
– Atif Ameer
Feb 10 at 16:13
It worked. Much optimized now
– Atif Ameer
Feb 11 at 14:44
add a comment |
The most time taken process in your listed commands are:
- Upgrade:
php bin/magento setup:upgrade - Di Compile:
php bin/magento setup:di:compile
By doing 2 basic tasks you will speedup your these commands.
First: Change mode to production (if it is default or development)
php bin/magento deploy:mode:set production --skip-compilation
Note: If your project is at development phase, then you need development mode for error reporting and other stuff
Second: integrate Eleanorsoft module in your project.
Download Eleanorsoft
- Copy Eleanorsoft folder to
app/code/. - Run
setup:upgrade. - Run
setup:di:compile. - After compilation, you should see a folder
var/di_cache/with 4 (or more) files. This is the actual cache. From now your compilation process will use these cached lists instead of scanning the whole filesystem.
I personally integrated this module just now and noticed, di compile tool 19 mins at first, but after integrating this module it completed in just 8 mins
Reference of eleanorsoft: https://www.eleanorsoft.com/speed-up-magento-2-di-compilation-setupdicompile/
The most time taken process in your listed commands are:
- Upgrade:
php bin/magento setup:upgrade - Di Compile:
php bin/magento setup:di:compile
By doing 2 basic tasks you will speedup your these commands.
First: Change mode to production (if it is default or development)
php bin/magento deploy:mode:set production --skip-compilation
Note: If your project is at development phase, then you need development mode for error reporting and other stuff
Second: integrate Eleanorsoft module in your project.
Download Eleanorsoft
- Copy Eleanorsoft folder to
app/code/. - Run
setup:upgrade. - Run
setup:di:compile. - After compilation, you should see a folder
var/di_cache/with 4 (or more) files. This is the actual cache. From now your compilation process will use these cached lists instead of scanning the whole filesystem.
I personally integrated this module just now and noticed, di compile tool 19 mins at first, but after integrating this module it completed in just 8 mins
Reference of eleanorsoft: https://www.eleanorsoft.com/speed-up-magento-2-di-compilation-setupdicompile/
answered Feb 10 at 16:12
Shoaib MunirShoaib Munir
2,1301828
2,1301828
Thanks for the detailed answer, I will try this solution. Will let you know if it worked for me
– Atif Ameer
Feb 10 at 16:13
It worked. Much optimized now
– Atif Ameer
Feb 11 at 14:44
add a comment |
Thanks for the detailed answer, I will try this solution. Will let you know if it worked for me
– Atif Ameer
Feb 10 at 16:13
It worked. Much optimized now
– Atif Ameer
Feb 11 at 14:44
Thanks for the detailed answer, I will try this solution. Will let you know if it worked for me
– Atif Ameer
Feb 10 at 16:13
Thanks for the detailed answer, I will try this solution. Will let you know if it worked for me
– Atif Ameer
Feb 10 at 16:13
It worked. Much optimized now
– Atif Ameer
Feb 11 at 14:44
It worked. Much optimized now
– Atif Ameer
Feb 11 at 14:44
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f261105%2fdeployment-script-taking-too-long%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
what is your server configuration and magento version?
– Amit Bera♦
Feb 9 at 16:42
Magento 2.2.7, I am using xamp, its on local environment
– Atif Ameer
Feb 9 at 16:44
On which mode you are working right now? Please check and do let me know
magento deploy:mode:show– Shoaib Munir
Feb 10 at 13:04
its on default mode
– Atif Ameer
Feb 10 at 16:08
Did you resolve your issue?
– Shoaib Munir
Feb 11 at 12:48