BenW

Members
  • Posts

    21
  • Joined

  • Last visited

Report Comments posted by BenW

  1. 1 hour ago, CS01-HS said:

     

    Are you sure there's not a typo in your config?

    I'm afraid I'm out of my depth here.

     

    Yeah - I checked and it all seems OK. 

    I'm also massively out of my depth but REALLY appreciate the help you've given thus far, it's appreciated. 

    It seems there's a bit of a collective *shrug* when it comes to MacOS around the unraid community, so any help is definitely useful. 

     

    I *think* it might be this line: 

     

    Spotlight backend = tracker 

     

    As I've been following the below article since I couldn't get it working, and it's pointing to a spotlight backend using elasticsearch:  

     

    and

     

    This article: https://wiki.samba.org/index.php/Spotlight_with_Gnome_Tracker_Backend

    Seems to suggest that you need to compile and install Gnome Tracker backend (hence specifying the backend for spotlight as 'tracker'

     

    Was that something you installed separately or does Unraid have it included? As that would match up to my error: mds_init_ctx: Unknown backend 1

     

    Anyway - I'm *hoping* elasticsearch works after it's finished indexing, otherwise I'll revert back to this thread again. 

     

     

     

  2. 10 hours ago, CS01-HS said:

    Put it in Settings -> SMB -> SMB Extras

    You have to stop the array to edit it.

     

    Here's what mine looks like with two shares: Private and Public, but I've customized it enough I forget what's changed from the default. I believe the highlighted lines are the only ones necessary to fix search.

     

    622285943_ScreenShot2021-04-12at11_15_03AM.thumb.png.d1bcadbb68806f9c6c2a1d5f0567bc80.png

    Nice - thanks for this! 

     

    I tried copying in the entries, but it's still not working (even though Terminal says Indexing is on and doesn't report an error) - Perhaps I'll wait 24 hours and see if spotlight indexes. 

     

    I am getting some errors in the log though, any idea where to start with this? 

     

    -- Paste-- 

    Apr 13 11:19:00 CHASM smbd[5906]: [2021/04/13 11:19:00.522119,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:19:00 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:19:00 CHASM smbd[5906]: [2021/04/13 11:19:00.522159,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:19:00 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Productions

    Apr 13 11:19:02 CHASM smbd[5906]: [2021/04/13 11:19:02.670841,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:19:02 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:19:02 CHASM smbd[5906]: [2021/04/13 11:19:02.670877,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:19:02 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Photos

    Apr 13 11:19:58 CHASM smbd[5906]: [2021/04/13 11:19:58.988604,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:19:58 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:19:58 CHASM smbd[5906]: [2021/04/13 11:19:58.988639,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:19:58 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Productions

    Apr 13 11:20:08 CHASM smbd[5906]: [2021/04/13 11:20:08.789527,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:20:08 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:20:08 CHASM smbd[5906]: [2021/04/13 11:20:08.789583,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:20:08 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Productions

    Apr 13 11:20:32 CHASM smbd[5906]: [2021/04/13 11:20:32.311396,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:20:32 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:20:32 CHASM smbd[5906]: [2021/04/13 11:20:32.311436,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:20:32 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Productions

    Apr 13 11:20:45 CHASM smbd[5906]: [2021/04/13 11:20:45.346181,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:20:45 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:20:45 CHASM smbd[5906]: [2021/04/13 11:20:45.346217,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:20:45 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Productions

    Apr 13 11:22:48 CHASM smbd[5906]: [2021/04/13 11:22:48.626097,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:22:48 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:22:48 CHASM smbd[5906]: [2021/04/13 11:22:48.626131,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:22:48 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Productions

    Apr 13 11:23:25 CHASM smbd[5906]: [2021/04/13 11:23:25.156402,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:23:25 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:23:25 CHASM smbd[5906]: [2021/04/13 11:23:25.156437,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:23:25 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Photos

    Apr 13 11:24:06 CHASM smbd[5906]: [2021/04/13 11:24:06.250267,  0] ../../source3/rpc_server/mdssvc/mdssvc.c:1565(mds_init_ctx)

    Apr 13 11:24:06 CHASM smbd[5906]:   mds_init_ctx: Unknown backend 1

    Apr 13 11:24:06 CHASM smbd[5906]: [2021/04/13 11:24:06.250301,  0] ../../source3/rpc_server/mdssvc/srv_mdssvc_nt.c:187(_mdssvc_open)

    Apr 13 11:24:06 CHASM smbd[5906]:   _mdssvc_open: Couldn't create policy handle for Photos

  3. On 1/13/2021 at 2:21 AM, CS01-HS said:

     

    in addition to this share-specific code:

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

     

    Search works again!

     

    I'm a definite +1 on this thread, it stopped working quite a while ago, and I've been trying to get to the bottom of it for a long time. 

     

    Your answer is a glimmer of hope for me, but I don't know where to put that share specific code? 

    There doesn't appear to be anywhere to put it in the share options on my unraid?