Error Elasticsearch error: Elastica\Exception\ClientException

193 views
Skip to first unread message

Khairunnisah Khairunnisah

unread,
Aug 30, 2021, 6:19:04 AM8/30/21
to AtoM Users
I always get this error Elasticsearch error: Elastica\Exception\ClientException whenever I click menu (detail can be seen in attached picture) :
error.PNG

This website runs on docker. 
How can I solve this?

Dan Gillean

unread,
Aug 30, 2021, 1:24:07 PM8/30/21
to ICA-AtoM Users
Hi there,

Typically we see this error when either the Elasticsearch service is not running, or else it has not been allocated enough resources, such as memory or disk space (which can force ES into read-only mode). 

Regarding the possibility of a memory error: please note that the AtoM docker-compose environment is NOT intended for use in production as a persistent environment. It's intended use is for local testing and development on a personal computer. If you are trying to run a production-ready web accessible version of AtoM, you will likely need to scale the resources used in all containers at minimum. 

First, let's try restarting the Elasticsearch service to see if it helps. 

You can see all containers and their statuses with the following: 
To see the name of services listed, run: 
  • docker-compose ps --services
To restart the elasticsearch service, try: 
  • docker-compose restart elasticsearch
You might also want to try running the AtoM search:status command to see the status of your ES service: 
You may need to repopulate the search index, and run other AtoM maintenance tasks as well. 
For other basic maintenance tasks such as clearing the application cache, restarting services, rebuilding the nested set, etc. see: 
For other general information about troubleshooting Elasticsearch issues, see: 
Let us know how it goes!

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/d4b0c408-a96d-4d05-85ab-87a458abc0a3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages