收起左侧

相册人脸识别失败。

3
回复
136
查看
[ 复制链接 ]

7

主题

16

回帖

0

牛值

江湖小虾

2025-5-19 11:33:21 显示全部楼层 阅读模式
设备环境:(物理机、局域网、系统0.9.2、相册0.8.40)


BUG现象:相册人脸识别、智能识别失败。提示错误:****内容识别失败,ERROR: could not read block 4527 in file \"base/5/247903\": Input/output error (SQLSTATE 58030)"

日志文件:
time="2025-05-19T11:04:12+08:00" level=error msg="runRemainMode panic: ERROR: could not read block 4527 in file \"base/5/247903\": Input/output error (SQLSTATE 58030)"
time="2025-05-19T11:04:37+08:00" level=error msg="ErrFromRecover error : ERROR: could not read block 4527 in file \"base/5/247903\": Input/output error (SQLSTATE 58030)\nStack trace:\ngoroutine 38852 [running]:\napp/core/common.ErrFromRecover({0x13fe9a0?, 0xc0040fb700?})\n\t/root/go/src/app/core/common/utils.go:262 +0x11f\napp/core/service.(*faceService).runRemainMode.func1()\n\t/root/go/src/app/core/service/face.go:181 +0x36\npanic({0x13fe9a0?, 0xc0040fb700?})\n\t/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:770 +0x132\napp/core/storage/vectordb.(*faceVectorDao).CreateInBatch(0x44455e0?, 0x1?, {0xc005a7c7e0, 0x2, 0x2})\n\t/root/go/src/app/core/storage/vectordb/face_vector.go:21 +0x9f\napp/core/service.(*faceService).detFaceByUserPhotoId(0x41dca40, 0x6862)\n\t/root/go/src/app/core/service/face_det.go:179 +0x140f\napp/core/service.(*faceService).detUndoFaceByUser(0x41dca40, 0x1, 0xc003516780)\n\t/root/go/src/app/core/service/face.go:377 +0x55a\napp/core/service.(*faceService).runRemainMode(0x41dca40, 0x1, 0xc003516780)\n\t/root/go/src/app/core/service/face.go:192 +0x7a\napp/core/service.(*faceService).Run.func4()\n\t/root/go/src/app/core/service/face.go:101 +0x28\ngithub.com/panjf2000/ants/v2.(*goWorker).run.func1()\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:67 +0x8d\ncreated by github.com/panjf2000/ants/v2.(*goWorker).run in goroutine 38847\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:48 +0x5c\n"
time="2025-05-19T11:04:37+08:00" level=error msg="runRemainMode panic: ERROR: could not read block 4527 in file \"base/5/247903\": Input/output error (SQLSTATE 58030)"
time="2025-05-19T11:16:55+08:00" level=error msg="rec remaining err: ERROR: could not read block 8983 in file \"base/5/27288\": Input/output error (SQLSTATE 58030)"
time="2025-05-19T11:17:06+08:00" level=error msg="ErrFromRecover error : ERROR: could not read block 4527 in file \"base/5/247903\": Input/output error (SQLSTATE 58030)\nStack trace:\ngoroutine 40193 [running]:\napp/core/common.ErrFromRecover({0x13fe9a0?, 0xc003f05700?})\n\t/root/go/src/app/core/common/utils.go:262 +0x11f\napp/core/service.(*faceService).runRemainMode.func1()\n\t/root/go/src/app/core/service/face.go:181 +0x36\npanic({0x13fe9a0?, 0xc003f05700?})\n\t/root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:770 +0x132\napp/core/storage/vectordb.(*faceVectorDao).CreateInBatch(0x44455e0?, 0x1?, {0xc005774fb0, 0x1, 0x1})\n\t/root/go/src/app/core/storage/vectordb/face_vector.go:21 +0x9f\napp/core/service.(*faceService).detFaceByUserPhotoId(0x41dca40, 0x6863)\n\t/root/go/src/app/core/service/face_det.go:179 +0x140f\napp/core/service.(*faceService).detUndoFaceByUser(0x41dca40, 0x1, 0xc005cbae60)\n\t/root/go/src/app/core/service/face.go:377 +0x55a\napp/core/service.(*faceService).runRemainMode(0x41dca40, 0x1, 0xc005cbae60)\n\t/root/go/src/app/core/service/face.go:192 +0x7a\napp/core/service.(*faceService).Run.func4()\n\t/root/go/src/app/core/service/face.go:101 +0x28\ngithub.com/panjf2000/ants/v2.(*goWorker).run.func1()\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:67 +0x8d\ncreated by github.com/panjf2000/ants/v2.(*goWorker).run in goroutine 40188\n\t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.9.1/worker.go:48 +0x5c\n"
time="2025-05-19T11:17:06+08:00" level=error msg="runRemainMode panic: ERROR: could not read block 4527 in file \"base/5/247903\": Input/output error (SQLSTATE 58030)"




收藏
送赞
分享

39

主题

8000

回帖

0

牛值

管理员

2025-5-21 16:25:19 显示全部楼层
是否修改过ai模型所在的目录或是动过存储空间 重新安装ai模型看看

7

主题

16

回帖

0

牛值

江湖小虾

2025-5-23 14:07:43 楼主 显示全部楼层
所有方法都试过了,最后重置人脸识别,重置智能识别,才可以正常。只是几万张照片又要识别N久。。。。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则