SUMMARY After recent updates my baloo index seems to break frequently, resulting in it not finding any files until I nuke the index and rebuild it. I haven't found out why but it happened again after I just updated. It manifests itself in an empty broken file showing up in KRunner *but* also in Dolphin it doesn't find any files anymore. Using Baloo git master as of today
Git commit 9b61371fdefbd538938f20cdc87eed03d170fa5b by Stefan Brüns. Committed on 12/12/2020 at 18:03. Pushed by bruns into branch 'master'. [BasicIndexingJob] Strip trailing slash from folders If BasicIndexingJob is called with a path with a trailing slash, the search for the last slash (separating name from parent path) goes wrong. This was wrong already earlier, but with commit 47ebc15844f6b8a8 ("[Document] Add parent document ID and populate it") this caused document and parent id to be the same. M +3 -0 src/file/basicindexingjob.cpp https://invent.kde.org/frameworks/baloo/commit/9b61371fdefbd538938f20cdc87eed03d170fa5b
@broulik - can you recheck?
I had the same issue with the baloosearch:// ioslave in Bug 430435, but doing a full re-index fixed it. I still see the empty file in the Baloo KRunner Runner though.
*** Bug 430408 has been marked as a duplicate of this bug. ***
*** Bug 430457 has been marked as a duplicate of this bug. ***
*** Bug 430598 has been marked as a duplicate of this bug. ***
FWIW this is working better for me after I rebuilt the index following https://invent.kde.org/frameworks/baloo/commit/9b61371fdefbd538938f20cdc87eed03d170fa5b being committed. Kai, can you confirm the same thing?
I have noticed that almost every day Baloosearch in Dolphin stops working. Suddenly no search results anymore. After starting the therminal and typing the command 'balooctl purge', Baloosearch in Dolphin starts working again.
*** Bug 430435 has been marked as a duplicate of this bug. ***
Seems to be fixed now for the people who were experiencing it.
Purging the index fixed it but purging the index is not a fix... if I restore the index I backuped it is broken again. So there is definitely some permanent corruption happening for some reason that needs to be addressed. Even if it means forcefully rebuilding the index but I can't go around tell people "yeah can you please run balooctl..."
Purging the index did not fix it. baloo breaks again when you logout and login. baloo is working as expected after getting and installing baloo-kf5_5.77.0+p20.04+git20201219.0226-0_amd64.deb libkf5baloo5_5.77.0+p20.04+git20201219.0226-0_amd64.deb from neon unstable.
(In reply to pipapo from comment #12) > Purging the index did not fix it. baloo breaks again when you logout and > login. > baloo is working as expected after getting and installing > baloo-kf5_5.77.0+p20.04+git20201219.0226-0_amd64.deb > libkf5baloo5_5.77.0+p20.04+git20201219.0226-0_amd64.deb > from neon unstable. The fix is in 5.78, not 5.77.
(In reply to Kai Uwe Broulik from comment #11) > So there is definitely some permanent corruption happening for some reason > that needs to be addressed. Even if it means forcefully rebuilding the index > but I can't go around tell people "yeah can you please run balooctl..." I agree. Can you file a new bug report for this and I'll follow up there?
*** Bug 430610 has been marked as a duplicate of this bug. ***
*** Bug 431485 has been marked as a duplicate of this bug. ***