Mike M Pestorich
2018-Oct-08 21:34 UTC
[Samba] Samba 4.8.1: spotlight enabled share can not connect to Tracker
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
Ralph Böhme
2018-Oct-09 06:00 UTC
[Samba] Samba 4.8.1: spotlight enabled share can not connect to Tracker
On Mon, Oct 08, 2018 at 02:34:01PM -0700, Mike M Pestorich via samba wrote:>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.does setting TRACKER_SPARQL_BACKEND=bus in the same location as setting the dbus type help? -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG Key Fingerprint: FAE2 C608 8A24 2520 51C5 59E4 AA1E 9B71 2639 9E46
Mike M Pestorich
2018-Oct-10 19:22 UTC
[Samba] Samba 4.8.1: spotlight enabled share can not connect to Tracker
Yes. That did it. Thank you for the help.> On Oct 8, 2018, at 11:00 PM, Ralph Böhme <slow at samba.org> wrote: > > On Mon, Oct 08, 2018 at 02:34:01PM -0700, Mike M Pestorich via samba wrote: >> 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. > > does setting > > TRACKER_SPARQL_BACKEND=bus > > in the same location as setting the dbus type help? > > -slow > > -- > Ralph Boehme, Samba Team https://samba.org/ > Samba Developer, SerNet GmbH https://sernet.de/en/samba/ > GPG Key Fingerprint: FAE2 C608 8A24 2520 51C5 > 59E4 AA1E 9B71 2639 9E46