The new version is unable to build it's indexes and collides with existing ones.
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
{"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"}
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:
The new version is unable to build it's indexes and collides with existing ones.
Version Information
Steps to Reproduce
docker compose downdocker compose up -ddocker compose logs -f apiWhat 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
Code of Conduct