magento 2: get verbose output from indexerindexer from shell not workingMagento 2 Indexer Allowed memory size of xxxx bytes exhoustedMagento 2.0 with upgraded to php 7.0 Indexer Stuck at processingMagento 2 module not registering and causing CLI to failUninstalling a moduleFatal error after upgrade from 2.1.8 to 2.2.0Rogue “enterprise_refresh_index” causing excessive Merchandising failuresReflectionException: Class does not existCatalog Search indexer process unknown errorMagento 2 - InstallData script doesn´t add column to my 'customer_entitiy'

Email address etiquette - Which address should I use to contact professors?

What ability do tools use?

Can the ground attached to neutral fool a receptacle tester?

What is the status of the F-1B engine development?

What gave Harry Potter the idea of writing in Tom Riddle's diary?

These were just lying around

Why are Gatwick's runways too close together?

80's/90's superhero cartoon with a man on fire and a man who made ice runways like Frozone

How far did Gandalf and the Balrog drop from the bridge in Moria?

PhD advisor lost funding, need advice

Does the Fireball spell damage objects?

How to reduce Sinas Chinam

Is God unknowable?

Does fossil fuels use since 1990 account for half of all the fossil fuels used in history?

A continuous water "planet" ring around a star

Boss wants me to ignore a software license

Why command hierarchy, if the chain of command is standing next to each other?

Redis Cache Shared Session Configuration

On the Rømer experiments and the speed of light

Are differences between uniformly distributed numbers uniformly distributed?

Generate Brainfuck for the numbers 1–255

Is this n-speak?

If a digital camera can be "hacked" in the ransomware sense, how best to protect it?

Why are Tucker and Malcolm not dead?



magento 2: get verbose output from indexer


indexer from shell not workingMagento 2 Indexer Allowed memory size of xxxx bytes exhoustedMagento 2.0 with upgraded to php 7.0 Indexer Stuck at processingMagento 2 module not registering and causing CLI to failUninstalling a moduleFatal error after upgrade from 2.1.8 to 2.2.0Rogue “enterprise_refresh_index” causing excessive Merchandising failuresReflectionException: Class does not existCatalog Search indexer process unknown errorMagento 2 - InstallData script doesn´t add column to my 'customer_entitiy'






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am having an issue with the customer_grid indexer
php bin/magento index:reindex customer_grid



After running this command, the cli will wait indefinitely for the process to finish. I use update indexer_state set status='invalid' where status ='working' to reset the customer_grid index but then same thing happens after running the command again.



Is there a way to have a more verbose output or debug log for this command that I can refer to figure out what is causing the indexer to fail.










share|improve this question
























  • Please run query in order SET SQL_SAFE_UPDATES = 0; , update indexer_state set status = 'invalid' where status != 'valid';, php bin/magento indexer:reindex customer_grid

    – Ankit Shah
    Dec 6 '16 at 2:01











  • Applied the change, but did not solve the issue. Do we know what files manage the customer_grid index?

    – Xenocide8998
    Dec 6 '16 at 17:20











  • See what error you have in var/log/exceptions.lo.g Something fails in customer grid and it must be a SQL query. If you have many customers than maybe you need to increase ini_set('memory_limit', '4096M'). You can add it in app/bootstrap.php (which is included by both index.php and bin/magento), directly in bin/magento or in a server configuration.

    – obscure
    Dec 6 '16 at 20:05











  • I ended up running the indexer as a background task php bin/magento index:reindex customer_grid & and ran app like top to prevent ssh timeout. It took ~45min but the indexer completed. It would be nice if the indexer had an output like static-content that prevented ssh from timing out.

    – Xenocide8998
    Jan 9 '17 at 21:11


















2















I am having an issue with the customer_grid indexer
php bin/magento index:reindex customer_grid



After running this command, the cli will wait indefinitely for the process to finish. I use update indexer_state set status='invalid' where status ='working' to reset the customer_grid index but then same thing happens after running the command again.



Is there a way to have a more verbose output or debug log for this command that I can refer to figure out what is causing the indexer to fail.










