skip to Main Content

currently we have problems with our new Ubuntu 22.04 desktops and the tracker3 file indexing.
We have a shared home server exporting the user homes, which is under cosntant load due to the file indexing (tracker-miner-fs-3 process). Therefore, I would like to deactivate it completely.

I already tried this: (see LINK)

systemctl --user mask tracker-extract-3.service tracker-miner-fs-3.service tracker-miner-rss-3.service tracker-writeback-3.service tracker-xdg-portal-3.service tracker-miner-fs-control-3.service

and

tracker3 reset -s -r (which gives Found 0 PIDs…)

and creating
~/.config/autostart/tracker-miner-fs-3.desktop
with

[Desktop Entry]
Hidden=true

But this does not do the trick.

tracker3 daemon gives:

root@:~# tracker3 daemon
Miners:
01 Jul 2022, 12:04:45:  ✗     File System          - Not running or is a disabled plugin

But the process is still running after reboot and consuming ressources…
Does anyone have an idea on how to disable the indexing completely?

Thank you very much!

2

Answers


  1. I was with the same problem on Ubuntu 22.04.1 LTS and like you, none of the web stuff using ‘systemctl’ or ‘tracker3 reset’ was worked.

    I solved making some files non executables with:

    sudo chmod -x /usr/libexec/tracker-miner-fs-3
    sudo chmod -x /usr/libexec/tracker-extract-3
    

    Then reboot

    I know it’s a little bit crazy but it’s worked for me

    Login or Signup to reply.
  2. You can do this in a way that will survive package upgrades by using dpkg-divert to rename the service files. This way when the tracker packages are upgraded the renaming will be preserved:

    for file in /usr/lib/systemd/user/tracker-*;do dpkg-divert --add --rename --divert $file.ORIG $file;done
    

    Remove the diversions this way:

    for file in /usr/lib/systemd/user/tracker-*;do dpkg-divert --remove --rename --divert $file.ORIG $file;done
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search