Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`occ recognize:classify` : "Could not find file" using S3 as main storage

オープン
#987 コメント 6 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
backend, cli, cloud

調査の方向性

occ recognize:classify のエントリーポイントとリンク先のデバッグログから始め、ファイルアクセスを、正常に完了する通常のバックグラウンドジョブと比較します。S3 メインストレージと SFTP 外部ストレージに対してコマンドを再現します。完了の条件は、分類処理が S3 に保存された画像を Could not find file を発生させたり、キューに入れられたアイテムを削除したりせずに処理できることです。

索引モデルが issue の本文から書いたものです。

説明

bug priority: normal
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分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/recognize のほかの issue

nextcloud/recognize の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。