Guys, I need help!
I was getting repeated crashes of suggestd, and the web suggested rebuilding Spotlight indexes with mdutil.
Now my Spotlight index is gone and I can't get it back :-(
I booted in recovery mode and said
$ sudo mdutil -E /
/:
2022-04-28 01:50:02.085 mdutil[683:10921] mdutil disabling Spotlight: / -> kMDConfigSearchLevelOff
Indexing and searching disabled.
Then I try to turn it on:
$ sudo mdutil -i on /
/:
Indexing and searching disabled.
No matter what I try in mdutil, it always says "Indexing and searching disabled."
I did it to all my connected drives.
I've been trying remedies from the web:
- They're not excluded from Spotlight in System Preferences.
- I've got permissions for the drives affected.
- I tried rebooting.
- I don't have a ".metadata_never_index" file in / to remove.
- sudo rm -rf /.Spotlight-V100 didn't work.
- I tried restarting Spotlight:
$ launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
$ launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
- This didn't help either:
sudo defaults write /Library/Preferences/com.apple.SpotlightServer.plist ExternalVolumesIgnore -bool False
or this:
/Volumes/Alpha % sudo mdutil -X ./
Spotlight directory not found
I clicked on the Spotlight magnifying glass in the menu bar, and it didn't say it was indexing.
Can anyone help?
P.S. I'm back on Mojave.
I was getting repeated crashes of suggestd, and the web suggested rebuilding Spotlight indexes with mdutil.
Now my Spotlight index is gone and I can't get it back :-(
I booted in recovery mode and said
$ sudo mdutil -E /
/:
2022-04-28 01:50:02.085 mdutil[683:10921] mdutil disabling Spotlight: / -> kMDConfigSearchLevelOff
Indexing and searching disabled.
Then I try to turn it on:
$ sudo mdutil -i on /
/:
Indexing and searching disabled.
No matter what I try in mdutil, it always says "Indexing and searching disabled."
I did it to all my connected drives.
I've been trying remedies from the web:
- They're not excluded from Spotlight in System Preferences.
- I've got permissions for the drives affected.
- I tried rebooting.
- I don't have a ".metadata_never_index" file in / to remove.
- sudo rm -rf /.Spotlight-V100 didn't work.
- I tried restarting Spotlight:
$ launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
$ launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
- This didn't help either:
sudo defaults write /Library/Preferences/com.apple.SpotlightServer.plist ExternalVolumesIgnore -bool False
or this:
/Volumes/Alpha % sudo mdutil -X ./
Spotlight directory not found
I clicked on the Spotlight magnifying glass in the menu bar, and it didn't say it was indexing.
Can anyone help?
P.S. I'm back on Mojave.
Last edited: