FSCrawler not running

(Pete Kasson) #1

Hi group,

I just tried to run FSCrawler for the first time, and it did not work. I have been asked to include any logs, etc, and don't see any. I created a test job and here is that ... following that, is the error message I received:

  "name" : "test",
  "fs" : {
    "url" : "/Users/pkasson/Downloads",
    "update_rate" : "15m",
    "excludes" : [ "~*" ],
    "json_support" : false,
    "filename_as_id" : false,
    "add_filesize" : true,
    "remove_deleted" : true,
    "add_as_inner_object" : false,
    "store_source" : false,
    "index_content" : true,
    "attributes_support" : false,
    "raw_metadata" : true,
    "xml_support" : false,
    "index_folders" : true,
    "lang_detect" : false,
    "continue_on_error" : false,
    "pdf_ocr" : true,
    "ocr" : {
      "language" : "eng"
  "elasticsearch" : {
    "nodes" : [ {
      "host" : "",
      "port" : 9200,
      "scheme" : "HTTP"
    } ],
    "bulk_size" : 100,
    "flush_interval" : "5s"
  "rest" : {
    "scheme" : "HTTP",
    "host" : "",
    "port" : 8085,
    "endpoint" : "fscrawler"
:fscrawler  bin/fscrawler ./test test
07:02:17,566 WARN  [f.p.e.c.f.c.ElasticsearchClientManager] failed to create elasticsearch client, disabling crawler...
07:02:17,570 FATAL [f.p.e.c.f.FsCrawler] Fatal error received while running the crawler: [Connection refused]
07:02:17,579 INFO  [f.p.e.c.f.FsCrawlerImpl] FS crawler [test] stopped
07:02:17,580 INFO  [f.p.e.c.f.FsCrawlerImpl] FS crawler [test] stopped

(David Pilato) #2

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:


There's a live preview panel for exactly this reasons.

I edited your post.

Can you share the elasticsearch logs please?

(Pete Kasson) #3

Where do I find the logs

"everyone always complains about the weather but no one does anything about it"

(David Pilato) #4

Where do I find the logs

Depends on how you installed elasticsearch.

(Pete Kasson) #5

I just unzipped it and ran from command line

"everyone always complains about the weather but no one does anything about it"

(David Pilato) #6

So logs are in logs dir and also printed on the console.

(Pete Kasson) #7

I posted what was sent on the console. there is no logs folder

(Pete Kasson) #8

Just curious - is the FSCrawler sufficient to test out the crawls, or is there another component I have not installed yet ? I am wondering if there is an engine component this thing is trying to connect to, I wouldn’t think so, but new to this.

(David Pilato) #9

It needs elasticsearch to be started.

(Pete Kasson) #10

Is that an open source / community service is it a commercial product ?

(David Pilato) #11

See https://www.elastic.co/products/elasticsearch

Open source and free to use.

(system) #12

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.