Closed kapikapikapibarah closed 6 years ago
It's better to check the following setting in Installation Guide
set FESS_PARAMS=%FESS_PARAMS% -Dfess.dictionary.path="c:/<elasticsearch-<version>/config/"
and then delete fess.YYYYMMDD
index and start Fess.
Thanks for your answer, @marevol .
I checked that url and tried. I got some changes, but couldn't success. I added below settings to fess.in.bat. I installed to 'e-drive'.
set FESS_PARAMS=%FESS_PARAMS% -Dfess.es.http_address=http://localhost:9200
set FESS_PARAMS=%FESS_PARAMS% -Dfess.es.transport_addresses=localhost:9300
set FESS_PARAMS=%FESS_PARAMS% -Dfess.dictionary.path="e:/elasticsearch/config/"
I deleted index 'fess.yymmdd' from elasticsearch. and I re-install the fess-service, start it, after elasticsearch-service start. Fess started with inside-elasticsearch, port 9201. External elasticsearch was working with port 9200.
I tried to below setting, but same result.
set FESS_PARAMS=%FESS_PARAMS% -Dfess.dictionary.path="e:/elasticsearch/config/
The extra elasticsearch is running. http://localhost:9200/
{
"name" : "Y5kUTXy",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "txjvwLQdSF231Y5xK9chyg",
"version" : {
"number" : "6.3.2",
"build_flavor" : "default",
"build_type" : "zip",
"build_hash" : "053779d",
"build_date" : "2018-07-20T05:20:23.451332Z",
"build_snapshot" : false,
"lucene_version" : "7.3.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
E:\elasticsearch\bin\elasticsearch-plugin list
analysis-extension
analysis-fess
configsync
dataformat
langfield
learning-to-rank
minhash
'elasticsearch.yml' was added below line.
configsync.config_path: "e:/elasticsearch/config"
What can I do for it works. Thanks.
Fess started with inside-elasticsearch, port 9201
If setting fess.es.transport_addresse correctly, embedded elasticsearch does not start with 9201 port in Fess.
Settings in fess.in.bat are stored into Windows service by running service.bat. So, you need to modify settings before registering Windows service. Settings in Windows service might not be correct...
Thanks for quickly reply! @marevol
I think theses setting is good. I nerver typed '9201'.
fess.in.bat
set FESS_PARAMS=%FESS_PARAMS% -Dfess.es.http_address=http://localhost:9200
set FESS_PARAMS=%FESS_PARAMS% -Dfess.es.transport_addresses=localhost:9300
I modified 'elasticsearch.http.url=http://localhost:9201' to 'elasticsearch.http.url=http://localhost:9200' in fess/app/WEB-INF/classes/fess_config.properties, and re-registed Windows service. Also two elasticsearch wakeup on port 9200 and 9201. But FESS dashbord shows 'Y5kUTXy'. This name shows a external elasticsearch. But alert message on FEDD dashbord was keeping on displayed 'Running as Development mode. For Production use...'
Does embedded elasticsearch collision other elasticsearch on port 9200? Port 9300 is only LISTENING, it is not ESTABLISHED. Port 9301 is ESTABLISHED. Is it wrong setting?
Thanks.
If settings for external elasticsearch are not configured(or not correct), Fess starts embedded elasticsearch with 9201 port. So, I think that settings in config files or Windows service are not proper.
But alert message on FEDD dashbord was keeping on displayed 'Running as Development mode. For Production use...'
It's displayed when Fess starts embedded elasticsearch.
Registered Windows service might not be correct...
Thank you for youre reply, @marevol
I got it. Cause I changed the setting of fess.in.bat.
set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.es.http_address=http://localhost:9200
set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.es.transport_addresses=localhost:9300
set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.dictionary.path="e:/elasticsearch/config/"
Fess start without any ploblem, and no dashbord-message. Awesome!! I appriciate you've helped me out so mutch.
But It can't crawl any documents without local file. It says 'WARN Referral failed, trying next'. I can make another issue about this, I couldn't make breakethrough.
Thaks!!
I'm trying to build fess server with elasticsearch on windows10 Pro 64bit. But the errror occured at the startup process. Elasticsearch would start with no error. Please help me.
fess-12.2.0.zip elasticsearch-6.3.2.zip windows 10 pro
Below is the 'fess.log'