Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Constant Index Management Message in the Magento Admin
Avatar
Jimbob
UK
Member
January 17, 2014 - 5:18 pm
Member Since: November 15, 2013
Forum Posts: 453
sp_UserOfflineSmall Offline

Hi,

I am frequently (couple of times a day) getting messages in admin saying that I need to re-index store data such as;

  • Product Attributes
  • Product Prices
  • Category Products
  • Stock Status etc etc etc……………….
  • Is this normal?

    James

    Adventurist and online ecommerce retailer based in the UK. Trading since 2006.

    Avatar
    Matthew Ogborne

    Founder
    January 17, 2014 - 7:11 pm
    Member Since: July 18, 2013
    Forum Posts: 4565
    sp_UserOfflineSmall Offline

    Howdy James,

    Yes this is normal. I’ll keep this as high level as I can to explain.

    Basically you are running two systems, the admin panel and the front of the website (the bit the customers see).

    Magento uses “indexes” to make the part that the customers see run fast (the website part, not the eBay or Amazon part).

    As you’re moving around the admin area, adding products making changes, those “indexes” become out of date. Think of this is as you moving the pages of a book around, sticking in an extra page here and removing a page there.

    So Magento will add a message at the top saying that someone’s being tinkering with the pages and you might want to think about a reindex to get them all back in order.

    You can manually trigger a “reindex” by going to System > Index Management and reindexing one or more of the rows there.

    As your catalog of products gets bigger and bigger there will become a time where you won’t be able to do that anymore manually. Don’t worry there is a way to do this on the server using a cron job (a scheduled task), it’s dead easy to setup, we’ll include it in one of the later guides and if you’re just using Magento for eBay & Amazon, basically ignore it.

    Does that help?

    Matt

    "Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

    Ultimo Magento Theme

    Chad Kidner
    Centerville, UT

    Excellent
    January 17, 2014 - 8:07 pm
    Member Since: January 2, 2014
    Forum Posts: 39
    sp_UserOfflineSmall Offline

    Hey Matt,

    Have you ever had it come up when reindexing to have an index status get stuck on “processing”?

    I have googled this and all I can come up with is this can happen when timeout is not set to a decent variable, mines at 256MB though so shouldn’t be the problem.

    Avatar
    Matthew Ogborne

    Founder
    January 17, 2014 - 8:49 pm
    Member Since: July 18, 2013
    Forum Posts: 4565
    sp_UserOfflineSmall Offline

    Hi Chad,

    Yes, you’ll need to run it from the commandline.

    This is documented elsewhere, see here for an example http://inchoo.net/ecommerce/ma…..rom-shell/

    Basically run

    php indexer.php — -reindexall 

    from the command line and it won’t timeout then.

    Or setting up a cron job

    php /path/to/you/magento/site/sehll/indexer.php — -reindexall

    Does that help?

    Matt

    "Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

    Ultimo Magento Theme

    Chad Kidner
    Centerville, UT

    Excellent
    January 18, 2014 - 3:42 am
    Member Since: January 2, 2014
    Forum Posts: 39
    sp_UserOfflineSmall Offline

    Yeah I think so, I will give that a shot. Thanks!

    Avatar
    Jimbob
    UK
    Member
    January 18, 2014 - 1:53 pm
    Member Since: November 15, 2013
    Forum Posts: 453
    sp_UserOfflineSmall Offline

    Thanks Matt.

    I will be interested to read the guide when it is ready so I can setup a cron job for it.

    Thanks

    Adventurist and online ecommerce retailer based in the UK. Trading since 2006.

    Avatar
    Matthew Ogborne

    Founder
    January 19, 2014 - 9:02 am
    Member Since: July 18, 2013
    Forum Posts: 4565
    sp_UserOfflineSmall Offline

    Hi James,

    Superb. It’ll be as easy as copy & paste :)

    Matt

    "Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

    Ultimo Magento Theme

     

    Why Should You Join UnderstandingE?

     
    • Access to over 500 step-by-step video tutorials
    • +20 video courses available
    • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
    • Everything is in 100% Plain English
    • Learn how to build your own multi-channel software for eBay & Amazon
    • Access to the community forums, meet fellow business owners like yourself

    Join Now with 2 Clicks

     

    Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

     

    Forum Timezone: Europe/London

    Most Users Ever Online: 1012

    Currently Online:
    19 Guest(s)

    Currently Browsing this Page:
    1 Guest(s)

    Top Posters:

    Jim @ Moogento: 688

    Steve Froggatt: 514

    Badeth - UE: 513

    Jimbob: 453

    Paul Cartwright: 414

    Forum Stats:

    Groups: 6

    Forums: 37

    Topics: 5221

    Posts: 27486

    Administrators: Matthew Ogborne: 4565, Dave Furness: 4606