• Search of SMB shares not working (MacOS client)


    CS01-HS
    • Minor

    I don't search often so I can't say for certain it's the beta but it used to work consistently and now it doesn't, even in safe mode. No results returned no matter how long I wait.

     

    I'm running the latest MacOS Catalina.

    I also tested in MacOS Mojave (unraid VM), same result.

     

    I have a Raspberry Pi shared over SMB where search from the same two clients works fine.

     

    Diagnostics from safe mode attached.

     

    nas-diagnostics-20201027-1319.zip

     

     

    EDIT: Hack "solution" from follow-up post below.

    Hopefully this helps with a fix.

     

    Test:

     

    Mount unraid share system on my mac and check its spotlight status:

    [macbook-pro]:~ $ mdutil -s /Volumes/system
    /System/Volumes/Data/Volumes/system:
    Server search enabled.
    [macbook-pro]:~ $

     

    But "server search" is not in fact enabled.

    Apparently samba 4.12.0 changed the default from Gnome tracker to noindex.

    Note that when upgrading existing installations that 
    are using the previous default Spotlight backend 
    Gnome Tracker must explicitly set "spotlight backend = tracker"
    as the new default is "noindex".

     

    To change it back (as it was in 6.8) I add the following to SMB extras:

    [global]
       spotlight backend = tracker

     

    and explicitly enable spotlight for each share:

    [system]
       path = /mnt/user/system
       spotlight = yes


    Now when I mount it and check spotlight status I get the following:

    [macbook-pro]:~ $ mdutil -s /Volumes/system
    /System/Volumes/Data/Volumes/system:
    Indexing disabled.
    [macbook-pro]:~ $

     

    And search works.

    • Like 1



    User Feedback

    Recommended Comments



    Bumping this because I see it's not fixed in the (otherwise excellent and stable!) 6.10.0-rc1

    • Like 2
    Link to comment



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.