Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

spotlight not working on Sierra

After opdating to Sierra Spotlight does not work.

At first there was a little life but now it is totally dead.

iMac, OS X El Capitan (10.11.5)

Posted on Sep 26, 2016 8:21 AM

Reply
Question marked as Best reply

Posted on Jun 24, 2017 10:33 AM

It does NOT take allot of commandline hacks to "get finder working" - it does not take a single one.


Apple is "not ignoring a problem": it works for everyone else.


This person has hacked his box and wants an answer to avoid restoring his machine with the following (which is ok but he is blaming apple and apple certainly doesn't deserve blame for his hacking):


Did you try resetting SMC and or PRAM/NVRAM yet ?


http://osxdaily.com/2010/03/24/when-and-how-to-reset-your-mac-system-management- controller-smc/


If you did that already, do you have your data backed up or need it backed up before attempting anything further ? Do you think it is the OS, or perhaps a problem peripheral attached you could leave un-attatched ?


see macOS Sierra: Erase and reinstall macOS


did you try all those things yet?

60 replies

Sep 26, 2016 8:59 AM in response to Pétur

What do you see if you go to system preferences>spotlight> (tab)privacy? Any items listed there in the exclusion list?

If not: try to add the macintosh hd to the list by pressing the + sign at the bottom left and pointing it to the macintosh hd.
Then remove that item again by selecting it and pressing the - sign on the bottom left. Close system preferences again and this should re-initialize indexing.

Oct 1, 2016 11:17 AM in response to Pétur

I am getting this same error too.


When I try to force reindex by first moving MacHD into Spotlight Privacy (and later taking it out), I get "The item could not be added or removed because of an unknown error."


This problem only has occurred since we upgraded to Sierra.


And if we try to force Spotlight index update/recreation in Terminal, we always get this error: "Error: Index is already changing state. Please try again in a moment."

Oct 7, 2016 11:29 AM in response to Pétur

Thank you but nothing at the last two replies works. When I left it, Spotlight did eventually appear to re-index, but my automator scripts do not work (nothing too complicated just copying files out of a subdirectories - but they don't work now, because evidently even though it looks like Spotlight has reindexed it has not really done so).


This is really annoying, I wish I'd thought to Time Machine before "upgrading". Should not have trusted in Apple its just that all my other OS upgrades have worked with no hitches.

Oct 25, 2016 5:27 PM in response to Pétur

  1. Choose Apple  menu > System Preferences, then click Spotlight.
  2. Click the Privacy tab.
  3. Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Click OK to confirm.
  4. Select the folder or disk you just added, then click the Remove (–) button to remove it from the list.
  5. Quit System Preferences. Spotlight will reindex the contents of the folder or disk.

To add an item to the Privacy tab of Spotlight preferences, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

Oct 25, 2016 5:39 PM in response to Johno 007

If this fails and you get the wonderful error message try this


open terminal window

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

enter your password, then enter

sudo mdutil -E /Volumes/*

give it some time, 3-5min after each step, the on commands and check spotlight - do a search and if it says indexing your done, once indexing has started it can take hours to complete

sudo mdutil -E -i on /Volumes/*

sudo mdutil -a -E -i on /Volumes/*

sudo mdutil -E /

sudo mdutil -i on /

spotlight not working on Sierra

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.