Describe the bug
Hello folks,
We just upgraded from 4.9.2 to 4.10.2.
In our DEV environment, it worked fine but in our PROD environment, the search doesn't work anymore. We get the following errors.
Query: junit (case insensitive, regex disabled)
In the logs:
{"level":"error","message":"Error processing chunk: Repository not found for file: build/defaults.yaml","service":"zoekt-searcher","stack":"Error: Repository not found for file: build/defaults.yaml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at h.<anonymous> (/app/packages/web/.next/server/chunks/4176.js:1:20059)","status":"error","timestamp":"2025-12-10T17:10:25.164Z"}
In the UI:
Failed to search.
Unexpected error: Repository not found for file: build/defaults.yaml
(This file build/defaults.yaml is present in several of our repositories, I don't know why it blocks on it specifically).
Another query: file:pom.xml junit
Similar errors in the UI:
Failed to search.
Unexpected error: Repository not found for file: pom.xml
And in the logs:
{"level":"error","message":"{\"statusCode\":400,\"errorCode\":\"FAILED_TO_PARSE_QUERY\",\"message\":\"Failed to parse query \\\"file:\\\" with message: No parse at 5\"}","service":"web-actions","serviceError":{"errorCode":"FAILED_TO_PARSE_QUERY","message":"Failed to parse query \"file:\" with message: No parse at 5","statusCode":400},"stack":"Error: {\"statusCode\":400,\"errorCode\":\"FAILED_TO_PARSE_QUERY\",\"message\":\"Failed to parse query \\\"file:\\\" with message: No parse at 5\"}\n at j (/app/packages/web/.next/server/chunks/4176.js:1:14163)\n at /app/packages/web/.next/server/chunks/4176.js:1:12483","status":"error","timestamp":"2025-12-10T17:12:04.776Z"}
{"level":"error","message":"Repository not found for file: pom.xml","service":"web-actions","stack":"Error: Repository not found for file: pom.xml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at /app/packages/web/.next/server/chunks/4176.js:1:18936","status":"error","timestamp":"2025-12-10T17:12:06.378Z"}
{"level":"error","message":"Repository not found for file: pom.xml","service":"web-actions","stack":"Error: Repository not found for file: pom.xml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at /app/packages/web/.next/server/chunks/4176.js:1:18936","status":"error","timestamp":"2025-12-10T17:12:06.635Z"}
{"level":"error","message":"Repository not found for file: pom.xml","service":"web-actions","stack":"Error: Repository not found for file: pom.xml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at /app/packages/web/.next/server/chunks/4176.js:1:18936","status":"error","timestamp":"2025-12-10T17:12:06.939Z"}
{"level":"error","message":"Repository not found for file: pom.xml","service":"web-actions","stack":"Error: Repository not found for file: pom.xml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at /app/packages/web/.next/server/chunks/4176.js:1:18936","status":"error","timestamp":"2025-12-10T17:12:07.985Z"}
{"level":"error","message":"Repository not found for file: pom.xml","service":"web-actions","stack":"Error: Repository not found for file: pom.xml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at /app/packages/web/.next/server/chunks/4176.js:1:18936","status":"error","timestamp":"2025-12-10T17:12:08.591Z"}
{"level":"error","message":"Repository not found for file: pom.xml","service":"web-actions","stack":"Error: Repository not found for file: pom.xml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at /app/packages/web/.next/server/chunks/4176.js:1:18936","status":"error","timestamp":"2025-12-10T17:12:08.635Z"}
{"level":"error","message":"Error processing chunk: Repository not found for file: pom.xml","service":"zoekt-searcher","stack":"Error: Repository not found for file: pom.xml\n at /app/packages/web/.next/server/chunks/4176.js:3:406\n at Array.map (<anonymous>)\n at v (/app/packages/web/.next/server/chunks/4176.js:3:323)\n at h.<anonymous> (/app/packages/web/.next/server/chunks/4176.js:1:20059)","status":"error","timestamp":"2025-12-10T17:12:11.759Z"}
To reproduce
No reproduction scenario yet
Sourcebot deployment information
Sourcebot version (e.g. v3.0.1): 4.10.2
Additional information
I'm waiting for a complete reindexation happening to see if it helps. I will report back if it does.
Describe the bug
Hello folks,
We just upgraded from 4.9.2 to 4.10.2.
In our DEV environment, it worked fine but in our PROD environment, the search doesn't work anymore. We get the following errors.
Query:
junit(case insensitive, regex disabled)In the logs:
In the UI:
(This file
build/defaults.yamlis present in several of our repositories, I don't know why it blocks on it specifically).Another query:
file:pom.xml junitSimilar errors in the UI:
And in the logs:
To reproduce
No reproduction scenario yet
Sourcebot deployment information
Sourcebot version (e.g. v3.0.1): 4.10.2
Additional information
I'm waiting for a complete reindexation happening to see if it helps. I will report back if it does.