Hi guys,
I use Indico 3.3.3, with the ElasticSearch plugin. I have this error every 15 minutes:
Feb 07 16:45:03 alv634.ctbto.org bash[5254]: 2025-02-07 16:45:03,091 ERROR 0000000000000000 indico.plugin.elasticsearch Failed uplading attachment: 2.Lightning talks P2.5, P4.1, P4.2, P4.3.pptx [BadRequestError(400, 'parse_exception', 'Error parsing document in field [data]')]
This attachment was uploaded and then deleted 2 minutes later, a long time ago (19 June 2023!).
The attachment is marked as deleted in the DB.
How can I stop this error??
Thanks!
I don’t remember having ever seen the code of your elasticsearch plugin. So it’s kind of hard to help you there…
In any case, the error looks like something related to elasticsearch, not to indico or your plugin… since attachments are only soft-deleted, there’s nothing that would technically prevent a deleted attachment from being sent to ES (except that it does not make much sense).
Tnanks for your repsonse!
Ah yes, we developed the ElasticSearch plugin based on your Citadel plugin, but never released it back to the common repository.
If other people are interested in using it, I can take the time to release it.
In any case, your response helped me understand what is probably going on: if an attachment is created and then promptly deleted (before the ElasticSearch plugin had a chance to run) then we are stuck in an infinite loop (trying to send to ES a file taht does not exist anymore).
I have fixed it and will test it soon.
Thanks for your help! It is very much appreciated
1 Like