`occ recognize:classify` : "Could not find file" using S3 as main storage
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
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分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 が 6 日前に担当しました。 オープン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 が 187 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
nextcloud/recognize の issue をすべて見る
似ている issue
-
Lead create/update: a product row without a "product_id" key passes LeadForm validation and fails in the database (500)対応中かも @Arslan-TR が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
krayin/laravel-crm#2681 ·
メンテナーはふだん 2 日以内に返信
-
[CoreBundle] Migrations are silently skipped on MariaDB with DBAL 4 (AbstractMigration::isMySql())オープンPotential Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Sylius/Sylius#19270 · コメント 1 件 · リアクション 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
invoiceninja/invoiceninja#13320 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信