Tracker doesn't work

asked 2020-05-23 21:32:05 +0300

ElderOrb gravatar image

updated 2020-06-03 15:48:04 +0300

jovirkku gravatar image

...or maybe this is not tracker, but I don't see any music in media player anymore. I've tried to clear database, delete tracker configs but nothing helped so far. Any ideas how to troubleshoot?

I'm on the latest SFOS.

edit retag flag offensive close delete

Comments

is your music on the device or SD card?

Tags: Which device?

Spam Hunter ( 2020-05-23 22:11:36 +0300 )edit

This may be a useful starting point to debug: https://together.jolla.com/question/167715/tracker-not-tracking-properly/ TL;DR: run /usr/libexec/tracker-extract -v 3 and check the output for error messages.

Federico ( 2020-05-24 11:05:05 +0300 )edit

is your music on the device or SD card?

On the device

Which device?

Sony Xperia XA2 Plus

ElderOrb ( 2020-05-24 11:55:46 +0300 )edit

Here is the result of tracker-extract but I'm not sure whether its good or not:

Tracker-Message: 15:20:30.421: Starting tracker-extract 1.12.4 Tracker-Message: 15:20:30.422: General options: Tracker-Message: 15:20:30.422: Verbosity ............................ 3 Tracker-Message: 15:20:30.422: Sched Idle ........................... 1 Tracker-Message: 15:20:30.422: Max bytes (per file) ................. 1048576 Tracker-Message: 15:20:30.422: Setting priority nice level to 19 Tracker-Message: 15:20:30.422: Loading extractor rules... (/usr/share/tracker/extract-rules) Tracker-Message: 15:20:30.425: Extractor rules loaded

(tracker-extract:24306): Tracker-WARNING **: 15:20:30.519: Locale '0' is not set, defaulting to C locale

(tracker-extract:24306): Tracker-WARNING **: 15:20:30.520: tracker-backend.vala:211: Falling back to bus backend, the direct backend failed to initialize: Locale change detected (DB:ru_RU.utf8, User/App:C) Tracker-Message: 15:20:30.532: Trying to use introspection XML: <node> <interface name="org.freedesktop.Tracker1.Miner"> <method name="Start"> </method> <method name="GetStatus"> <arg direction="out" name="status" type="s"> </arg></method> <method name="GetProgress"> <arg direction="out" name="progress" type="d"> </arg></method> <method name="GetRemainingTime"> <arg direction="out" name="remaining_time" type="i"> </arg></method> <method name="GetPauseDetails"> <arg direction="out" name="pause_applications" type="as"> <arg direction="out" name="pause_reasons" type="as"> </arg></arg></method> <method name="Pause"> <arg direction="in" name="application" type="s"> <arg direction="in" name="reason" type="s"> <arg direction="out" name="cookie" type="i"> </arg></arg></arg></method> <method name="PauseForProcess"> <arg direction="in" name="application" type="s"> <arg direction="in" name="reason" type="s"> <arg direction="out" name="cookie" type="i"> </arg></arg></arg></method> <method name="Resume"> <arg direction="in" name="cookie" type="i"> </arg></method> <method name="IgnoreNextUpdate"> <arg direction="in" name="urls" type="as"> </arg></method> <signal name="Started"> <signal name="Stopped"> <signal name="Paused"> <signal name="Resumed"> <signal name="Progress"> <arg name="status" type="s"> <arg name="progress" type="d"> <arg name="remaining_time" type="i"> </arg></arg></arg></signal> </signal></signal></signal></signal></interface></node>

Tracker-Message: 15:20:30.532: Registering D-Bus object... Tracker-Message: 15:20:30.533: Path:'/org/freedesktop/Tracker1/Miner/Extract' Tracker-Message: 15:20:30.533: Object Type:'TrackerExtractDecorator'

(tracker-extract:24306): Tracker-CRITICAL **: 15:20:30.534: Could not start decorator: D-Bus service name:'org.freedesktop.Tracker1.Miner.Extract' is already taken, perhaps the application is already running?

Tracker-Message: 15:20:30.535: Stopping tracker-extract 1.12.4

ElderOrb ( 2020-05-24 15:21:55 +0300 )edit

@ElderOrb: Try this:

  1. Connect your XA2 to a computer. Copy all of your mp3 files to the computer (to have them in safe storage).
  2. Delete the mp3 files in XA2.
  3. On XA2, run:

    devel-su
    tracker reset -r

  4. Restart XA2.
  5. Connect XA2 to the computer again.
  6. Copy the mp3 files from computer to XA2 (to /home/nemo/Music unless you have an SD card)
  7. Wait a minute.
  8. Open Media app.
    Is it better now?
jovirkku ( 2020-06-03 15:55:05 +0300 )edit