Hello, I’m having various issues with tracker, where the index appears incomplete/unstable. This started after my btrfs formatted main drive completely ran out of space to allocate, but still reported lots of free space to the OS, as I have learned is a side effect of btrfs. I ran
btrfs balance start / which resolved that issue.
Here’s some of what I tried to troubleshoot tracker.
tracker3 reset --filesystem, and
rm -fr ~/.cache/tracker3 for good measure. I then removed all folders from the index and confirmed they were gone with
tracker3 index. I disabled all search items in Settings as well, I don’t remember if they automatically mirror the settings set via command line or not.
tracker3 status showed around 20 folders and a few hundred files indexed, even though no folders were supposed to be being indexed. I searched for a few random characters and the results seemed to be coming from all over my system. I couldn’t figure out how to just dump a list of every indexed item.
tracker3 search / returns empty.
I enabled Music in search settings and let it index again. It showed 12,000 files indexed, which is the size of my music collection, so all seemed good, but nothing appeared in the Music application.
I restarted again, now the index shows 128 files, 19 folders indexed, 03m 15s left. The number of indexed files and remaining time do not change. In Music there appear to be around 130 albums, most of which are missing most of their tracks, but this still means there are many items present in Music that aren’t in Tracker.
tracker3 search fails to find many items that are present in Music.
I reset tracker again, the index builds,
tracker3 search -m now outputs the short list of songs that appear in Music, but
tracker3 status shows all 12000 items indexed again, and 03m 04s left, which never changes.
I’ve been through more iterations of this kind of thing, resetting, restarting, and the index never builds and behaves as it used to.
Sorry for the length, it’s difficult to explain the behavior succinctly, and also difficult to search for! I didn’t find anyone else who seemed to have the exact same problem.