Issue while running FSCrawler on new install of Windows Server 2016


My apologies if I have missed any data but I am new to ES.

I get the following error when trying to run FSCrawler:

Error: Could not find or load main class Files\Elasticsearch\fscrawler-es7-2.7.config.log4j2.xml
Caused by: java.lang.ClassNotFoundException: Files\Elasticsearch\fscrawler-es7-2.7.config.log4j2.xml

This is a brand new install of Windows. I am using ES 7.15, Kibana 7.15 and FSC 2.7.
I have this working on a VM (Win 2012 Server) but wanted to run it on a physical machine. Both ES and Kibana seem to be working as expected.

I have also installed JDK 17.0.1. I have set my JAVA_HOME and PATH

Anyone any ideas as to my issue?

I worked out what my issue was. I have setup my FSCrawler directory in C:\Program Files\Elasticsearch and it is not picking up the path correctly. It is only seeing the Files part of Program Files. If I move it to a folder called Program_Files then it all works perfectly.

Maybe there needs to be some work done to allow for Directories that have a space in their name.

Thanks @Steveh15 .

Could you please open an issue in FSCrawler project? This is indeed a bug.

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