Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#987 6 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
backend, cli, cloud

Hướng nghiên cứu

Bắt đầu với entry point occ recognize:classify và debug log được liên kết, sau đó so sánh quyền truy cập tệp của nó với background job thông thường đang chạy thành công. Tái hiện lệnh với main storage S3 và external storage SFTP; được xem là hoàn tất khi việc phân loại có thể xử lý các hình ảnh được lưu trong S3 mà không có Could not find file hoặc xóa các mục đang chờ trong hàng đợi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
699
Fork
68
Merge trung bình
18 giờ 34 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/recognize

Tất cả issue của nextcloud/recognize

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.