Questions tagged [indexer]

Denotes questions related to the magento's indexer process.

62 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
2answers
1k views

enterprise_refresh_index Sleeping MySQL Connection

There are times that the indexer that is ran by cron seems to get stuck at the MySQL as Sleeping connections can be seen. Indexer runs for several hours and this actually not running at all. I've ...
7
votes
2answers
2k views

Custom indexer on Magento2

I'm trying to create a custom indexer on Magento2. I defined a mview.xml and one indexer.xml as follows: indexer.xml: <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www....
4
votes
2answers
990 views

Reindex stuck at processing even after resetting in Magento 2

My indexer:reindex process for Design config grid, Customer Grid, and Catalog Search always stuck at processing: i already reset the indexer, but when i run indexer:reindex again, it stucks at ...
4
votes
0answers
486 views

Magento 2.2.5 - Categories are not getting saved in the database

In my Magento 2.2.5 Store, When I try to edit the existing categories content and press the save button, the categories content stays the same, there is no change being reflected in the admin panel,...
3
votes
1answer
51 views

Custom Enumerated Product Attribute Doesn't Get Indexed

I want to create a product attribute where the values are enumerated string codes like "value_1", "value_2", "value_2" so that I can match them cleanly without having to rely on an ID or a user facing ...
2
votes
0answers
78 views

How do i decide a value for MAGE_INDEXER_THREADS_COUNT?

Can anyone suggest to me how to decide a value for MAGE_INDEXER_THREADS_COUNT? I am managing a website that has 5 websites, 10 stores, 6 customer groups. I know adding this environment variable can ...
2
votes
0answers
134 views

Magento2 - Indexing / Full page cache problems

We are having long-term problems with indexer and cache settings. After reading great guide by @johnhughes1984 about caching and indexing we thought that everything will be alright with settings ...
2
votes
0answers
143 views

Magento Indexer Bug in 1.9.4.0

currently i have a bug(?) in Magento CE1.9.4.0 - where i just upgraded from 1.9.3.4. My problem is that the indexer is not able to lock files. I created a simple php file to reproduce the error: ...
2
votes
0answers
325 views

Magento 2 mview_state mode disabled?

When I check indexer status with php bin/magento indexer:status, I got following result, +--------------------------------------+--------+-----------+-----------------+------------------+ | Title ...
2
votes
2answers
858 views

Catalog Search reindex not completing

I have imported ~17k products, and when reindexing the catalogsearch_fulltext index does not complete. I have tried resetting and reindexing with php bin/magento indexer:reset catalogsearch_fulltext ...
2
votes
1answer
346 views

magento2 bin/magento indexer:reindex this command delete the data from catalog_product_index_price

I am uploading products via xls and this is working fine.I am uploading bundle/simple products After that when all process complete. then I run bin/magento indexer:reindex by script for reindexing. ...
2
votes
0answers
77 views

Prices Index Exception and Currency Multiplied by 10.000 in Adminhtml

I had no problems with the price index of the site, it was always possible reindexes it normally. But now whenever I try to reindex prices, I got this exception: 2015-12-05T18:49:17+00:00 DEBUG (7): ...
2
votes
0answers
100 views

Flag a product to be updated in next scheduled run. Change index status manually

We have some scripts which updates few product attributes directly, I want to set the product to be picked up in the next schedular cron and push it in to solr. Currently the only possible way seems ...
2
votes
0answers
787 views

Product Prices index process unknown error

I am trying to run the indexer for product prices but it keeps erroring out (See Below). My catalog has approx 25,000 simple products and no attributes assigned to them. There are custom attributes ...
2
votes
0answers
2k views

Index Management - Catalog Category Flat Data - Stuck on processing

The Catalog Category Flat Data has been now stuck for weeks and i can't seem to fix it. I tried to change the corresponding table in the database: TRUNCAT catalog_product_flat_1, ...
1
vote
0answers
25 views

Cron 'catalogrule_apply_all' locks cron 'indexer_all_invalid' and catalogsearch_fulltext keeps processing Magento 2.3.5

