strapi-plugin-meilisearch icon indicating copy to clipboard operation
strapi-plugin-meilisearch copied to clipboard

Hooks not working

Open tomh4 opened this issue 5 months ago • 1 comments

Description When we add a collection to the index, it says "Hooked" in the Dashboard, the logs show:

[2025-06-22 14:31:46.559] info: A task to update 1 documents to the Meilisearch index "cocktail" has been enqueued.

But no update is being made in meilisearch

Expected behavior Document should be updated

Current behavior Document is not updated

Screenshots or Logs [2025-06-22 14:31:46.559] info: A task to update 1 documents to the Meilisearch index "cocktail" has been enqueued.

But nothing happens

Environment (please complete the following information):

  • Meilisearch version: v1.15.2
  • strapi-plugin-meilisearch version: 0.13.2
  • Strapi version: 5.16.0

tomh4 avatar Jun 22 '25 12:06 tomh4

I think I can narrow it down to the problem that only the main Locale is being updated. Even though the event fires for every locale, its always taking the main locale as data

tomh4 avatar Jun 23 '25 08:06 tomh4

Same issue, after creating new article it doesn't automatically hook so i have to do it manually and i get this in console

error: Meilisearch could not add entry with id: 121: Transaction query already complete, run with DEBUG=knex:tx for more info

pepegablaza avatar Jun 27 '25 09:06 pepegablaza