This behavior is deprecated. Specify JAVA_HOME

Hi,

I ran into a error when I installed the latest version of ActiveCollab, it makes use of ES6 and not ES7, not sure why, I had ES7 installed but ActiveCollab confirmed I need to use ES6 for it to work.

Here is the error:

 elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2021-03-26 23:01:41 UTC; 3s ago
     Docs: http://www.elastic.co
  Process: 2205 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
 Main PID: 2205 (code=exited, status=1/FAILURE)

Mar 26 23:01:37 LiqActiveCollab systemd[1]: Started Elasticsearch.
Mar 26 23:01:37 LiqActiveCollab elasticsearch[2205]: warning: Falling back to java on path. This behavior is deprecated. Specify JAVA_HOME

I've followed some if the previous posts but wasn't successful, maybe I'm missing something somewhere.

I specified the JAVA_HOME directory but ES starts but immediately fails :frowning:

Any help would be appreciated.

Thanks.

Welcome to our community! :smiley:

Can you please check the Elasticsearch logs, there will be more there.

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