baloo: Datei-Indizierung inaktiv

Begonnen von 10toe, 2015/11/15, 01:23:54

Vorheriges Thema - Nächstes Thema

10toe

Hallo! Der besseren Übersicht wegen starte ich hier mal das Thema gesondert.


In einem anderen Thread war ich u.a. auf der Suche nach der Dateisuchoption unter dolphin. Ich erfuhr, dass baloo für die Indizierung und Suche zuständig ist.


An dieser Stelle komme ich bei baloo nicht weiter: Die Indizierung kommt einfach nicht in Gang.


$ balooctl status
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 13278 / 196196 files
Current size of index is 134,54 MiB


$ balooctl resume
File Indexer resumed


$ balooctl status
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 13278 / 196196 files
Current size of index is 134,54 MiB
$ balooctl restart
$ Failed to register via dbus. Another instance is running
^C
$ balooctl stop
$ balooctl start
$ Failed to register via dbus. Another instance is running
^C
$ balooctl enable
Enabling the File Indexer
$ Failed to register via dbus. Another instance is running



Das selbe Verhalten, wenn ich die Index-Datei manuell lösche/umbenenne.
Das selbe Verhalten, wenn ich die Dateisuche unter den Systemeinstellungen de- und anschließend wieder reaktiviere.


Ich wäre froh für jeden Tipp/jede weitere Idee!
Viele Grüße!
Hans

devil

Bei mir stoppt er auch manchmal. Ich habe auf einer neuen Instanz gerade festgestellt, dass Baloo zwar lief, aber nicht indexierte. Ein beherztes$balooctl disble gefolgt von balooctl enable sollte die Dinge wieder in Gang bringen. Danach sah es bei mir so aus:devilz@siductionbox:~$ balooctl status
Baloo File Indexer is running
Indexer state: Dateiinhalt wird indiziert
Indexed 4111 / 18235 files
Current size of index is 39,27 MiB



Mit htop kannst Du dann kontrollieren, ob Baloo auch wirklich läuft.


greetz
devil

mylo

Habe mal geprüft und habe das gleiche Verhalten. Beherzt gelöst!

jure

habt ihr mal beherzt geprüft, ob baloo diverse Dateien findet, die gefunden werden sollten?

auf dem pc
balooctl status
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 49454 / 49454 files
Current size of index is 441,03 MiB


lege ich z.B. auf dem NAS eine testdatei.txt ab, habe ich sofort, ohne etwas anzustoßen

balooctl status
Baloo File Indexer is running
Indexer state: Dateiinhalt wird indiziert
Indexed 49455 / 49455 files
Current size of index is 441,03 MiB


auf dem notebook funzt das nicht so gut, da gint es auch nur "indexed 3779 / 49499 files" mit 37MB
Gruss Juergen

devil

und nach disable/enbable?


greetz
devil

absolut

ich musste für suche in dolphin neben baloo natürlich noch die kio sachen installieren


kio-extras

das zieht noch dependencies zu einigen libkf5kio*

gruß
absolut

jure

#6
mit "balooctl disable" wird auch der Index gelöscht und nach "balooctl enable" wieder neu erstellt. Aber auf den NB wurden bisher nie alle files indexiert (wie in deinem Beispiel oben NACH disable & enable)
devilz@siductionbox:~$ balooctl status
Baloo File Indexer is running
Indexer state: Dateiinhalt wird indiziert
Indexed 4111 / 18235 files
Current size of index is 39,27 MiB


und hier auf dem NB
indexed 3779 / 49499 files



edit:

auf dem pc
dpkg -l libkf5kio* kio kio-extras | grep ii
ii  kio                         5.15.0-siduction1.1  amd64        Resource and network access abstraction.
ii  kio-extras                  4:15.08.2-siduction1 amd64        Extra functionality for kioslaves.
ii  libkf5kiocore5:amd64        5.15.0-siduction1.1  amd64        Resource and network access abstraction.
ii  libkf5kiofilewidgets5:amd64 5.15.0-siduction1.1  amd64        Resource and network access abstraction.
ii  libkf5kiontlm5:amd64        5.15.0-siduction1.1  amd64        Resource and network access abstraction.
ii  libkf5kiowidgets5:amd64     5.15.0-siduction1.1  amd64        Resource and network access abstraction.


