Skip to content

[Bug]: error: Index build failed #14826

Description

@zierf

What happened?

The update to v0.8.8-rc1 broke index builds.
I updated the repository from v0.8.7.

Changed the override for the docker image:

From: registry.librechat.ai/danny-avila/librechat:v0.8.7
To: registry.librechat.ai/danny-avila/librechat:v0.8.8-rc1

The new version is unable to build it's indexes and collides with existing ones.

Version Information

LibreChat version: v0.8.8-rc1
Commit: eaef87fa2684025627e25d649a56f4f2a63417a7
Branch: v0.8.8-rc1
Build date: 2026-08-14 07:33:24 UTC
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0

Steps to Reproduce

  1. docker compose down
  2. Update Git-Repository and change Docker image from v0.8.7 to v0.8.8-rc1
  3. docker compose up -d
  4. docker compose logs -f api

What browsers are you seeing the problem on?

Firefox, Microsoft Edge

Relevant log output

{"level":"error","message":"Index build failed for \"Role\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { name: 1 }, name: \"name_1\", background: true }, existing index: { v: 2, unique: true, key: { name: 1 }, name: \"name_1\", background: true }","timestamp":"2026-08-14T12:38:50.082Z"}
{"level":"error","message":"Index build failed for \"Preset\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { presetId: 1 }, name: \"presetId_1\", background: true }, existing index: { v: 2, unique: true, key: { presetId: 1 }, name: \"presetId_1\", background: true }","timestamp":"2026-08-14T12:38:50.085Z"}
{"level":"error","message":"Index build failed for \"AccessRole\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { accessRoleId: 1 }, name: \"accessRoleId_1\", background: true }, existing index: { v: 2, unique: true, key: { accessRoleId: 1 }, name: \"accessRoleId_1\", background: true }","timestamp":"2026-08-14T12:38:50.088Z"}
{"level":"error","message":"Index build failed for \"MCPServer\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { serverName: 1 }, name: \"serverName_1\", background: true }, existing index: { v: 2, unique: true, key: { serverName: 1 }, name: \"serverName_1\", background: true }","timestamp":"2026-08-14T12:38:50.118Z"}
{"level":"error","message":"Index build failed for \"Message\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { messageId: 1 }, name: \"messageId_1\", background: true }, existing index: { v: 2, unique: true, key: { messageId: 1 }, name: \"messageId_1\", background: true }","timestamp":"2026-08-14T12:38:50.121Z"}
{"level":"error","message":"Index build failed for \"AgentCategory\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { value: 1 }, name: \"value_1\", background: true }, existing index: { v: 2, unique: true, key: { value: 1 }, name: \"value_1\", background: true }","timestamp":"2026-08-14T12:38:50.122Z"}
{"level":"error","message":"Index build failed for \"Conversation\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { conversationId: 1 }, name: \"conversationId_1\", background: true }, existing index: { v: 2, unique: true, key: { conversationId: 1 }, name: \"conversationId_1\", background: true }","timestamp":"2026-08-14T12:38:50.130Z"}
{"level":"error","message":"Index build failed for \"User\": An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, key: { email: 1 }, name: \"email_1\", background: true }, existing index: { v: 2, unique: true, key: { email: 1 }, name: \"email_1\", background: true }","timestamp":"2026-08-14T12:38:50.134Z"}

Screenshots

Index Error

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions