`occ recognize:classify` : "Could not find file" using S3 as main storage
还没有人认领这个 Issue。
评估
调研方向
从 occ recognize:classify 入口点和关联的调试日志开始,然后将其文件访问与能够成功运行的常规后台作业进行比较。针对 S3 主存储和 SFTP 外部存储重现该命令;完成的标准是分类能够处理存储在 S3 中的图像,且不会出现 Could not find file 或移除已排队的项目。
由索引模型根据 Issue 内容生成。
描述
Which version of recognize are you using?
4.3.2
Enabled Modes
Face recognition
TensorFlow mode
WASM mode
Downstream App
other, please specify below
Which Nextcloud version do you have installed?
27.0.2
Which Operating system do you have installed?
Debian 11
Which database are you running Nextcloud on?
MariaDB
Which Docker container are you using to run Nextcloud? (if applicable)
N.A.
How much RAM does your server have?
4GiB
What processor Architecture does your CPU have?
ARM64
Describe the Bug
It seems that when using S3 as main storage, recognize can't access the files.
When using occ recognize:classify just after enabling face recognition, it spams Could not find file and removing 123456 from faces queue because it couldn't be found and only succeed to run on images hosted on my SFTP external storage, not on files hosted on S3 main storage.
I've ~600 photos.
It seems to work when using regular background job though, only occ recognize:classify seems to have this problem.
Expected Behavior
It should detect faces also on S3 main storage.
To Reproduce
- Setup a Nextcloud with S3 main storage
- Note : I use Hetzner CAX11 (ARM64) and Scaleway Object Storage.
- Add some photos
- (Add a SFTP external storage)
- Install Recognize
- Activate Face Recognition
- Run
occ recognize:classify - See that it succeeds only for images hosted on SFTP, not on S3
Debug log
https://paste.evolix.org/?e24017eeb4db4b87#9N4X5b5Sm1YM6n7t6gQmJDC1pe1Sku6K3etSQG51N1vR
- 主要语言
- PHP
- 星标
- 699
- 派生
- 68
- 平均合并
- 18 小时 34 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/recognize 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
insertDeletion looks up recognize_fs_deletions by node_id alone, which no index covers — bulk removals scan the whole table per file可能已有人在做 @marcelklehr 于 7 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/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 于 188 天前认领,目前没有进行中的 PR。 未关闭bug
查看 nextcloud/recognize 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Awaiting Triage bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
product / databases
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
VilnaCRM-Org/user-service#525 ·
维护者通常 21 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
shukiv/jabali-panel#2029 ·
维护者通常 1 天内回复