This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Baloo] Add an option to clean the database

5

Votes
5
0
Tags: None
(comma "," separated)
Tedel
Registered Member
Posts
12
Karma
0
Hi,

I noticed that Krunner was finding some old (and erased) files from Baloo database. Searching online, I learned there was a command which allowed a user to ask Baloo to clean its database, baloo_file_cleaner. I would like to suggest you to add a button, checkbox or any other way to call this process from either the Baloo control module at KDE System Settings or Sweeper, so we can all find it easily and use it.

o)
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
Baloo is supposed to clean the old files on its own, but we have been having some problems with the underlying database getting locked. Therefore you have old files.

With Plasma 5.3, we're reworking the database internals (moving away from Xapian), so this should no longer happen. In future Plasma releases we plan to add GUI features for monitoring the index, and cleaning it.
Tedel
Registered Member
Posts
12
Karma
0
That's good to know. Thanks. =)
CyberAngel
Registered Member
Posts
49
Karma
0
Running baloo on KDE neon and it seems that the problem still exists.

baloo-kf5:
Installed: 5.32.0-0neon+16.04+build29
Candidate: 5.32.0-0neon+16.04+build29
Version table:
*** 5.32.0-0neon+16.04+build29 500
500 http://archive.neon.kde.org/user xenial/main amd64 Packages


Is there any progress with the cleaning of non-existing files that have already been indexed in baloo?

Is there any workaround at least, even if that involves stopping the baloo service and removing somehow the entries from the database with simple commands from the command line?

Ideally I wouldn't want to delete the complete index in order to get rid of the non-existing entries.
Tedel
Registered Member
Posts
12
Karma
0
The only workaround I have found when there are problems with Baloo is to erase the database stored in ~/.local/share/baloo, log out and then log back in.

This will force KDE a create a new database from scratch, and there are not any "negative consequences" for you.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]