[2022-01-05T15:44:38.488+00:00][32433][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Creating a default Workplace Search organization
[2022-01-05T15:44:39.419+00:00][32433][2002][app-server][INFO]: [db_lock] [installation] Status: [Failed] Creating a default Workplace Search organization: Error = Actastic::ActasticRecord::ActasticRecordError: cannot touch an object that is not persisted
Unexpected exception while running Enterprise Search:
Error: cannot touch an object that is not persisted at /es/www/wwwroot/server/enterprise-search/lib/war/lib/actastic/actastic_record.class:673:in `touch'
Elasticsearch can be successfully started and used.
Enterprise Search can successfully connect to Elasticsearch.
However, when it is about to run successfully, Enterprise Search will report an error, causing it to fail to run successfully. Error: cannot touch an object that is not persisted at xxxxx
I tried 7.10.1 and 7.16.1, and both reported the same error. I also tried to switch the SDK to OpenJDK1.8/Oracle 11.0.9.
When the prompt Error: cannot touch an object that is not persisted at xxxxx, I re-run Enterprise Search, it will prompt version conflict, document already exists (current version [2]) index'.ent-search- actastic-clusters'
You listed 2 versions of CentOS, then also 2 versions of Elasticsearch and Enterprise Search. Do I understand correctly that you tried it in 2 different configurations?
We normally use Open JDK, but you said you tried both Open JDK and Oracle, and the error was the same?
I attempted to reproduce your problem by running Enterprise Search 7.16.2 in docker (using a centos:7 base image), but I couldn't. I created an issue to track it in our internal repository, hopefully we'll find a solution, may require a bit of digging. Thank you for reporting the problem.
One other thing that comes to mind, is it at all possible that more than one Enterprise Search process was running? This sounds like a threading / concurrency issue.
You could try running Enterprise Search with Docker, see if that works:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.