Search indexing fails to parse

Skip to first unread message

Toni Schoenbuchner

Jun 10, 2021, 6:16:26 AM6/10/21
to AtoM Users
Dear atom users and devs,

I'm trying to populate my search php /atom/src/symfony search:populate but failing with

 Error in one or more bulk request actions:                                
  index: /atom/QubitRepository/448 caused failed to parse [i18n.languages]

Can one help what could go wrong and how to get further log output to find the problem?

thanks a lot,

Toni Schoenbuchner

Jun 10, 2021, 7:09:06 AM6/10/21
to AtoM Users

Okay so I've found what is going wrong. I've followed this conversation to delete a translation ( while this is working nicely for archival descriptions it does not if the slug refers to an archive. My guess is that some foreign key still links to the deleted Spanish entry and that's why the indexing is failing.

So what I did is: dump all data and "grepped" for culture "es" which can only be found in "property_i18n" . Does this makes sense to clear those DELETE * from property_i18n pin WHERE culture  = "es"
What is property_i18n used for?

(By the way, this is all a test VM. So no danger to break anything ;)

Toni Schoenbuchner

Jun 10, 2021, 7:36:05 AM6/10/21
to AtoM Users
Unfortuantely this did not make it working . So elasticsearch is working on informationObjects when failing to insert. Thankful for any hint what else I can try.

Toni Schoenbuchner

Jun 11, 2021, 8:32:24 AM6/11/21
to AtoM Users
For the record. This is what finally fixed it for me:

DELETE a FROM repository_i18n a
JOIN repository ON =
WHERE a.culture = "es";

So if I could put something on a wish list than it is that users can delete translations without deleting the whole entry asking the tech stuff dancing with the database :))

Dan Gillean

Jun 11, 2021, 4:21:06 PM6/11/21
to ICA-AtoM Users
Hi Toni, 

Sorry for the delay in following up, and for the issues you've encountered. Thank you for updating the thread and letting us know the solution that you found! 

I agree that in the future, as part of improvements to the internationalization support in AtoM, there should be a way via the user interface to delete translations without deleting the original record. 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
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
To view this discussion on the web visit

Toni Schoenbuchner

Jun 14, 2021, 3:57:34 AM6/14/21
to AtoM Users
Hi Dan,

no worries at all for any delay ;) You helped me beyond measure by sharing your knowledge in many threads.


Reply all
Reply to author
0 new messages