Skip navigation

Spotlight not working correctly

57449 Views 148 Replies Latest reply: Feb 21, 2014 10:18 AM by Todd Jacobs RSS
  • Christopher Murphy Level 2 Level 2 (470 points)
    Currently Being Moderated
    Oct 3, 2012 9:21 PM (in response to andi islinger)

    @andi islinger

    are't there 3 commands?

     

    In fact there are three commands. I aded a command after the fact, but failed to update the number of commands count.

     

    do i have to copy each of the 3 seperately or copy paste in one go and then hit enter?

     

    One command per line. If you exactly highlight the first and last character of a line, you can copy and paste.

     

    is this still all working for you?

     

    So far no negative consequences. Unclear if it's a long term solution or not.

     

    do i have to delete the 3 folders or do i have to delete the root folder called "folders"

    just put in trash or empty trash?

     

    Delete the folders inside the one called "folders".

  • Stohler151 Calculating status...
    Currently Being Moderated
    Oct 3, 2012 9:39 PM (in response to Christopher Murphy)

    Hi Christopher (and everyone else affected by this issue),

     

    I'm not totally sure I'm having the same issue as everyone else since my Spotlight seems to have never indexed after I upgraded from Snow Leopard to Lion. I discovered the problem when tyring to set up a bootcamp partition and finding that Finder showed 90GB free and Disk Utility (and consequently bootcamp assistant) showed only 68GB free of 250 on my 2009 MBP. On the advice of Apple tech support I forced a reindex (or I guess maybe just index) of my HDD. Adding and removing the entire disk from the Privacy tab on Spotlight did not start an index so I had to start it through Terminal. Since starting the indexing, Spotlight has moved from 3 days to now up to 2 weeks. (FWIW, I could/can still make TM backups to my external drive just fine).

     

    I'm trying your fix by adding /private/var/folders to the Privacy tab on Spotlight. Simply adding the directory did nothing. Spotlight continued to report "About 2 weeks" to index my HDD.

     

    I then went in to Terminal and disabled indexing using the two commands you suggested (1. sudo mdutil -i off / and 2. sudo mdutil -E). I then restarted indexing using sudo mdutil -i on.

     

    It has been approximately ten minutes and Spotlight is still estimating the time it will take to complete the index.

     

    I will post here again to let you know if it completes the index or not. If it does not, I will try deleting the priate/var/folders directory and then restarting the index and post my results.

     

    If anyone wants more information about my particular system/problem, just let me know and I will post.

    Thank you all for your help (especially Christopher)

  • stcinder Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 4, 2012 2:57 AM (in response to stcinder)

    Well I tried it on 10.8.2

    It didn't seem to work the first time, and I thought that I had completely stopped Spotlight from working.
    I did it again and Spotlight returned to normal, and TM backed up. Previously TM was just sitting on "Preparing Backup"

  • Martin Sénéclauze Calculating status...
    Currently Being Moderated
    Oct 4, 2012 9:00 AM (in response to Jean-Luc)

    Dear all,

     

    I managed to get Spotlight working by doing the follwoing:

         Stop spotlight using sudo mdutil -a -i off

         In th spotlight control panel, under the Privacy Tab, put all your disks

         Restart Spotlight using sudo mdutil-a -i on

         Erase the spotlight database sudo mdutil -a -E

     

    Things look OK (so far). Time machine started to backup at a reasonable speed but more than what was changed since the upgrade. I'll keep you posted in a few hours how things are going.

     

    Martin

  • ErikHendrix Level 1 Level 1 (10 points)
    Currently Being Moderated
    Oct 4, 2012 9:00 AM (in response to Christopher Murphy)

    I tried adding /private/var/folders to the Privacy tab of Spotlight and it did not help. Deleting the folders as per your earlier suggestion and then restarting did work however.

     

    Thanks.

  • Phil Coleman Calculating status...
    Currently Being Moderated
    Oct 4, 2012 1:52 PM (in response to Jean-Luc)

    Hi all,

    I've had this problem and thanks for the tips. The fix described above (disable indexing, remove /var/folders/* ...) worked yesterday but the problem returned today!

     

    I've noticed that apple have released a supplemental update to 10.7.5 that is supposed to address this issue (available through software update) so I'm hoping that will put it to bed.

  • Looter Level 1 Level 1 (55 points)
    Currently Being Moderated
    Oct 4, 2012 2:00 PM (in response to Phil Coleman)

    Apple just released 10.7.5 supplemental that is meant to address this specific issue.

     

    http://support.apple.com/kb/DL1599?viewlocale=en_US&locale=en_US

  • Aikasse Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 4, 2012 3:08 PM (in response to Looter)

    This update solved my indexing spotlight and time capsule backup issues.

     

    Thanks

  • rowenacherry Calculating status...
    Currently Being Moderated
    Nov 10, 2012 8:44 AM (in response to Looter)

    I have OS 10.4.11 and my spotlight is not working. What should I do, please?

  • dmgva Calculating status...
    Currently Being Moderated
    Nov 16, 2012 9:00 PM (in response to Jean-Luc)

    Checked for Lion update and found 10.7.5 Supplemental Update, it seems to have solved my slow & continuously long indexing.

  • deborah278 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 22, 2012 11:29 PM (in response to rowenacherry)

    I have 10.6.8 and mine is not working now.  Did you get an answer to your problem with Spotlight?

  • rowenacherry Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 23, 2012 1:28 AM (in response to deborah278)

    I'm sorry. The Spotlight did come back on my 10.4.11. I cleared the cache and emptied the trash and unlocked a file (that should not have had anything to do with anything as it was a list of writers' charities) that had become mysteriously locked. I then gave up. Turned off the computer. The next time I logged in, all was magically fine.

     

    It was a solution, but not an answer, because I cannot say whether Spotlight came back by coincidence or because I had too much trash.

  • KeepItFunky Calculating status...
    Currently Being Moderated
    Jan 11, 2013 1:42 PM (in response to dmgva)

    I upgraded to 10.7.5 and spotlight is still telling me that i have 7 days remaining on index.  Also I tried to install 10.7.5 supplemental update but that said my volume was invalid for the update, not sure why.

     

    Help please, it's impossible to use my comp with out being able to search for things!

  • lauhub Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 16, 2013 10:29 AM (in response to KeepItFunky)

    Did you try this:

    • Disabling Spotlight
    • Deleting existing index
    • Deleting /var/folders/*
    • Re-enabling Spotlight

    ?

1 ... 6 7 8 9 10 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (12)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.