Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch Write Index Issue: "no write index is defined for alias [prefix-variants]" #3335

Open
Guts996 opened this issue Jan 26, 2025 · 0 comments
Labels
type: bug 🐛 Something isn't working

Comments

@Guts996
Copy link

Guts996 commented Jan 26, 2025

Describe the bug

Issue Description

I’m encountering an issue with Elasticsearch integration in my Vendure multivendor app. When trying to update or delete documents in the prefix-variants index, I receive the following error:

To Reproduce
Steps to reproduce the behavior:

  1. Set up Vendure with Elasticsearch plugin.
  2. Trigger a product update or reindex operation.
  3. See error log:
[worker] {
"type": "illegal_argument_exception",
"reason": "no write index is defined for alias [izar-variants]. The write index may be explicitly disabled using is_write_index=false or the alias points to multiple indices without one being designated as a write index"
}

Environment :

  • @vendure/core version: 3.1.1
  • Nodejs version : v23.6.0
  • Database postgres
  • Elastic Search : elasticsearch:7.13.0

Additional context
I'm running elastic search on docker container, correctly setup
I'm using the multivendor plugin

@Guts996 Guts996 added the type: bug 🐛 Something isn't working label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant