Elasticsearch on AtoM 2.5 fails to start

31 views
Skip to first unread message

Jonathan Sinclair

unread,
Dec 2, 2025, 2:39:34 PMDec 2
to AtoM Users
I am trying to upgrade an old installation from 2.4 and have installed AtoM 2.5 on Ubuntu 18.04. AtoM is now installed, however I cannot set up the initial database as Elasticsearch is not running: 
  • Can't connect to the server (Failed to connect to localhost port 9200: Connection refused). 

Is there a way to get the service started?

 elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Mon 2025-12-01 12:00:07 EST; 33s ago
     Docs: http://www.elastic.co
  Process: 1109 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=killed, signal=KILL)
  Process: 1100 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
 Main PID: 1109 (code=killed, signal=KILL)

deepak chauhan

unread,
Dec 4, 2025, 2:19:16 PMDec 4
to AtoM Users

it might be due to memory for elastic search. Elasticsearch needs minimum 2 GB of RAM, try to increase it. whats the process you are following ? 

Jonathan Sinclair

unread,
Dec 4, 2025, 3:02:26 PMDec 4
to AtoM Users
Hi Deepak,

Thanks for the suggestion, indeed the memory was too low. I have increased it to 8GB, and Elasticsearch started. However, I now receive an HTTP 500 error when I access the web interface. This was previously working despite not being able to move past the Elasticsearch section.

deepak chauhan

unread,
Dec 4, 2025, 3:07:14 PMDec 4
to AtoM Users
Couple of questions : 
whats your set up ?
why are you using atom 2.5?
after increasing the memory did you try to redo others things also.
Did you check your logs ?

Jonathan Sinclair

unread,
Dec 5, 2025, 10:59:17 AMDec 5
to AtoM Users
Given that this was a brand new install where I would import old data, I just recreated the server with the correct specs from the start. I have now imported and upgraded to 2.5. I'll continue on to 2.6 and so on until I'm up to date.

Appreciate the point in the right direction! 
Reply all
Reply to author
Forward
0 new messages