Upgrade from 32 to 33.0.0 -> SQLSTATE[23000]
还没有人认领这个 Issue。
评估
调研方向
首先,在使用 Recognize 和 Nextcloud 33.0.0 时复现 SQLSTATE[23000] 重复条目错误,重点关注 previews_file_uniq_idx 约束以及报告中的 occ 重置命令。将数据库行为与升级上下文进行比较,并确定哪项更改可以阻止错误反复出现;当正常使用不再产生这些数据库错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Which version of recognize are you using?
11.0.1
Enabled Modes
Face recognition
TensorFlow mode
Normal mode
Downstream App
Files App
Which Nextcloud version do you have installed?
33.0.0
Which Operating system do you have installed?
Arch Linux
Which database are you running Nextcloud on?
MariaDB 12.2.2
Which Docker container are you using to run Nextcloud? (if applicable)
No response
How much RAM does your server have?
64GiB
What processor Architecture does your CPU have?
AMD Ryzen 9 7950X3D 16-Core Processor
Describe the Bug
Since I upgraded to NC33, I noticed a lot of DB errors in the log like such:
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5573-1024-768-6-0--1' for key 'previews_file_uniq_idx'
I tried the occ reset commands but it didn't help.
Expected Behavior
Not to have DB errors.
To Reproduce
Use Recognize since 33.0.0.
Debug log
No response
- 主要语言
- PHP
- 星标
- 701
- 派生
- 68
- 平均合并
- 10 天 21 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/recognize 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
-
bug
难度 5/5 一周以上 新手友好度 15/100
-
enhancement
难度 3/5 1-2 天 新手友好度 65/100
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
-
Recognize maintenance routine unnecessarily redownloads Tensorflow CPU and GPU models every time可能重新可做 @marcelklehr 于 202 天前认领,目前没有进行中的 PR。 未关闭bug
查看 nextcloud/recognize 的全部 Issue
相似的 Issue
-
sync-en
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[Sync EN] Document Error thrown by shm_* functions on a detached segment (#5975)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭sync-en
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 3 天内回复
-
Перевод устарел
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
新版升级一下对应的依赖可以么未关闭
难度 2/5 1-3 小时 新手友好度 62/100