Welcome to MacTalk Australia

the largest Australian community for Apple discussions and topics

Join the discussions, Register Now!
Results 1 to 16 of 16
  1. #1

    Join Date
    Feb 2006
    Posts
    55

    Default Spotlight (No results)

    Hi Folks,

    I recently upgraded from Tiger (10.4.11) to Snow Leopard (10.6.2) in part due to a Hard Drive failure. Luckily, i backed up..etc, etc.

    I've put all my photos/music back onto my Mac...however, when i try to search in Spotlight. There are NO results whatsoever. Even when i search for an application (eg: iDVD...nothing).....

    How do i get Spotlight to re-index everything (assuming that's the right term)?

    Any idea?

    **Mods, if this is in the wrong forum, pls fee free to move.**

    Duvel
    Last edited by duvel; 7th February 2010 at 11:03 AM. Reason: included last sentence

  2. #2
    ClockWork's Avatar ClockWork is offline I'm the Urban Spaceman, baby

    Join Date
    May 2006
    Location
    Royston Vasey
    Posts
    9,550

    Default

    Open System Preferences...
    In the System Preferences window, click on Spotlight.
    In Spotlight, click on the Privacy tab.
    Drag your Macintosh HD icon into the list, click on it to highlight it in blue and then click the [-] minus button at the bottom of the list to remove it.

    Spotlight will re-index the contents of the Macintosh HD.

  3. #3

    Join Date
    Feb 2006
    Posts
    55

    Default

    I tried that.

    It hasn't worked. Doesn't find anything, even though everything is there.

    ????

  4. #4
    leon's Avatar leon is offline That TAM guy

    Join Date
    Oct 2005
    Location
    Melbourne
    Posts
    6,274

    Default

    This link tells you how to use terminal to delete your Spotlight cache and then reindex it.
    I have had to do this in the past to rectify this issue.

    Read what the guy in the first comments section recommends to do. This is what I did from memory.

    Mac OS X Quick Tip - Reset Spotlight's cache | Geekology
    Something about Jimby.

  5. #5
    ClockWork's Avatar ClockWork is offline I'm the Urban Spaceman, baby

    Join Date
    May 2006
    Location
    Royston Vasey
    Posts
    9,550

    Default

    It doesn't re-index everything instantly.
    It might take 4 or 5 hours, but you should see the top right Spotlight symbol slowly animating a white dot in its centre, right after the procedure.

    If it doesn't, one would have to know if you copied everything back into the right places, in the correct order - like all music into the Users Music folder or all pictures into the Users Picture folder.

    What happens if you just do a simple + F on the keyboard to Find items?

  6. #6

    Join Date
    Feb 2006
    Posts
    55

    Default

    Leon...i will read this.

    ClockWork. When i installed Snow Leopard, i took my music and photos (primarily, what i back up) and just dragged them into (for eg)....all photos into the Library/Photos (Sidebar) of iPhoto.

    Is this not what i should have done?

    Also, if i do a CMD+ F it brings up the search area but cannot find anything. (for eg...i type in Fleet Foxes) and their SHOULD be something but....blank....

    ???

    Thanks for your (ongoing) help.

  7. #7
    ClockWork's Avatar ClockWork is offline I'm the Urban Spaceman, baby

    Join Date
    May 2006
    Location
    Royston Vasey
    Posts
    9,550

    Default

    Again - I'm not entirely certain of what you've copied to where, yet the basic idea would be to copy the entire Users folder, as one folder, and then copy that whole folder back into the computer - and then move the separate Desktop, Documents, Library, Movies, Music, Pictures, Public, Sites and Download folders into the new Users folder.

    Even better, to use an external drive in combination with SuperDuper to do a full and correct backup of your stuff in Tiger, and then have SuperDuper (which is compatible with Tiger, Leopard and Snow Leopard), copy everything back in the same order.

    It sounds like you've not really copied everything back into the new System... or something of that nature - hard to tell in this instance without physically seeing it.

  8. #8
    entropy's Avatar entropy is offline It's the heat death of the universe, my friends

    Join Date
    Mar 2005
    Location
    Brisbane, Qld
    Posts
    2,428

    Default

    I am unable to do a search on my imac running 10.5.8.

    I tried to reset spotlight in terminal using the above instructions and got the following results:
    Last login: Sun Feb 28 08:19:50 on console
    Macintosh-2:~ entropy$ sudo mdutil -E /
    Password:
    /:
    No index.
    Macintosh-2:~ entropy$ sudo mdutil -i on /
    /:
    Error: unable to perform operation. (-1)
    No index.
    Macintosh-2:~ entropy$
    and trying to use Clockwork's method, I got this:
    Privacy List Error
    The item couldn't be added or removed because of an unknown error.
    I am having a few other problems at the moment, for example I am completely unable to use time machine with my icecube external, but I think that might because I only have 27GB left on my 320GB imac WD drive and the 320GB seagate (originally from a lacie external) in the icecube just can't backup to time machine anymore. In fact I think the seagate might be cactus.
    27 inch imac i7 3.4Ghz 2011 12,2 OSX 10.8

  9. #9
    ClockWork's Avatar ClockWork is offline I'm the Urban Spaceman, baby

    Join Date
    May 2006
    Location
    Royston Vasey
    Posts
    9,550

    Default

    Privacy List Error
    The item couldn't be added or removed because of an unknown error.

    --------------------------------------------------------

    Download TinkerTool and install it.

    The first tab in TinkerTool will automatically appear - the first one named: Finder.
    At the top of the Finder window, click a tick into the: Show hidden and system files, and then click once on the bottom-right rectangular button marked: Relaunch Finder.

    Every file that is normally invisible will now be visible.

    Go to your Dock and click once on the Finder.
    In the Finder window, locate a folder called: .Spotlight-V100

    If you can't access it, click on the folder once and hit your Apple-Command key + your I key, to get Info on that folder.
    In its Get Info window, unlock the padlock, give Ownership to yourself and change the Permission from No Access to Read & Write, and then close the Info Window.

    Open the .Spotlight-V100 folder and locate: Exclusion.plist - or _exclusion.plist and then Trash it and Empty the Trash.
    Close the .Spotlight-V100 window.

    Back in TinkerTool, untick the Show hidden and system files check box and then click the bottom-right Relaunch Finder button.
    Then Quit TinkerTool.

    Spotlight's Search function should now be functional again.

  10. #10
    entropy's Avatar entropy is offline It's the heat death of the universe, my friends

    Join Date
    Mar 2005
    Location
    Brisbane, Qld
    Posts
    2,428

    Default

    Thanks Clockwork, I will give it a go tonight and report back.
    27 inch imac i7 3.4Ghz 2011 12,2 OSX 10.8

  11. #11
    entropy's Avatar entropy is offline It's the heat death of the universe, my friends

    Join Date
    Mar 2005
    Location
    Brisbane, Qld
    Posts
    2,428

    Default

    I followed your instructions, but could not find the suggested plist. In fact, under the .Spotlight-v100 folder I had a whole lot of nested folders, also locked. I unlocked them all and each had the same list of files, as in the images below.
    BTW as I am the administrator, why are they locked anyway?




    27 inch imac i7 3.4Ghz 2011 12,2 OSX 10.8

  12. #12
    ClockWork's Avatar ClockWork is offline I'm the Urban Spaceman, baby

    Join Date
    May 2006
    Location
    Royston Vasey
    Posts
    9,550

    Default

    The .Spotlight-v100 folder is locked because the System doesn't want you to access it.

    At this point, I'd try Trashing the whole .Spotlight-v100 folder.

  13. #13
    entropy's Avatar entropy is offline It's the heat death of the universe, my friends

    Join Date
    Mar 2005
    Location
    Brisbane, Qld
    Posts
    2,428

    Default

    OK, trashed it, emptied trash, but it still won't let me add the startup disk to the spotlight privacy pane
    27 inch imac i7 3.4Ghz 2011 12,2 OSX 10.8

  14. #14
    ClockWork's Avatar ClockWork is offline I'm the Urban Spaceman, baby

    Join Date
    May 2006
    Location
    Royston Vasey
    Posts
    9,550

    Default

    and what happens if you shut it down, start it up and then follow the step back in Post # 2.

    Another Privacy List Error?

  15. #15
    entropy's Avatar entropy is offline It's the heat death of the universe, my friends

    Join Date
    Mar 2005
    Location
    Brisbane, Qld
    Posts
    2,428

    Default

    I get the same privacy list error
    27 inch imac i7 3.4Ghz 2011 12,2 OSX 10.8

  16. #16
    entropy's Avatar entropy is offline It's the heat death of the universe, my friends

    Join Date
    Mar 2005
    Location
    Brisbane, Qld
    Posts
    2,428

    Default

    I had a bit of a poke around the interwebs, and I think I found the solution.

    To fix, Dave Coyle ran in terminal:

    $ sudo rm -r /.Spotlight-V109

    to delete the existing index. (This of course didn't do anything for me as I had just trashed the folder)

    then:
    $ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

    $ sudo mdutil -i on -E /

    The terminal then showed:
    /:
    Indexing enabled.
    $

    Spotlight is now busy re-indexing my drive. Yay! (assuming it all works once the index is complete).

    Thanks for the effort Clockwork, it helped put me on track
    27 inch imac i7 3.4Ghz 2011 12,2 OSX 10.8

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •