Siduction Forum
Siduction Forum => Software - Support => Topic started 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.
$ 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
-
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
-
Habe mal geprüft und habe das gleiche Verhalten. Beherzt gelöst!
-
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
-
und nach disable/enbable?
greetz
devil
-
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
-
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
-
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)
-
jepp - bei mir ist das NB auf dem es nicht wirklich funktioniert ein i386.
-
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
-
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
-
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?
-
....
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)
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
-
apt-cache search baloo
findet da noch einige nützliche Tools
greetz
devil
-
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 .
-
woher wusstest du an welcher Datei es lag?
Scheint hier aber nicht der Fall zu sein, da es auf dem PC ja durchläuft.
-
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
-
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:
$ 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.
-
hört sich irgendwie nach einem Upstream-Bug an - sollte man da eventuell mal was melden?
-
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/