share|improve this question
























  • Please run query in order SET SQL_SAFE_UPDATES = 0; , update indexer_state set status = 'invalid' where status != 'valid';, php bin/magento indexer:reindex customer_grid

    – Ankit Shah
    Dec 6 '16 at 2:01











  • Applied the change, but did not solve the issue. Do we know what files manage the customer_grid index?

    – Xenocide8998
    Dec 6 '16 at 17:20











  • See what error you have in var/log/exceptions.lo.g Something fails in customer grid and it must be a SQL query. If you have many customers than maybe you need to increase ini_set('memory_limit', '4096M'). You can add it in app/bootstrap.php (which is included by both index.php and bin/magento), directly in bin/magento or in a server configuration.

    – obscure
    Dec 6 '16 at 20:05











  • I ended up running the indexer as a background task php bin/magento index:reindex customer_grid & and ran app like top to prevent ssh timeout. It took ~45min but the indexer completed. It would be nice if the indexer had an output like static-content that prevented ssh from timing out.

    – Xenocide8998
    Jan 9 '17 at 21:11














2












2








2








I am having an issue with the customer_grid indexer
php bin/magento index:reindex customer_grid



After running this command, the cli will wait indefinitely for the process to finish. I use update indexer_state set status='invalid' where status ='working' to reset the customer_grid index but then same thing happens after running the command again.



Is there a way to have a more verbose output or debug log for this command that I can refer to figure out what is causing the indexer to fail.










share|improve this question














I am having an issue with the customer_grid indexer
php bin/magento index:reindex customer_grid



After running this command, the cli will wait indefinitely for the process to finish. I use update indexer_state set status='invalid' where status ='working' to reset the customer_grid index but then same thing happens after running the command again.



Is there a way to have a more verbose output or debug log for this command that I can refer to figure out what is causing the indexer to fail.







magento2 indexing customer-grid






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 5 '16 at 21:58









Xenocide8998Xenocide8998

1,0241 gold badge9 silver badges25 bronze badges




1,0241 gold badge9 silver badges25 bronze badges















  • Please run query in order SET SQL_SAFE_UPDATES = 0; , update indexer_state set status = 'invalid' where status != 'valid';, php bin/magento indexer:reindex customer_grid

    – Ankit Shah
    Dec 6 '16 at 2:01











  • Applied the change, but did not solve the issue. Do we know what files manage the customer_grid index?

    – Xenocide8998
    Dec 6 '16 at 17:20











  • See what error you have in var/log/exceptions.lo.g Something fails in customer grid and it must be a SQL query. If you have many customers than maybe you need to increase ini_set('memory_limit', '4096M'). You can add it in app/bootstrap.php (which is included by both index.php and bin/magento), directly in bin/magento or in a server configuration.

    – obscure
    Dec 6 '16 at 20:05











  • I ended up running the indexer as a background task php bin/magento index:reindex customer_grid & and ran app like top to prevent ssh timeout. It took ~45min but the indexer completed. It would be nice if the indexer had an output like static-content that prevented ssh from timing out.

    – Xenocide8998
    Jan 9 '17 at 21:11


















  • Please run query in order SET SQL_SAFE_UPDATES = 0; , update indexer_state set status = 'invalid' where status != 'valid';, php bin/magento indexer:reindex customer_grid

    – Ankit Shah
    Dec 6 '16 at 2:01











  • Applied the change, but did not solve the issue. Do we know what files manage the customer_grid index?

    – Xenocide8998
    Dec 6 '16 at 17:20











  • See what error you have in var/log/exceptions.lo.g Something fails in customer grid and it must be a SQL query. If you have many customers than maybe you need to increase ini_set('memory_limit', '4096M'). You can add it in app/bootstrap.php (which is included by both index.php and bin/magento), directly in bin/magento or in a server configuration.

    – obscure
    Dec 6 '16 at 20:05











  • I ended up running the indexer as a background task php bin/magento index:reindex customer_grid & and ran app like top to prevent ssh timeout. It took ~45min but the indexer completed. It would be nice if the indexer had an output like static-content that prevented ssh from timing out.

    – Xenocide8998
    Jan 9 '17 at 21:11

















