Replacement for tracker3 in SailfishOS 5.1

For quite some time now, I’ve been having an issue where newly taken photos don’t appear in the Gallery app. I assume this happens because I manually mount an encrypted SD card, which is also used as storage by the Camera app.

Instead of completely resetting the media database and letting it rebuild itself, I’ve found the following command to work well for me (run via devel-su):

tracker3 daemon -k && tracker3 daemon -s

After that, the filesystem miner started to work again and then also took into account the SD card that was previously unlocked and mounted. It was not necessary to rebuild the whole media database.

However, after upgrading from SailfishOS 5.0 to 5.1, I now get this message:

bash: tracker3: not found

Apparently, tracker3 was removed in SailfishOS 5.1. This is also confirmed by an entry at the end of the Changelog_from_5.0.0.77_to_5.1.0.11.md.

I’m now wondering if there’s an a replacement for my favorite command. Does anyone know more about this concerning SailfishOS 5.1?

Thanks and regards,
rebos

As far as I know, it hasn’t been removed but renamed to LocalSearch

See here and here

If I understood correctly, the binary/command is now called localsearch3

3 Likes

Probably /usr/libexec/localsearch-3 or /usr/libexec/localsearch-extractor-3 (I just had to reset my media db as well and those processes show up right now on top of top)

1 Like

Thank you @NIS and @dmz - That was the missing piece of the puzzle! I changed the command to this (without 3 at the end):

localsearch daemon -k && localsearch daemon -s

Newly created photos are now visible in the Gallary app. Nice :slight_smile:

3 Likes