auf dem NB das Gleiche nur für i386
Gruss Juergen

10toe

Kann es sein, dass es ein i386-Problem ist? Schaut mal, ich habe vor enable/disable den Status angeguckt, und danach mehrmal in etwa 5-Sekunden-Intervallen. Es bleibt immer an (fast) der selben Stelle hängen:


$ balooctl status
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 6641 / 98100 files
Current size of index is 67,19 MiB

$ balooctl disable
Disabling the File Indexer


$ balooctl enable
Enabling the File Indexer
hans@thinkboxX201:~$ org.kde.baloo: "/home/hans"
Power state changed


$ balooctl status
Baloo File Indexer is running
Indexer state: Erstindizierung
Indexed 0 / 0 files
Current size of index is 12,00 KiB

$ balooctl status
Baloo File Indexer is running
Indexer state: Erstindizierung
Indexed 0 / 0 files
Current size of index is 12,00 KiB

$ balooctl status 
Baloo File Indexer is running
Indexer state: Erstindizierung
Indexed 0 / 0 files
Current size of index is 12,00 KiB

$ balooctl status 
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 6642 / 98100 files
Current size of index is 67,21 MiB

$ balooctl status 
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 6642 / 98100 files
Current size of index is 67,21 MiB

$ balooctl status 
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 6642 / 98100 files
Current size of index is 67,21 MiB



(i386 bei mir)


jure

jepp - bei mir ist das NB auf dem es nicht wirklich funktioniert ein i386.
Gruss Juergen

absolut

ich hab den thread überflogen und komme zu dem schluss, dass mein einwurf mit kio zeugs eher nicht passend ist...

bei mir ist amd64 und baloo läuft:

$ balooctl status
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 32797 / 32797 files
Current size of index is 1,89 GiB

jure

bei mir auf dem amd64 PC ja auch - dein Index ist ja echt groß im Verhältnis
balooctl status
Baloo File Indexer is running
Indexer state: Dateiinhalt wird indiziert
Indexed 49455 / 49455 files
Current size of index is 441,03 MiB
Gruss Juergen

absolut

hallo Jure, stimmt, das ist eigenartig.

Ich kenne mich mit der zugrunde liegenden Technik nicht aus...
ist das so in Ordnung, oder liegt ein Fehler vor?

jure

Zitat von: absolut in 2015/11/16, 11:25:57
....
Ich kenne mich mit der zugrunde liegenden Technik nicht aus...
ist das so in Ordnung, oder liegt ein Fehler vor?

da habe wir etwas gemeinsam ;-)
Wird denn bei dir gefunden wonach gesucht wird?
Das Ganze ist, so finde ich, auch nur mäßig dokumentiert,

ein paar Infos
https://www.kde.org/announcements/kde-frameworks-5.15.0.php
http://vhanda.in/blog/2015/10/baloo-5-15/ - der Entwickler
https://community.kde.org/Baloo/Configuration
http://api.kde.org/frameworks-api/frameworks5-apidocs/baloo/html/index.html

welche Version von baloo hast du installiert ?

hier auf dem PC (auf dem NB i386 die selbe Version von baloo-kf5, ohne baloo)
dpkg -l baloo* | grep ii
ii  baloo          4:5.15.0+-siduction1 amd64        transitional package for baloo
ii  baloo-kf5      5.15.0+-siduction1   amd64        framework for searching and managing metadata


Gruss Juergen

devil

apt-cache search baloo findet da noch einige nützliche Tools


greetz
devil

cs

Ich hatte das Problem, dass der baloo indexer immer an derselben Datei mit einem Dateinamen hängen blieb, der einen Umlaut enthielt. Ich habe die Datei mit convmv UTF8-kompatibel gemacht, und jetzt scheint das Problem behoben (rekursiv mit Unterverzeichnissen):

convmv --notest  -f iso-8859-15 -t utf-8 -r .

Man sollte vorher einen Probedurchlauf machen, um zu sehen, was convmv anrichten will:

convmv -f iso-8859-15 -t utf-8 -r .