[故障报告]创建wiki站点,配置监听的时候,配置失败
描述问题 通过docker compose配置部署成功,登录进入后,提示创建wiki站点,配置监听的时候,有异常 failed to create knowledge base [trace_id: fda0f9b0-7cca-4eae-8d7b-1162dc9698f8]
复现步骤 请描述如何复现这个问题:
- 前往 '.创建wiki站点'
- 完成 '配置监听 '
- 滚动到 '配置监听,配置ip和启用http,点击下一步'
- 出现错误
期望行为 期望能进入下一步
截图 如有可能,请添加截图以帮助解释您的问题。
环境信息
- 操作系统:[群辉nas docker portainer Community Edition 2.18.3]
- 浏览器:[Chrome/]
- 版本:[V142.0.0.0] free -g total used free shared buff/cache available Mem: 17 4 0 6 12 4 Swap: 12 0 12 其他信息 Containers>panda-wiki-raglit->Logsr日志如下 2025-11-27T09:03:40.451216448Z INFO msg=Deleting existing collection component=QdrantStore collection=raglite
2025-11-27T09:03:40.456248577Z INFO msg=Successfully deleted old collection component=QdrantStore collection=raglite
2025-11-27T09:03:40.456276588Z INFO msg=Creating new collection component=QdrantStore collection=raglite dimension=1024
2025-11-27T09:04:10.455602929Z WARN msg=Failed to create payload index for 'dataset_id' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-11-27T09:04:10.455693501Z WARN msg=Failed to create payload index for 'document_name' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-11-27T09:04:10.455735021Z INFO msg=✓ Successfully recreated collection with new dimension component=QdrantStore collection=raglite dimension=1024
2025-11-27T09:04:10.455749811Z INFO msg=Successfully recreated collection service=DatasetService dimension=1024
2025-11-27T09:04:10.455773342Z INFO msg=CreateDataset service=DatasetService dataset={"id":"370b1b49-e744-4ecc-bbf8-c2a468776f97","name":"00619b04-a51b-4d8e-8480-b7e84837d2b0","embedding_model":"bge-m3","enable_raptor":false,"parser_config":{},"create_time":1764234250,"update_time":1764234250}
2025-11-27T09:04:10.455840283Z ERROR msg=CreateDataset api=dataset error=context canceled
2025-11-27T09:04:10.455891423Z ERROR msg=Server Error status=500 method=POST path=/api/v1/datasets query= ip=169.254.15.2 user_agent=Go-http-client/1.1 latency=30006092215 trace_id=00000000000000000000000000000000 span_id=0000000000000000 request_body={"name":"00619b04-a51b-4d8e-8480-b7e84837d2b0","parser_config":{}} response_body={"code":500,"message":"context canceled"}
看下 raglite报错 docker logs -f panda-wiki-raglite
看日志好像是一直在重启呢,/app/data这个目录应该是镜像自带的目录,映射的卷是/data /data/raglite:/data ,也是不/app Starting migrate {"time":"2025-12-01T07:35:12.96292815Z","level":"INFO","msg":"Initializing GORM database connection..."} {"time":"2025-12-01T07:35:12.967727558Z","level":"INFO","msg":"Database connection established successfully."} {"time":"2025-12-01T07:35:12.967749589Z","level":"INFO","msg":"Initializing HTTP embedding client..."} {"time":"2025-12-01T07:35:12.967776029Z","level":"INFO","msg":"Initializing Model service..."} {"time":"2025-12-01T07:35:12.967797939Z","level":"INFO","msg":"Initializing MinIO client..."} {"time":"2025-12-01T07:35:12.96784619Z","level":"INFO","msg":"MinIO client initialized."} {"time":"2025-12-01T07:35:12.969849164Z","level":"INFO","msg":"Found existing MinIO bucket.","bucket":"raglite"} {"time":"2025-12-01T07:35:12.972304904Z","level":"INFO","msg":"Dict files path: [/app/data/gse/dict/zh/s_1.txt /app/data/gse/dict/zh/t_1.txt /app/data/gse/dict/zh/idf.txt]"} {"time":"2025-12-01T07:35:12.972326524Z","level":"INFO","msg":"Load the gse dictionary: "/app/data/gse/dict/zh/s_1.txt" "} {"time":"2025-12-01T07:35:12.972379805Z","level":"INFO","msg":"Could not load dictionaries: "/app/data/gse/dict/zh/s_1.txt", open /app/data/gse/dict/zh/s_1.txt: no such file or directory "} {"time":"2025-12-01T07:35:12.972390165Z","level":"ERROR","msg":"Failed to create segmenter with custom dict","component":"GSESegmenter","error":"open /app/data/gse/dict/zh/s_1.txt: no such file or directory"} {"time":"2025-12-01T07:35:12.972669128Z","level":"ERROR","msg":"Failed to initialize application for migration","error":"failed to create segmenter with custom dict: open /app/data/gse/dict/zh/s_1.txt: no such file or directory"} {"time":"2025-12-01T07:35:12.972408085Z","level":"INFO","msg":"Closing database connection..."} Starting migrate {"time":"2025-12-01T07:36:28.379855839Z","level":"INFO","msg":"Initializing GORM database connection..."} {"time":"2025-12-01T07:36:28.384492255Z","level":"INFO","msg":"Database connection established successfully."} {"time":"2025-12-01T07:36:28.384510896Z","level":"INFO","msg":"Initializing HTTP embedding client..."} {"time":"2025-12-01T07:36:28.384533456Z","level":"INFO","msg":"Initializing Model service..."} {"time":"2025-12-01T07:36:28.384550206Z","level":"INFO","msg":"Initializing MinIO client..."} {"time":"2025-12-01T07:36:28.384595177Z","level":"INFO","msg":"MinIO client initialized."} {"time":"2025-12-01T07:36:28.38653269Z","level":"INFO","msg":"Found existing MinIO bucket.","bucket":"raglite"} {"time":"2025-12-01T07:36:28.388576395Z","level":"INFO","msg":"Dict files path: [/app/data/gse/dict/zh/s_1.txt /app/data/gse/dict/zh/t_1.txt /app/data/gse/dict/zh/idf.txt]"} {"time":"2025-12-01T07:36:28.388595075Z","level":"INFO","msg":"Load the gse dictionary: "/app/data/gse/dict/zh/s_1.txt" "} {"time":"2025-12-01T07:36:28.388618755Z","level":"INFO","msg":"Could not load dictionaries: "/app/data/gse/dict/zh/s_1.txt", open /app/data/gse/dict/zh/s_1.txt: no such file or directory "} {"time":"2025-12-01T07:36:28.388625155Z","level":"ERROR","msg":"Failed to create segmenter with custom dict","component":"GSESegmenter","error":"open /app/data/gse/dict/zh/s_1.txt: no such file or directory"} {"time":"2025-12-01T07:36:28.388637906Z","level":"INFO","msg":"Closing database connection..."} {"time":"2025-12-01T07:36:28.388901169Z","level":"ERROR","msg":"Failed to initialize application for migration","error":"failed to create segmenter with custom dict: open /app/data/gse/dict/zh/s_1.txt: no such file or directory"} Starting migrate {"time":"2025-12-01T07:37:43.75727776Z","level":"INFO","msg":"Initializing GORM database connection..."} {"time":"2025-12-01T07:37:43.76228458Z","level":"INFO","msg":"Database connection established successfully."} {"time":"2025-12-01T07:37:43.762305941Z","level":"INFO","msg":"Initializing HTTP embedding client..."} {"time":"2025-12-01T07:37:43.762325881Z","level":"INFO","msg":"Initializing Model service..."} {"time":"2025-12-01T07:37:43.762362061Z","level":"INFO","msg":"Initializing MinIO client..."} {"time":"2025-12-01T07:37:43.762416782Z","level":"INFO","msg":"MinIO client initialized."} {"time":"2025-12-01T07:37:43.764501347Z","level":"INFO","msg":"Found existing MinIO bucket.","bucket":"raglite"} {"time":"2025-12-01T07:37:43.766302569Z","level":"INFO","msg":"Dict files path: [/app/data/gse/dict/zh/s_1.txt /app/data/gse/dict/zh/t_1.txt /app/data/gse/dict/zh/idf.txt]"} {"time":"2025-12-01T07:37:43.766326269Z","level":"INFO","msg":"Load the gse dictionary: "/app/data/gse/dict/zh/s_1.txt" "} {"time":"2025-12-01T07:37:43.76635444Z","level":"INFO","msg":"Could not load dictionaries: "/app/data/gse/dict/zh/s_1.txt", open /app/data/gse/dict/zh/s_1.txt: no such file or directory "} {"time":"2025-12-01T07:37:43.76636597Z","level":"ERROR","msg":"Failed to create segmenter with custom dict","component":"GSESegmenter","error":"open /app/data/gse/dict/zh/s_1.txt: no such file or directory"} {"time":"2025-12-01T07:37:43.76638039Z","level":"INFO","msg":"Closing database connection..."} {"time":"2025-12-01T07:37:43.766631613Z","level":"ERROR","msg":"Failed to initialize application for migration","error":"failed to create segmenter with custom dict: open /app/data/gse/dict/zh/s_1.txt: no such file or directory"}
删除容器,重新创建后,未看到异常,但是点击下一步还是有这个异常, Starting raglite
2025-12-01T15:06:10.986294543Z INFO msg=Initializing GORM database connection...
2025-12-01T15:06:10.997255944Z INFO msg=Database connection established successfully.
2025-12-01T15:06:10.997282774Z INFO msg=Initializing HTTP embedding client...
2025-12-01T15:06:10.997309314Z INFO msg=Initializing Model service...
2025-12-01T15:06:10.997337564Z INFO msg=Initializing MinIO client...
2025-12-01T15:06:10.997397485Z INFO msg=MinIO client initialized.
2025-12-01T15:06:11.000421644Z INFO msg=Found existing MinIO bucket. bucket=raglite
2025-12-01T15:06:11.005679308Z INFO msg=Dict files path: [/app/data/gse/dict/zh/s_1.txt /app/data/gse/dict/zh/t_1.txt /app/data/gse/dict/zh/idf.txt]
2025-12-01T15:06:11.005706938Z INFO msg=Load the gse dictionary: "/app/data/gse/dict/zh/s_1.txt"
2025-12-01T15:06:12.041305168Z INFO msg=Load the gse dictionary: "/app/data/gse/dict/zh/t_1.txt"
2025-12-01T15:06:12.645073761Z INFO msg=Load the gse dictionary: "/app/data/gse/dict/zh/idf.txt"
2025-12-01T15:06:14.319228227Z INFO msg=Gse dictionary loaded finished.
2025-12-01T15:06:14.319285367Z INFO msg=Load the stop word dictionary: "/app/data/gse/dict/zh/stop_word.txt"
2025-12-01T15:06:14.319413188Z INFO msg=GSE segmenter initialized successfully component=GSESegmenter language=zh
2025-12-01T15:06:14.319451218Z INFO msg=Initializing Qdrant store...
2025-12-01T15:06:14.319516009Z WARN msg=API key is being used without TLS(HTTPS). It will be transmitted in plaintext.
2025-12-01T15:06:14.547784967Z WARN msg=Unable to compare versions err=unable to parse version, expected format: x.y[.z], found:
2025-12-01T15:06:14.547820167Z WARN msg=Client version is not compatible with server version. Major versions should match and minor version difference must not exceed 1. Set SkipCompatibilityCheck=true to skip version check. clientVersion=Unknown serverVersion=1.14.1
2025-12-01T15:06:15.412088375Z INFO msg=Successfully created payload index for 'content' field
2025-12-01T15:06:16.186007342Z INFO msg=Successfully created payload index for 'important_keywords' field
2025-12-01T15:06:16.528888657Z INFO msg=Successfully created payload index for 'dataset_id' field
2025-12-01T15:06:17.324917016Z INFO msg=Successfully created payload index for 'document_name' field
2025-12-01T15:06:17.324953046Z INFO msg=Initializing Dataset service...
2025-12-01T15:06:17.324972147Z INFO msg=Initializing Document service...
2025-12-01T15:06:17.324996717Z INFO msg=Initializing token estimator...
2025-12-01T15:06:17.425392062Z INFO msg=Initializing EmbeddingBatcher...
2025-12-01T15:06:17.427003453Z INFO msg=NATS client connected url=nats://panda-wiki-nats:4222
2025-12-01T15:06:17.427967539Z INFO msg=JetStream stream already exists component=NATSClient stream=rag
2025-12-01T15:06:17.427990289Z INFO msg=Initializing token estimator...
2025-12-01T15:06:17.488309117Z INFO msg=Initializing Document processor...
2025-12-01T15:06:17.488341667Z INFO msg=Initializing Dispatcher...
2025-12-01T15:06:17.488354237Z INFO msg=Initializing Processing service...
2025-12-01T15:06:17.488365577Z INFO msg=Initializing DatasetHandler...
2025-12-01T15:06:17.488371267Z INFO msg=Initializing DocumentHandler...
2025-12-01T15:06:17.488376927Z INFO msg=Initializing Chunk service...
2025-12-01T15:06:17.488382197Z INFO msg=Initializing ChunkHandler...
2025-12-01T15:06:17.488391977Z INFO msg=Initializing HTTP reranker client...
2025-12-01T15:06:17.488400238Z INFO msg=Initializing Retrieval service...
2025-12-01T15:06:17.488405658Z INFO msg=Initializing RetrievalHandler...
2025-12-01T15:06:17.488410968Z INFO msg=Initializing QueryRewriteService...
2025-12-01T15:06:17.488515788Z INFO msg=Initializing AnalyseHandler...
2025-12-01T15:06:17.488526688Z INFO msg=Initializing ModelHandler...
2025-12-01T15:06:17.488545118Z INFO msg=Initializing InferenceHandler...
2025-12-01T15:06:17.488686209Z INFO msg=Initializing HTTP server...
2025-12-01T15:06:17.488695689Z INFO msg=Gin mode set to mode=release
2025-12-01T15:06:17.488701929Z INFO msg=HTTP server initialized port=8080 read_timeout=60000000000 write_timeout=60000000000 idle_timeout=120000000000
2025-12-01T15:06:17.48875667Z INFO msg=Application initialized. Press Ctrl+C to exit.
2025-12-01T15:06:17.48879486Z INFO msg=Starting HTTP server address=:8080
2025-12-01T15:06:17.48879858Z INFO msg=Starting dispatcher num_workers=10 queue_size=1000
2025-12-01T15:06:17.488858621Z INFO msg=Worker started worker_id=10
2025-12-01T15:06:17.488884841Z INFO msg=Worker started worker_id=1
2025-12-01T15:06:17.488911311Z INFO msg=Worker started worker_id=2
2025-12-01T15:06:17.488928611Z INFO msg=Worker started worker_id=3
2025-12-01T15:06:17.488948361Z INFO msg=Worker started worker_id=4
2025-12-01T15:06:17.488962871Z INFO msg=Worker started worker_id=5
2025-12-01T15:06:17.488983771Z INFO msg=Worker started worker_id=6
2025-12-01T15:06:17.489000091Z INFO msg=Worker started worker_id=7
2025-12-01T15:06:17.489015102Z INFO msg=Starting DocumentEnhancementService component=DocumentEnhancementService
2025-12-01T15:06:17.489014422Z INFO msg=Worker started worker_id=8
2025-12-01T15:06:17.489030222Z INFO msg=Worker started worker_id=9
2025-12-01T15:06:17.489024212Z INFO msg=Checking for orphaned pending documents on startup component=DocumentEnhancementService
2025-12-01T15:06:17.48881222Z INFO msg=Starting LLM batcher component=LLMBatcher batch_size=20 timeout_ms=5000 max_concurrent=10 request_delay_ms=500
2025-12-01T15:06:17.489340224Z INFO msg=Starting embedding batcher component=EmbeddingBatcher batch_size=10 timeout=10000000000
2025-12-01T15:06:17.489424234Z INFO msg=Starting batch processor... component=EmbeddingBatcher batch_size=10 timeout=10000000000
2025-12-01T15:06:17.491060555Z INFO msg=No orphaned pending documents found on startup component=DocumentEnhancementService
2025-12-01T22:56:38.1491862Z INFO msg=/builds/ai/rag/raglite/internal/service/document_enhancement_processor.go:757 SLOW SQL >= 200ms [364.872ms] [rows:0] SELECT * FROM "documents" WHERE status = 'ENHANCE_PENDING'
2025-12-02T01:55:22.952918668Z INFO msg=Found dimension in model config service=DatasetService dimension=1024
2025-12-02T01:55:22.952944249Z INFO msg=CreateDataset service=DatasetService embedding_model=bge-m3 dimension=1024
2025-12-02T01:55:22.952967899Z WARN msg=Recreating collection with new dimension component=QdrantStore collection=raglite dimension=1024
2025-12-02T01:55:22.952974179Z WARN msg=⚠️ ALL VECTOR DATA WILL BE LOST component=QdrantStore collection=raglite
2025-12-02T01:55:23.220507933Z INFO msg=Deleting existing collection component=QdrantStore collection=raglite
2025-12-02T01:55:24.182859209Z INFO msg=Successfully deleted old collection component=QdrantStore collection=raglite
2025-12-02T01:55:24.182878899Z INFO msg=Creating new collection component=QdrantStore collection=raglite dimension=1024
2025-12-02T01:55:52.852497993Z WARN msg=Failed to create payload index for 'important_keywords' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-12-02T01:55:52.852579594Z WARN msg=Failed to create payload index for 'dataset_id' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-12-02T01:55:52.852599784Z WARN msg=Failed to create payload index for 'document_name' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-12-02T01:55:52.852611194Z INFO msg=✓ Successfully recreated collection with new dimension component=QdrantStore collection=raglite dimension=1024
2025-12-02T01:55:52.852620374Z INFO msg=Successfully recreated collection service=DatasetService dimension=1024
2025-12-02T01:55:52.852643975Z INFO msg=CreateDataset service=DatasetService dataset={"id":"10617ada-75f0-493c-aafa-ecac2cc213a1","name":"247247eb-d971-4dcd-8d3b-468083e44d41","embedding_model":"bge-m3","enable_raptor":false,"parser_config":{},"create_time":1764640552,"update_time":1764640552}
2025-12-02T01:55:53.014446474Z ERROR msg=CreateDataset api=dataset error=context canceled
2025-12-02T01:55:53.014549586Z ERROR msg=Server Error status=500 method=POST path=/api/v1/datasets query= ip=169.254.15.2 user_agent=Go-http-client/1.1 latency=30100715758 trace_id=00000000000000000000000000000000 span_id=0000000000000000 request_body={"name":"247247eb-d971-4dcd-8d3b-468083e44d41","parser_config":{}} response_body={"code":500,"message":"context canceled"} api服务也有异常 ime=2025-12-01T03:10:41.999Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri=/api/v1/model/mode-setting status=200 latency=0
time=2025-12-01T03:10:51.426Z level=ERROR msg="failed to create knowledge base" module=http_base_handler trace_id=6a780fa7-eaf6-43e4-b091-74cbb6012089 error="failed to send request: Post "http://169.254.15.18:8080/api/v1/datasets": dial tcp 169.254.15.18:8080: connect: connection refused"
time=2025-12-01T03:10:51.426Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=POST uri=/api/v1/knowledge_base status=200 latency=1
time=2025-12-01T03:11:04.311Z level=INFO msg="synced user access time to database" module=repo.pg.user_access update_count=1
time=2025-12-01T03:11:27.348Z level=ERROR msg="failed to create knowledge base" module=http_base_handler trace_id=6f6a50df-2901-4bc5-96f8-9a3e5cc67a16 error="failed to send request: Post "http://169.254.15.18:8080/api/v1/datasets": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time=2025-12-01T03:11:27.348Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=POST uri=/api/v1/knowledge_base status=200 latency=30001
5-12-01T03:11:36.328Z level=ERROR msg="validate request params failed" module=http_base_handler trace_id=c9d23306-218b-4948-a2ed-f2692125b6a6 error="code=400, message=Key: 'GetNodeListReq.KBID' Error:Field validation for 'KBID' failed on the 'required' tag"
time=2025-12-01T03:11:36.328Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri="/api/v1/node/list?kb_id=" status=200 latency=0
time=2025-12-01T03:12:05.058Z level=INFO msg="synced user access time to database" module=repo.pg.user_access update_count=1
time=2025-12-01T20:09:59.001Z level=ERROR msg="stream receive error" module=pro.usecase.license_service error="rpc error: code = Unavailable desc = keepalive ping failed to receive ACK within timeout"
time=2025-12-01T20:10:05.884Z level=WARN msg="failed to send heartbeat" module=pro.usecase.license_service error=EOF
time=2025-12-01T20:11:05.989Z level=INFO msg="stream connection established" module=pro.usecase.license_service
time=2025-12-02T01:54:52.461Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri=/api/v1/license status=200 latency=110
time=2025-12-02T01:54:52.490Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri=/api/v1/user status=200 latency=140
time=2025-12-02T01:54:52.491Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri=/api/v1/model/list status=200 latency=140
time=2025-12-02T01:54:52.561Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri=/api/v1/knowledge_base/list status=200 latency=210
time=2025-12-02T01:54:52.728Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri=/api/v1/model/mode-setting status=200 latency=0
time=2025-12-02T01:54:55.238Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=GET uri=/api/v1/model/mode-setting status=200 latency=0
time=2025-12-02T01:55:04.405Z level=INFO msg="synced user access time to database" module=repo.pg.user_access update_count=1
time=2025-12-02T01:55:52.852Z level=ERROR msg="failed to create knowledge base" module=http_base_handler trace_id=578a6cd2-e05a-4229-bc6d-05306d05e2e6 error="failed to send request: Post "http://169.254.15.18:8080/api/v1/datasets": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time=2025-12-02T01:55:52.852Z level=INFO msg=REQUEST remote_ip=169.254.15.1 method=POST uri=/api/v1/knowledge_base status=200 latency=30004
time=2025-12-02T01:56:05.254Z level=INFO msg="synced user access time to database" module=repo.pg.user_access update_count=1
更新到最新版看看 新版fix了一下 3.50.4
更新了还是有同样的问题 2025-12-02T07:42:58.906717129Z INFO msg=Detecting embedding dimension for model service=ModelService name=bge-m3
2025-12-02T07:42:58.906761749Z INFO msg=Calling external embedding API client=HTTPEmbeddingClient model=bge-m3 num_texts=1
2025-12-02T07:42:59.131581855Z INFO msg=Successfully received embeddings from API client=HTTPEmbeddingClient count=1
2025-12-02T07:42:59.131608856Z INFO msg=Detected embedding dimension service=ModelService dimension=1024
2025-12-02T07:42:59.73480224Z INFO msg=/builds/ai/rag/raglite/internal/service/model.go:124 SLOW SQL >= 200ms [603.005ms] [rows:1] INSERT INTO "models" ("id","provider","name","task_type","api_base","api_key","max_tokens","is_default","enabled","config","description","version","timeout","create_time","update_time","owner","quota_limit") VALUES ('35b8826b-0a1b-4d3a-a0ef-88eee60b353c','BaiZhiCloud','bge-m3','embedding','https://model-square.app.baizhi.cloud/v1','gBL8Qjos9YlEn1aodfdfe',8192,true,true,'{"context_window":64000,"dimension":1024,"max_tokens":8192,"r1_enabled":false,"support_computer_use":false,"support_images":false,"support_prompt_cache":false,"temperature":null}',NULL,NULL,NULL,1764661378,1764661378,NULL,NULL) ON CONFLICT ("api_base","name") DO UPDATE SET "provider"="excluded"."provider","task_type"="excluded"."task_type","api_key"="excluded"."api_key","max_tokens"="excluded"."max_tokens","is_default"="excluded"."is_default","enabled"="excluded"."enabled","config"="excluded"."config","description"="excluded"."description","version"="excluded"."version","timeout"="excluded"."timeout","owner"="excluded"."owner","quota_limit"="excluded"."quota_limit","update_time"="excluded"."update_time"
2025-12-02T07:42:59.734894381Z INFO msg=Request Handled status=200 method=POST path=/api/v1/models query= ip=169.254.15.2 user_agent=Go-http-client/1.1 latency=828230303 trace_id=00000000000000000000000000000000 span_id=0000000000000000
2025-12-02T07:42:59.789098026Z INFO msg=Request Handled status=200 method=POST path=/api/v1/models query= ip=169.254.15.2 user_agent=Go-http-client/1.1 latency=52929129 trace_id=00000000000000000000000000000000 span_id=0000000000000000
2025-12-02T07:43:00.486661607Z INFO msg=/builds/ai/rag/raglite/internal/service/model.go:124 SLOW SQL >= 200ms [696.307ms] [rows:1] INSERT INTO "models" ("id","provider","name","task_type","api_base","api_key","max_tokens","is_default","enabled","config","description","version","timeout","create_time","update_time","owner","quota_limit") VALUES ('92f377da-cedf-48bb-a0d9-5c4e095cf63d','DeepSeek','deepseek-chat','analysis','https://api.deepseek.com/v1','sk-30460bea7dc24f4ddfdfd4',8192,true,true,'{"context_window":64000,"max_tokens":8192,"r1_enabled":false,"support_computer_use":false,"support_images":false,"support_prompt_cache":false,"temperature":null}',NULL,NULL,NULL,1764661379,1764661379,NULL,NULL) ON CONFLICT ("api_base","name") DO UPDATE SET "provider"="excluded"."provider","task_type"="excluded"."task_type","api_key"="excluded"."api_key","max_tokens"="excluded"."max_tokens","is_default"="excluded"."is_default","enabled"="excluded"."enabled","config"="excluded"."config","description"="excluded"."description","version"="excluded"."version","timeout"="excluded"."timeout","owner"="excluded"."owner","quota_limit"="excluded"."quota_limit","update_time"="excluded"."update_time"
2025-12-02T07:43:00.486761368Z INFO msg=Request Handled status=200 method=POST path=/api/v1/models query= ip=169.254.15.2 user_agent=Go-http-client/1.1 latency=696621610 trace_id=00000000000000000000000000000000 span_id=0000000000000000
2025-12-02T07:43:13.061644509Z INFO msg=Found dimension in model config service=DatasetService dimension=1024
2025-12-02T07:43:13.061665509Z INFO msg=CreateDataset service=DatasetService embedding_model=bge-m3 dimension=1024
2025-12-02T07:43:13.061674279Z WARN msg=Recreating collection with new dimension component=QdrantStore collection=raglite dimension=1024
2025-12-02T07:43:13.061679969Z WARN msg=⚠️ ALL VECTOR DATA WILL BE LOST component=QdrantStore collection=raglite
2025-12-02T07:43:13.062302027Z INFO msg=Deleting existing collection component=QdrantStore collection=raglite
2025-12-02T07:43:13.0682911Z INFO msg=Successfully deleted old collection component=QdrantStore collection=raglite
2025-12-02T07:43:13.068315801Z INFO msg=Creating new collection component=QdrantStore collection=raglite dimension=1024
2025-12-02T07:43:43.065544816Z WARN msg=Failed to create payload index for 'important_keywords' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-12-02T07:43:43.065678297Z WARN msg=Failed to create payload index for 'dataset_id' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-12-02T07:43:43.065725988Z WARN msg=Failed to create payload index for 'document_name' field component=QdrantStore error=CreateFieldIndex() failed: raglite: rpc error: code = Canceled desc = context canceled
2025-12-02T07:43:43.065762488Z INFO msg=✓ Successfully recreated collection with new dimension component=QdrantStore collection=raglite dimension=1024
2025-12-02T07:43:43.065777019Z INFO msg=Successfully recreated collection service=DatasetService dimension=1024
2025-12-02T07:43:43.065798319Z INFO msg=CreateDataset service=DatasetService dataset={"id":"29844343-1f2e-4235-b023-9002f654e651","name":"b5eedf0b-9f9c-4fd1-a63b-7429155fa11a","embedding_model":"bge-m3","enable_raptor":false,"parser_config":{},"create_time":1764661423,"update_time":1764661423}
2025-12-02T07:43:43.06585985Z ERROR msg=CreateDataset api=dataset error=context canceled
2025-12-02T07:43:43.06590906Z ERROR msg=Server Error status=500 method=POST path=/api/v1/datasets query= ip=169.254.15.2 user_agent=Go-http-client/1.1 latency=30004915869 trace_id=00000000000000000000000000000000 span_id=0000000000000000 request_body={"name":"b5eedf0b-9f9c-4fd1-a63b-7429155fa11a","parser_config":{}} response_body={"code":500,"message":"context can