GNOME Bugzilla – Bug 351391
Will not index home folder
Last modified: 2006-08-16 19:34:18 UTC
Please describe the problem: Installed Beagle 0.2.6 from Ubuntu 6.06 package. Instructed it to index my home folder. beagled is running, but while it will index documentation on my Kubuntu system, it indexes no documents from my home folder. The index log contains the following messages: 060814 1058062650 06043 Beagle DEBUG: Removing root: /home/arthur 060814 1058062666 06043 Beagle ERROR: Could not find directory-model for root: /home/arthur I installed the same package on another Kubuntu 6.06 machine I manage and it indexes the home folder fine there. Any ideas? I tried unchecking and re-checking the "Index my home directory" checkbox on beagle-settings' Indexing tab. It is clearly trying to index my home folder but failing. Steps to reproduce: 1. Install Beagle from (K)Ubuntu 6.06 package. 2. Configure indexing of home folder via beagle-settings. Make sure "Start search & indexing services automatically" was checked. 3. Reboot machine for good measure. 4. Confirm beagled is running. 5. Try to search for anything in the home folder--no dice. Actual results: No search results appear from my home folder. Expected results: I'd find some documents. Does this happen every time? Yes, on this Kubuntu 6.06 installation. On another installation it works. Other information: Complete current Beagle log file: 060814 0941266478 06043 Beagle DEBUG: Starting Beagle Daemon (version 0.2.6) 060814 0941266935 06043 Beagle DEBUG: Running on Mono 1.1.13.6 060814 0941266943 06043 Beagle DEBUG: Command Line: /usr/lib/beagle/BeagleDaemon.exe --bg 060814 0941267282 06043 Beagle WARN: Extended attributes are not supported on this filesystem. Performance will suffer as a result. 060814 0941277991 06043 Beagle DEBUG: Established a connection to the X server 060814 0941278013 06043 Beagle DEBUG: Starting main loop 060814 0941278085 06043 Beagle DEBUG: Starting messaging server 060814 0941283734 06043 Beagle DEBUG: Starting QueryDriver 060814 0941284847 06043 Beagle DEBUG: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml 060814 0941293558 06043 Beagle DEBUG: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml 060814 0941293838 06043 Beagle DEBUG: Loading Beagle.Util.Conf+SearchingConfig from searching.xml 060814 0941294297 06043 Beagle DEBUG: Loading Beagle.Util.Conf+NetworkingConfig from networking.xml 060814 0941294792 06043 Beagle DEBUG: Loading Beagle.Util.Conf+WebServicesConfig from webservices.xml 060814 0941294841 06043 Beagle DEBUG: '/usr/lib/beagle/Backends' is not a directory: Nothing loaded from here 060814 0941298247 06043 Beagle DEBUG: Found index helper at /usr/lib/beagle/beagled-index-helper 060814 0941298487 06043 Beagle DEBUG: KMail folders not found. Will keep trying 060814 0941298897 06043 Beagle DEBUG: Starting Inotify Backend 060814 0941302001 06043 Beagle DEBUG: Found 10 backends in /usr/lib/beagle/BeagleDaemonLib.dll 060814 0941302015 06043 Beagle DEBUG: Reading mapping from filters 060814 0941303290 06043 Beagle DEBUG: Loading system static indexes. 060814 0941303795 06043 Beagle DEBUG: Initializing static queryable: /var/cache/beagle/indexes/applications 060814 0941304137 06043 Beagle DEBUG: Initializing static queryable: /var/cache/beagle/indexes/documentation 060814 0941304141 06043 Beagle DEBUG: Found 2 system-wide indexes. 060814 0941304159 06043 Beagle DEBUG: Loading user-configured static indexes. 060814 0941304162 06043 Beagle DEBUG: Found 0 user-configured static indexes.. 060814 0941304164 06043 Beagle DEBUG: Waiting 60 seconds before starting queryables 060814 0941304170 06043 Beagle DEBUG: Starting Scheduler thread 060814 0941304247 06043 Beagle DEBUG: Starting Inotify threads 060814 0941304776 06043 Beagle DEBUG: Daemon initialization finished after 2.67s 060814 0942304259 06043 Beagle DEBUG: Starting queryables 060814 0942304264 06043 Beagle DEBUG: Starting backend: 'KMail' 060814 0942304273 06043 Beagle DEBUG: Starting backend: 'Files' 060814 0942304298 06043 Beagle DEBUG: Adding root: /home/arthur 060814 0942304320 06043 Beagle DEBUG: Starting KMail backend 060814 0942304333 06043 Beagle DEBUG: KMail directories (local mail) /home/arthur/.kde/share/apps/kmail/dimap not found, will repoll. 060814 0942304886 06043 Beagle DEBUG: Loaded 0 records from /home/arthur/.beagle/Indexes/FileSystemIndex/FileAttributesStore.db in 0.000s 060814 0942305254 06043 Beagle DEBUG: Done starting FileSystemQueryable 060814 0942305257 06043 Beagle DEBUG: Starting backend: 'GaimLog' 060814 0942305264 06043 Beagle DEBUG: Starting backend: 'IndexingService' 060814 0942305283 06043 Beagle DEBUG: Scanning for files in the IndexingService directory... 060814 0942305327 06043 Beagle DEBUG: Indexed 0 Indexing Service items in .00s 060814 0942305331 06043 Beagle DEBUG: Starting backend: 'Tomboy' 060814 0942305338 06043 Beagle DEBUG: Starting backend: 'Blam' 060814 0942305369 06043 Beagle DEBUG: Starting backend: 'Liferea' 060814 0942305820 06043 Beagle DEBUG: Caught ResponseMessageException: Connection refused 060814 0942305829 06043 Beagle DEBUG: InnerException is SocketException -- we probably need to launch a helper 060814 0942305848 06043 Beagle DEBUG: Launching helper process 060814 0942305896 06043 Beagle DEBUG: Starting backend: 'Akregator' 060814 0942305953 06043 Beagle DEBUG: IndexHelper PID is 6077 060814 0942306000 06043 Beagle DEBUG: Starting backend: 'KonquerorHistory' 060814 0942306037 06043 Beagle DEBUG: Starting backend: 'Kopete' 060814 0942306286 06043 Beagle DEBUG: Starting Konq history backend ... 060814 0942306311 06043 Beagle DEBUG: Starting backend: 'applications' 060814 0942306314 06043 Beagle DEBUG: Starting backend: 'documentation' 060814 0942306335 06043 Beagle DEBUG: Scanning Akregator feeds... 060814 0942306495 06043 Beagle DEBUG: 0 files will be parsed (scanned in .02s) 060814 0942316085 06043 Beagle DEBUG: Found IndexHelper (6077) in 1.01s 060814 1054358962 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1054400932 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1055178415 06043 Beagle DEBUG: Parsed query 'sasquatch' as text_query 060814 1055181140 06043 Beagle DEBUG: Parsed query 'sasquatch' as text_query 060814 1056251094 06043 Beagle DEBUG: Parsed query 'ext:ods' as prop query:key=beagle:FilenameExtension, value=.ods and property type=Keyword 060814 1056251992 06043 Beagle DEBUG: Parsed query 'ext:ods' as prop query:key=beagle:FilenameExtension, value=.ods and property type=Keyword 060814 1056368419 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1056374183 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1056458541 06043 Beagle DEBUG: Parsed query 'test' as text_query 060814 1056479581 06043 Beagle DEBUG: Parsed query 'test' as text_query 060814 1058062577 06043 Beagle DEBUG: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml 060814 1058062650 06043 Beagle DEBUG: Removing root: /home/arthur 060814 1058062666 06043 Beagle ERROR: Could not find directory-model for root: /home/arthur 060814 1058062672 06043 Beagle DEBUG: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml 060814 1058062692 06043 Beagle DEBUG: Loading Beagle.Util.Conf+SearchingConfig from searching.xml 060814 1058062720 06043 Beagle DEBUG: Loading Beagle.Util.Conf+NetworkingConfig from networking.xml 060814 1058062736 06043 Beagle DEBUG: Loading Beagle.Util.Conf+WebServicesConfig from webservices.xml 060814 1058062761 06043 Beagle DEBUG: Removing root: /home/arthur 060814 1058062763 06043 Beagle ERROR: Could not find directory-model for root: /home/arthur 060814 1058062769 06043 Beagle DEBUG: Removing root: /home/arthur 060814 1058062770 06043 Beagle ERROR: Could not find directory-model for root: /home/arthur 060814 1058062775 06043 Beagle DEBUG: Removing root: /home/arthur 060814 1058062776 06043 Beagle ERROR: Could not find directory-model for root: /home/arthur 060814 1058062786 06043 Beagle DEBUG: Removing root: /home/arthur 060814 1058062788 06043 Beagle ERROR: Could not find directory-model for root: /home/arthur 060814 1058319302 06043 Beagle DEBUG: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml 060814 1058319326 06043 Beagle DEBUG: Adding root: /home/public 060814 1058319333 06043 Beagle DEBUG: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml 060814 1058319353 06043 Beagle DEBUG: Loading Beagle.Util.Conf+SearchingConfig from searching.xml 060814 1058319380 06043 Beagle DEBUG: Loading Beagle.Util.Conf+NetworkingConfig from networking.xml 060814 1058319396 06043 Beagle DEBUG: Loading Beagle.Util.Conf+WebServicesConfig from webservices.xml 060814 1100038365 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1100045342 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1103029853 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1103036845 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1103083904 06043 Beagle DEBUG: Parsed query 'ext:ods' as prop query:key=beagle:FilenameExtension, value=.ods and property type=Keyword 060814 1103083909 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1103084555 06043 Beagle DEBUG: Parsed query 'ext:ods' as prop query:key=beagle:FilenameExtension, value=.ods and property type=Keyword 060814 1103084558 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1103111398 06043 Beagle DEBUG: Parsed query 'ext:ods' as prop query:key=beagle:FilenameExtension, value=.ods and property type=Keyword 060814 1103111860 06043 Beagle DEBUG: Parsed query 'ext:ods' as prop query:key=beagle:FilenameExtension, value=.ods and property type=Keyword 060814 1103121698 06043 Beagle DEBUG: Parsed query 'ext:odt' as prop query:key=beagle:FilenameExtension, value=.odt and property type=Keyword 060814 1103122258 06043 Beagle DEBUG: Parsed query 'ext:odt' as prop query:key=beagle:FilenameExtension, value=.odt and property type=Keyword 060814 1231082658 06043 Beagle DEBUG: Parsed query 'ext:odt' as prop query:key=beagle:FilenameExtension, value=.odt and property type=Keyword 060814 1231083063 06043 Beagle DEBUG: Parsed query 'ext:odt' as prop query:key=beagle:FilenameExtension, value=.odt and property type=Keyword 060814 1231116996 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1231123984 06043 Beagle DEBUG: Parsed query 'linux' as text_query 060814 1234170060 06043 Beagle DEBUG: Parsed query 'fishing' as text_query 060814 1234185581 06043 Beagle DEBUG: Parsed query 'fishing' as text_query 060814 1234281963 06043 Beagle DEBUG: Parsed query 'fishing' as text_query 060814 1234281967 06043 Beagle DEBUG: Parsed query 'ext:pdf' as prop query:key=beagle:FilenameExtension, value=.pdf and property type=Keyword 060814 1234282607 06043 Beagle DEBUG: Parsed query 'fishing' as text_query 060814 1234282612 06043 Beagle DEBUG: Parsed query 'ext:pdf' as prop query:key=beagle:FilenameExtension, value=.pdf and property type=Keyword 060814 1234303935 06043 Beagle DEBUG: Parsed query 'ext:pdf' as prop query:key=beagle:FilenameExtension, value=.pdf and property type=Keyword 060814 1234304271 06043 Beagle DEBUG: Parsed query 'ext:pdf' as prop query:key=beagle:FilenameExtension, value=.pdf and property type=Keyword 060814 1238125385 06043 Beagle DEBUG: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml 060814 1238125411 06043 Beagle DEBUG: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml 060814 1238125431 06043 Beagle DEBUG: Loading Beagle.Util.Conf+SearchingConfig from searching.xml 060814 1238125457 06043 Beagle DEBUG: Loading Beagle.Util.Conf+NetworkingConfig from networking.xml 060814 1238125474 06043 Beagle DEBUG: Loading Beagle.Util.Conf+WebServicesConfig from webservices.xml 060814 1354027394 06043 Beagle DEBUG: Parsed query 'ext:pdf' as prop query:key=beagle:FilenameExtension, value=.pdf and property type=Keyword 060814 1354030263 06043 Beagle DEBUG: Parsed query 'ext:pdf' as prop query:key=beagle:FilenameExtension, value=.pdf and property type=Keyword 060814 1354072258 06043 Beagle DEBUG: Parsed query 'ext:pdf' as prop query:key=beagle:FilenameExtension, value=.pdf and property type=Keyword 060814 1357126168 06043 Beagle DEBUG: Parsed query 'test' as text_query 060814 1357133945 06043 Beagle DEBUG: Parsed query 'test' as text_query
Assuming "Index my home directory" is checked, can you attach both the current-Beagle and current-IndexHelper logs after you run "beagled --fg --debug --allow-backend files" ?
Created attachment 70998 [details] current-Beagle after running beagled --fg --debug --allow-backend files
Created attachment 70999 [details] current-IndexHelper after running beagled --fg --debug --allow-backend files
Created attachment 71000 [details] current-IndexHelperExceptions after running beagled --fg --debug --allow-backend files
Ahh .. the dreadful "Lock obain timed out: /home/arthur/.beagle/Indexes/FileSystemIndex/Locks/lucene-a3862db67237d4a8057d2a2efd3c0c02-write.lock -- pid -- process exists" bug. This was fixed in 0.2.7. I am not sure if that is causing the "Removing root" problem but it just a possibility. You can try to manually fix the problem: while beagled is _not_ running, delete /home/arthur/.beagle/Indexes/FileSystemIndex/Locks and restart beagled. Might fix it.
I think the "Removing root" thing is because Arthur kept clicking "index home directory" on and off, so it's not really a problem. The problem is definitetly the locking issue, which was fixed in 0.2.7. *** This bug has been marked as a duplicate of 340542 ***