GNOME Bugzilla – Bug 743727
Tracker 1.3.2 fails to start (on a user that was running tracker 1.2.x before)
Last modified: 2015-03-05 19:05:30 UTC
My first walks with GNOME 3.15.4 brought me also Tracker 1.3.2, which does not start. I get errors in the form: dimstar@zeus:~> /usr/lib/tracker-store (tracker-store:17990): Tracker-CRITICAL **: Fatal error dealing with ontology changes: NOT NULL constraint failed: nfo:Media_nfo:hasMediaStream.nfo:hasMediaStream (strerror of errno (not necessarily related): No such file or directory) (tracker-store:17990): Tracker-CRITICAL **: Cannot initialize database: NOT NULL constraint failed: nfo:Media_nfo:hasMediaStream.nfo:hasMediaStream (strerror of errno (not necessarily related): No such file or directory) dimstar@zeus:~> tracker daemon -s Starting miners… (tracker daemon:18015): Tracker-CRITICAL **: Could not create proxy on the D-Bus session bus, Error calling StartServiceByName for org.freedesktop.Tracker1.Miner.Userguides: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.Tracker1.Miner.Userguides exited with status 1 (tracker daemon:18015): Tracker-CRITICAL **: Could not create proxy on the D-Bus session bus, Error calling StartServiceByName for org.freedesktop.Tracker1.Miner.Files: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.Tracker1.Miner.Files exited with status 1 (tracker daemon:18015): Tracker-CRITICAL **: Could not create proxy on the D-Bus session bus, Error calling StartServiceByName for org.freedesktop.Tracker1.Miner.Extract: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.Tracker1.Miner.Extract exited with status 1 (tracker daemon:18015): Tracker-CRITICAL **: Could not create proxy on the D-Bus session bus, Error calling StartServiceByName for org.freedesktop.Tracker1.Miner.Applications: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.Tracker1.Miner.Applications exited with status 1 (tracker daemon:18015): Tracker-CRITICAL **: No D-Bus proxy found for miner 'org.freedesktop.Tracker1.Miner.Userguides' ✗ Userguides (perhaps a disabled plugin?) (tracker daemon:18015): Tracker-CRITICAL **: No D-Bus proxy found for miner 'org.freedesktop.Tracker1.Miner.Files' ✗ File System (perhaps a disabled plugin?) (tracker daemon:18015): Tracker-CRITICAL **: No D-Bus proxy found for miner 'org.freedesktop.Tracker1.Miner.Extract' ✗ Extractor (perhaps a disabled plugin?) (tracker daemon:18015): Tracker-CRITICAL **: No D-Bus proxy found for miner 'org.freedesktop.Tracker1.Miner.Applications' ✗ Applications (perhaps a disabled plugin?) dimstar@zeus:~> It appears as a user that does not yet have a tracker database can get it started.
Created attachment 296775 [details] [review] data-manager: Account for cardinality=0 on DB migration If a property changes from maxCardinality 1 to many, the database format is updated to cope with that, but at the time of migrating data, it doesn't account for resources having no elements. In order to avoid constraint errors, those must be skipped.
Review of attachment 296775 [details] [review]: Looks good to me. This would explain some of the errors reported lately that I could simply not reproduce with my dataset too. Thanks for the patch Carlos, looks good to me. Might be worth running it by Philip too, since he had a hand in the recent cardinality patching.
(In reply to Martyn Russell from comment #2) > Review of attachment 296775 [details] [review] [review]: > > Looks good to me. So could this patch get merged please? Or are you waiting for Philip here? > Might be worth running it by > Philip too, since he had a hand in the recent cardinality patching.
(In reply to André Klapper from comment #3) > (In reply to Martyn Russell from comment #2) > > Review of attachment 296775 [details] [review] [review] [review]: > > > > Looks good to me. > > So could this patch get merged please? > > Or are you waiting for Philip here? I tried to get hold of him as he did the original feature, and this part of code is more of his domain than mine. But I'm just pushing it now, the patch is simple and makes complete sense AFAICT.
Attachment 296775 [details] pushed as eac52e3 - data-manager: Account for cardinality=0 on DB migration
(In reply to Carlos Garnacho from comment #5) > Attachment 296775 [details] pushed as eac52e3 - data-manager: Account for > cardinality=0 on DB migration Is this patch in a release yet? It's making Videos come up empty on start, and gnome-documents and gnome-books fail to start for my user.
I believe this was released in 1.3.4, 2 days ago, see: https://mail.gnome.org/archives/tracker-list/2015-March/msg00009.html