Legacy Knowledge Base
Published Jun. 30, 2025

Sidecar Elasticsearch process is aborted

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Unable to restart the Liferay application server even after clearing temporary directories and 'An unexpected system error occurred' is showing on the UI.
  • Following error appears in the log file:
    [Sidecar:617] Sidecar Elasticsearch process is aborted
    java.util.concurrent.ExecutionException: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 1
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
    at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
    at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar$RestartFutureListener.complete(Sidecar.java:613) [bundleFile:?]
    at com.liferay.petra.concurrent.DefaultNoticeableFuture$OnceFutureListener.complete(DefaultNoticeableFuture.java:102) [com.liferay.petra.concurrent.jar:?]
    at com.liferay.petra.concurrent.DefaultNoticeableFuture.done(DefaultNoticeableFuture.java:76) [com.liferay.petra.concurrent.jar:?]
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) [?:?]
    at java.util.concurrent.FutureTask.setException(FutureTask.java:250) [?:?]
    at com.liferay.petra.concurrent.DefaultNoticeableFuture.setException(DefaultNoticeableFuture.java:70) [com.liferay.petra.concurrent.jar:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:269) [?:?]
    at java.lang.Thread.run(Thread.java:829) [?:?]
    Caused by: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 1
    at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:300) ~[com.liferay.petra.process.jar:?]
    at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:152) ~[com.liferay.petra.process.jar:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
    … 1 more

Environment

  • 2023.Q3
  • 2023.Q4

Resolution

  • Make sure that the elasticsearch server is up and running correctly.
  • After verifying, restart Liferay and delete the below folders. 
    1. Delete liferay_home/work
    2. Delete liferay_home/tomcat/work
    3. Delete liferay_home/tomcat/temp
    4. Delete liferay_home/OSGi/state
    5. Restart the server

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base