Took me quite some time to debug this. Every night (default) at 0:00 catalogrule_apply_all is run by cron, and resets all indexes for all store. As a consequence catalogserach_fulltext is launched (...
1
vote
1answer
315 views

Magento 2 how to use elasticsearch for custom indexer? Custom sort stops working after enabling elasticsearch

I am a magento newbie and trying to implementing a custom sort on product listing page with the help of this: https://magento.stackexchange.com/a/230983/84727 On top of the solution i have built a ...
1
vote
1answer
49 views

Magento 2 - indexer error after data migration magento 1.9.1.1 to 2.3.2

I'm trying to migrate data to magento 2 using the data migration tool, the migration goes fine but the indexor crash during catalog_product_price index with the error : SQLSTATE[42000]: Syntax ...
1
vote
0answers
63 views

How to call Magento2 mview reindexer programmatically

I have line of code which schedule full or partial reindex cron job. using Trigger::REINDEX_SCOPE_PARTIAL and Trigger::REINDEX_SCOPE_FULL parameter. public function restoreIndexers($reindex = false, ...
1
vote
0answers
187 views

Magento 2.2 any issue will arise if we truncate import export history?

If I truncate import_history table from database in Magento 2.2 version. But thing is that some of the values in execution_time column it's showing as In Progress which seems to that product import ...
1
vote
0answers
358 views

Magento 2 custom indexer - How to execute related indexers

i have a custom módule with his own indexer. I need that when i execute it (indexer:reindex custom_index), some indexes runs after. There is an example with the "catalogrule_rule" indexer. bin/...
1
vote
1answer
590 views

Catalog Search indexer process unknown error: SQLSTATE[HY000]: General error: 1813

**Catalog** **Search indexer** process unknown error: SQLSTATE[HY000]: General error: 1813 Tablespace for table '`mydb`.`catalogsearch_fulltext_scope1_tmp`' exists. Please DISCARD the tablespace ...
1
vote
1answer
150 views

Magento 2 index management system error message

I installed magento 2.1.9 on my shared hosting account. A system error message appears within the admin panel that states: "One or more indexers are invalid. Make sure your Magento cron job is running....
1
vote
1answer
3k views

Magento 2 Reindex failed on customer grid

Magento 2 (Version 2.1.6) shows allways 2 or 3 Indexes with the processing state - and it never ends. It stays for days under processing. After a php bin/magento indexer:reset all the indexes are out ...
1
vote
0answers
21 views

Magento1 change-logs cleanup

I've end up having the following query: SELECT entity_id, count(version_id) as number_of_versions, max(version_id) as max_version FROM catalog_product_flat_cl GROUP BY entity_id ORDER BY ...
1
vote
1answer
888 views

Unable to set up cron job on GoDaddy hosting

I am trying to set up my indexer using GoDaddy hosting with cPanel. The indexer is not refreshed and asks me to check that the cron job is running. How do I set up the cron job?
1
vote
0answers
78 views

Undefined property: Mage_Shell_Compiler::$_factory in indexer.php

Since SUPEE on Magento 1.9.0.1 we see the following error: Notice: Undefined property: Mage_Shell_Compiler::$_factory in /shell/indexer.php on line 45 Question: Did someone come across this error ...
1
vote
2answers
1k views

Couldn't reindex stock of one item programmatically

I'm trying to reindex one product only programmatically: $product = Mage::getModel('catalog/product')->load($_productId); $product->setForceReindexRequired(true); Mage::getSingleton('index/...
1
vote
1answer
56 views

How can I require reindexing in magento backend

I made a custom module and I want the user to be prompted to reindex a certain index table. How can I show this prompt progmatically?
1
vote
0answers
2k views

Fix error “There was a problem with reindexing process.” or “Cannot initialize the indexer process.”

I am having an issue reindexing my content in Magento. Both Product Flat Data and Product Category Data need to be re-indexed and it won't index for me. I have tried deleting all content in /var/...
0
votes
2answers
108 views

How to Solve: “Could not acquire lock for cron job: X” in Magento var/log/cron.log

With my M2 instance indexers in "Update on Schedule" mode... var/log/cron.log receives this warning near constantly: Could not acquire lock for cron job: indexer_update_all_views [] [] The cron ...
0
votes
0answers
18 views

What indexer_update_all_views cron job doing?

What is the difference between indexer_update_all_views cron job and executing php bin/magento indexer:reindex by myself? I dont't know why the indexer_update_all_views cron job give me this error: ...
0
votes
0answers
19 views

Catalog Product Price indexing issue

I am trying to run the catalog product price indexer which is failing with this error. Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '725074-0-...
0
votes
0answers
5 views

How to monitor something(e.go customer points) by using a custom indexer

I've created a custom module (magento 2 commerce version) which is going to index all customer points into a custom flat table, but i don't know to implement the the followings: 1) when customer's ...
0
votes
1answer
12 views

Indexer catalogrule_rule is set to invalid and causes the cache to be flushed a lot

I'm having a slowness issue on my client cloud instance. Indexer catalogrule_rule is set to invalid and flush the caches a lot so the site is always slow even when we have the Miravit cache warmer ...
0
votes
0answers
11 views

Indexer with custom cron_group

We have created a new custom indexer as per requirement. And now we need to schedule that indexer with custom cron_group which can be scheduled according to business. We don't want to schedule with ...
0
votes
0answers
22 views

How to relate an entity type to an entity_id within an indexer's mview changelog?

I am trying to contribute to some performance enhancements on the indexing of my website. I'm having an issue knowing which entity types are being referred to in the changelog (*_cl) tables. As a ...
0
votes
0answers
10 views

Update on Schedule execute indexer multiple time

I have created a custom indexer in my project and configured it to work on 'Update on Schedule'. It is working fine but I have observed, it is executed multiple times even if there is no change in the ...
0
votes
1answer
37 views

Magento 2.3 reindex design_config_grid stucks on processing

design_config_grid and customer_grid stuck on processing when I use bin/magento indexer:reindex. Even after bin/magento indexer:reset and changing status to Invalid, when I reindex again, they stuck ...
0
votes
2answers
50 views

Magento 2 Which Index should set “Index By Schedule” or “Update On Save” for performance purpose?

I have a site with Magento 2.3.3 version with over 10000 catalog products. For performance purposes which Indexer should set "Update on Save" or "Update On Schedule". Thank You.
0
votes
0answers
148 views

Magento 2.3.3 - scconnector_google_remove_cl and scconnector_google_feed_cl error occur while indexing

I ran indexer:reindex command and got these errors Table status for scconnector_google_remove_cl is incorrect. Can`t fetch version id. And Table status for scconnector_google_feed_cl is incorrect. ...
0
votes
1answer
178 views

Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory .Magento 1.9 indexing error

I have installed Magento 1.9 but when I am trying to run indexer command I am getting following errors. PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /...
0
votes
0answers
29 views

Stop Magento Indexer while product Import running

My magento version is 2.3.2 We are using Firegento/FastSimpleImport 2 extension for product Import. It is working fine.We have around 9,000 Products and 8 country stores. Our process is we need to ...
0
votes
1answer
21 views

Magento2 Indexers constant problem

We sync our products a lot with 3rd parties to update pricing and stock. We also have people editing products daily. This will trigger indexers to run. The indexers can take 5 hours to run on ...
0
votes
1answer
27 views

Magento2: Reset specific indexer by cronjob

Sometimes the indexer catalog_product_category doesn't automatically run when assigning new products to a category, so products aren't displayed at the shop. I've to manually reset this indexer in the ...
0
votes
0answers
57 views

Catalog Inventory Stock Indexer not working

I have an issue with the cataloginventory_stock index. Base table or view already exists: 1050 Table '/cataloginventory_stock_status_outdated' already exists, query was: RENAME TABLE ...
0
votes
1answer
95 views

Found a potential bottle neck when reindexing prices in 2.3.2

I have a total of 7193 products in the catalog. 6704 simple and 489 configurable. When reindexing, Magento iterates trough all price indexers and process them. I added some debug messages and found ...
0
votes
0answers
35 views

How to change indexer mode from “update on save ”to “update by schedule” from database or script Magento 2?

In Magento 2 admin panel I want to change indexer mode from update on save to update by schedule but I can not change it from the admin because it continues to loading nothing changes on any product ...
0
votes
0answers
63 views

magento 2 not reindexing two indexers - Catalog Product Rule and Product Categories

i try to Reindexing Using this command :bin/magento indexer:reindex It says it's updated all the indexers but when i return to index management in the admin these two indexers (Catalog Product Rule ...
0
votes
1answer
117 views

Magento 2 localhost wamp cron jobs

I'm still getting the error on my admin page "One or more indexers are invalid. Make sure your Magento cron job is running" All field indexes rebuild successfully apart from Catalog Search. I'm using ...