[Samba] Samba 4.8.1: spotlight enabled share can not connect to Tracker

Mike M Pestorich mmpestorich at gmail.com
Mon Oct 8 21:34:01 UTC 2018


I’m having this exact same issue after upgrading from 4.7.x to 4.9.1. I’ve been using the same set of instructions to setup tracker for a few years without issue. Does anyone have any suggestions? I’m stuck on this and can’t figure out what’s changed. 

Thanks.

Mike Pestorich

> Date: Mon May 14 12:31:28 UTC 2018
> From: Dirk Köppen
> 
> Hi,
> 
> this is the error message I do receive:
> 
> Tracker-Message: 14:15:22.884: Could not get mtime for '
> file:///nonexistent/.cache/tracker/meta.db
> ': Error when getting information for file “/nonexistent/.cache/tracker/meta.db”: No such file or directory
> (process:5229): Tracker-WARNING **: 14:15:22.884: Falling back to bus backend, the direct backend failed to initialize: Could not open sqlite3 database:'/nonexistent/.cache/tracker/meta.db': unable to open database file
> 
> I compiled samba 4.8.1 and current github master with --enable-spotlight, installed Tracker according to the spotlight Wiki. I only needed to change the Tracker Systemd Unit Files to match the correct path of the wrapper, e.g. "Exec=/usr/libexec/tracker-wrapper tracker-extract".
> 
> Tracker is working as user mdssvc. I can search from command line.
> 
> So far I found that the above path "/nonexistent" is the home directory of the user connecting to the samba share. I would expect "/home/mdssvc" here.
> 
> My questions are:
> 	- Is the problem based on the fact that samba can not connect to Tracker via dbus? (TRACKER_BUS_TYPE=system is set)
> 	- How can I set the users mdssvc home directory to be used for the database access?
> 
> 
> Thanks for your help and best regards,
> Dirk
> 
> --
> Dirk Köppen <
> dirk at koeppen.name
> >
> PGP: D66A AF85 5DD9 EBE3 4539 90EF B815 3E77 7E40 5904



More information about the samba mailing list