fscrawler icon indicating copy to clipboard operation
fscrawler copied to clipboard

Exception starting fscrawler with docker-compose

Open jmls opened this issue 2 years ago • 1 comments

Describe the bug

Following the example at https://fscrawler.readthedocs.io/en/latest/installation.html#using-docker-compose

When I run the docker-compose up fscrawler command I get the error

Attaching to fscrawler
fscrawler  | Exception in thread "main" java.util.NoSuchElementException
fscrawler  |    at java.base/java.util.Scanner.throwFor(Scanner.java:937)
fscrawler  |    at java.base/java.util.Scanner.next(Scanner.java:1478)
fscrawler  |    at fr.pilato.elasticsearch.crawler.fs.cli.FsCrawlerCli.main(FsCrawlerCli.java:254)
fscrawler exited with code 1
fscrawler  | Exception in thread "main" java.util.NoSuchElementException
fscrawler  |    at java.base/java.util.Scanner.throwFor(Scanner.java:937)
fscrawler  |    at java.base/java.util.Scanner.next(Scanner.java:1478)
fscrawler  |    at fr.pilato.elasticsearch.crawler.fs.cli.FsCrawlerCli.main(FsCrawlerCli.java:254)
fscrawler exited with code 1

Job Settings

name: 'build-one-scan'
elasticsearch:
    nodes:
        - url: 'http://elasticsearch:9200'

Logs

the only thin in the logs is the errors above

Expected behavior

For fscrawler to start running

Versions:

  • OS:Ubuntu
  • Version 20.04.4 LTS

jmls avatar May 20 '22 19:05 jmls

Could you try with 2.10-SNAPSHOT ?

dadoonet avatar May 24 '22 18:05 dadoonet

No further comment. I updated the documentation recently and I think it works fine now.

dadoonet avatar Aug 20 '22 11:08 dadoonet