Please run query in order SET SQL_SAFE_UPDATES = 0; , update indexer_state set status = 'invalid' where status != 'valid';, php bin/magento indexer:reindex customer_grid

– Ankit Shah
Dec 6 '16 at 2:01





Please run query in order SET SQL_SAFE_UPDATES = 0; , update indexer_state set status = 'invalid' where status != 'valid';, php bin/magento indexer:reindex customer_grid

– Ankit Shah
Dec 6 '16 at 2:01













Applied the change, but did not solve the issue. Do we know what files manage the customer_grid index?

– Xenocide8998
Dec 6 '16 at 17:20





Applied the change, but did not solve the issue. Do we know what files manage the customer_grid index?

– Xenocide8998
Dec 6 '16 at 17:20













See what error you have in var/log/exceptions.lo.g Something fails in customer grid and it must be a SQL query. If you have many customers than maybe you need to increase ini_set('memory_limit', '4096M'). You can add it in app/bootstrap.php (which is included by both index.php and bin/magento), directly in bin/magento or in a server configuration.

– obscure
Dec 6 '16 at 20:05





See what error you have in var/log/exceptions.lo.g Something fails in customer grid and it must be a SQL query. If you have many customers than maybe you need to increase ini_set('memory_limit', '4096M'). You can add it in app/bootstrap.php (which is included by both index.php and bin/magento), directly in bin/magento or in a server configuration.

– obscure
Dec 6 '16 at 20:05













I ended up running the indexer as a background task php bin/magento index:reindex customer_grid & and ran app like top to prevent ssh timeout. It took ~45min but the indexer completed. It would be nice if the indexer had an output like static-content that prevented ssh from timing out.

– Xenocide8998
Jan 9 '17 at 21:11






I ended up running the indexer as a background task php bin/magento index:reindex customer_grid & and ran app like top to prevent ssh timeout. It took ~45min but the indexer completed. It would be nice if the indexer had an output like static-content that prevented ssh from timing out.

– Xenocide8998
Jan 9 '17 at 21:11











1 Answer
1






active

oldest

votes


















0














Use verbose option of magento command php bin/magento index:reindex -vv customer_grid






share|improve this answer

























  • -v -vv -vvv does not output anything for the customer_grid

    – Xenocide8998
    Dec 21 '16 at 1:39














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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f148939%2fmagento-2-get-verbose-output-from-indexer%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









0














Use verbose option of magento command php bin/magento index:reindex -vv customer_grid






share|improve this answer

























  • -v -vv -vvv does not output anything for the customer_grid

    – Xenocide8998
    Dec 21 '16 at 1:39
















0














Use verbose option of magento command php bin/magento index:reindex -vv customer_grid






share|improve this answer

























  • -v -vv -vvv does not output anything for the customer_grid

    – Xenocide8998
    Dec 21 '16 at 1:39














0












0








0







Use verbose option of magento command php bin/magento index:reindex -vv customer_grid






share|improve this answer













Use verbose option of magento command php bin/magento index:reindex -vv customer_grid







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 6 '16 at 19:53









KAndyKAndy

16.7k2 gold badges36 silver badges47 bronze badges




16.7k2 gold badges36 silver badges47 bronze badges















  • -v -vv -vvv does not output anything for the customer_grid

    – Xenocide8998
    Dec 21 '16 at 1:39


















  • -v -vv -vvv does not output anything for the customer_grid

    – Xenocide8998
    Dec 21 '16 at 1:39

















-v -vv -vvv does not output anything for the customer_grid

– Xenocide8998
Dec 21 '16 at 1:39






-v -vv -vvv does not output anything for the customer_grid

– Xenocide8998
Dec 21 '16 at 1:39


















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f148939%2fmagento-2-get-verbose-output-from-indexer%23new-answer', 'question_page');

);

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







Popular posts from this blog

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?