Siduction Forum

Siduction Forum => Software - Support => Topic started by: 10toe on 2015/11/15, 01:23:54

Title: baloo: Datei-Indizierung inaktiv
Post by: 10toe on 2015/11/15, 01:23:54
Hallo! Der besseren Übersicht wegen starte ich hier mal das Thema gesondert.


In einem anderen Thread (http://forum.siduction.org/index.php?topic=5879.0) 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.


Code: [Select]
$ 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
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: devil on 2015/11/15, 08:00:39
Bei mir stoppt er auch manchmal. Ich habe auf einer neuen Instanz gerade festgestellt, dass Baloo zwar lief, aber nicht indexierte. Ein beherztes
Code: [Select]
$balooctl disble gefolgt von
Code: [Select]
balooctl enable sollte die Dinge wieder in Gang bringen. Danach sah es bei mir so aus:
Code: [Select]
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
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: mylo on 2015/11/15, 11:28:03
Habe mal geprüft und habe das gleiche Verhalten. Beherzt gelöst!
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: jure on 2015/11/15, 11:40:12
habt ihr mal beherzt geprüft, ob baloo diverse Dateien findet, die gefunden werden sollten?

auf dem pc
Code: [Select]
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

Code: [Select]
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
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: devil on 2015/11/15, 14:33:55
und nach disable/enbable?


greetz
devil
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: absolut on 2015/11/15, 15:03:00
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
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: jure on 2015/11/15, 15:18:29
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)
Code: [Select]
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
Code: [Select]
indexed 3779 / 49499 files


edit:

auf dem pc
Code: [Select]
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
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: 10toe on 2015/11/15, 20:58:52
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:


Code: [Select]
$ 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)
 
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: jure on 2015/11/15, 21:44:08
jepp - bei mir ist das NB auf dem es nicht wirklich funktioniert ein i386.
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: absolut on 2015/11/15, 21:58:32
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:

Code: [Select]
$ balooctl status
Baloo File Indexer is running
Indexer state: Inaktiv
Indexed 32797 / 32797 files
Current size of index is 1,89 GiB
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: jure on 2015/11/15, 22:02:09
bei mir auf dem amd64 PC ja auch - dein Index ist ja echt groß im Verhältnis
Code: [Select]
balooctl status
Baloo File Indexer is running
Indexer state: Dateiinhalt wird indiziert
Indexed 49455 / 49455 files
Current size of index is 441,03 MiB
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: absolut on 2015/11/16, 11:25:57
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?
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: jure on 2015/11/16, 12:02:20
....
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 (https://www.kde.org/announcements/kde-frameworks-5.15.0.php)
http://vhanda.in/blog/2015/10/baloo-5-15/ (http://vhanda.in/blog/2015/10/baloo-5-15/) - der Entwickler
https://community.kde.org/Baloo/Configuration (https://community.kde.org/Baloo/Configuration)
http://api.kde.org/frameworks-api/frameworks5-apidocs/baloo/html/index.html (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)
Code: [Select]
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

Title: Re: baloo: Datei-Indizierung inaktiv
Post by: devil on 2015/11/16, 13:10:48
Code: [Select]
apt-cache search baloo findet da noch einige nützliche Tools


greetz
devil
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: cs on 2015/11/16, 19:18:58
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):

Code: [Select]
convmv --notest  -f iso-8859-15 -t utf-8 -r .
Man sollte vorher einen Probedurchlauf machen, um zu sehen, was convmv anrichten will:

Code: [Select]
convmv -f iso-8859-15 -t utf-8 -r .
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: jure on 2015/11/16, 19:34:40
woher wusstest du an welcher Datei es lag?

Scheint hier aber nicht der Fall zu sein, da es auf dem PC ja durchläuft.
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: cs on 2015/11/16, 19:39:03
Hab's nicht mehr genau im Kopf, aber wenn ich balooctl disable und danach enable eingab, kam die Fehlermeldung, dass die Datei nicht lesbar sei, und der Umlaut im Dateinamen wurde als weiße Raute mit schwarzem Fragezeichen dargestellt, weshalb ich die Vermutung hatte, dass es an der mangelnden UTF8-Kompatibilität liegen könnte.

Viele Grüße

cs
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: 10toe on 2015/11/19, 20:10:54
Danke für den Tipp, cs. Leider war das bei mir nicht der Grund, alle Dateien waren bereits UTF8-codiert.


In anderen Foren las ich, dass baloo die Indizierung aussetzt, wenn ein Notebook im Akku-Betrieb läuft. Leider ist auch das nicht die Ursache, dass bei mir die Index-Datei nur eine gewisse Größe erreicht und nicht größer wird.


Dann las ich, dass eventuell das Power-Management damit zu tun haben könnte (nan solle es angeschaltet lassen.) Hm, aber wir haben doch höchstens power devil...


Naja, Stand der Dinge bei mir:


Code: [Select]
$ balooctl status
Baloo File Indexer is running
Indexer state: Dateiinhalt wird indiziert
Indexed 6645 / 98135 files
Current size of index is 71,75 MiB


Obwohl es heißt, der Dateiinhalt wird indiziert, bleibt dieser Zustand eingefroren.
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: melmarker on 2015/11/20, 00:34:38
hört sich irgendwie nach einem Upstream-Bug an - sollte man da eventuell mal was melden?
Title: Re: baloo: Datei-Indizierung inaktiv
Post by: devil on 2021/04/09, 11:54:32
Der Thread ist zwar schon sehr alt, aber ich bin erst kürzlich wieder auf  ein ähnliches Problem mit Baloo gestoßen und fand die Lösung dann hier: https://linuxnews.de/2021/03/ueberwachung-von-aenderungen-der-inotify-kernel-parameter/