Configuration for Fess

(from github.com/dracorp)
Hello
I had installed Fess from zip archive. It worked well. I decided to connect it with standalone Elasticsearch also from zip archive.
But after restarting Fess I lost configuration: crawlers, users, labels, and schedulers.
Where they are kept?
For Fess I’ve added only below configuration:

-D fess.es.http_address=http://localhost:9200
-D fess.es.transport_addresses=localhost:9300
-D fess.dictionary.path="/var/lib/elasticsearch/config

Are there somewhere in fess/es/data/node_1/nodes/0?

(from github.com/marevol)
Configurations are in .fess_config index.

(from github.com/dracorp)
I cannot find any my configurations in fess/app/WEB-INF/classes/fess_indices/.fess_config. But I’ve found the new configurations in /var/lib/elasticsearch/data/nodes/0/indices.
I’m using:

  • fess-11.4.2
  • elastisearch-5.6.3

How I can import previous data from fess/es/data/node_1/nodes/0 to new the location, for standalone elasticsearch?

$ du -sh 0
5.6G    0

(from github.com/marevol)
Enough knowledge of elasticearch is required…
I think it’s better to use backup/restore.

(from github.com/dracorp)
Thx, tomorrow I’ll try. But why this configuration (crawler, label, account, scheduler etc) is kept in elasticsearch data directory not in .fess_config?
And another issue related with “migration”. After moving content of data directory from Fess to elasticsearch and back to Fess I don’t have access to my data via Fess web interface.

2017-10-27 07:06:50,394 [localhost-startStop-1] ERROR Failed to initialize Lasta Di.
org.lastaflute.di.exception.ContainerInitFailureException: Look! Read the message below.
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Failed to initialize the container.

From my side EOT, thx. That is too much for orig question.

(from marevol (Shinsuke Sugaya) · GitHub)

why this configuration (crawler, label, account, scheduler etc) is kept in elasticsearch data directory not in .fess_config?

Fess is scalable system. Using index, Multiple Fess instances are able to share configurations.

(from github.com/dracorp)
It makes sense, thx