Files
spark 784a872e52
ci / rust (pull_request) Successful in 4m18s
ci / typescript (pull_request) Failing after 9m17s
Keep the picture the photographer framed, including the ball and the players.
A tight crop was dropping a ball held out to the side and a second player, and a learnt cut could chop a body the frame had kept. Reportage stays open, open eyes win a sequence, and a Canon file that still has the camera level uses that roll. The library menu, sort, and event-day folder go out with the same change.
2026-11-21 19:50:51 +00:00
..

SFTPGo for camera uploads

Cameras (Canon R1/R3 FTP, Sony, Nikon) send to SFTPGo; SFTPGo writes into <INGEST_ROOT>/<login>/ and the PhotoReport worker picks the files up. SFTPGo has no users of its own: every login is checked by the API through the external authentication hook (/v1/sftpgo/auth), against the FTP logins and passwords made in the app.

  1. Install SFTPGo on the ingest container, start from sftpgo.json.example (upload_mode 1 writes to a temp name and renames when complete, so the worker never sees half a file).
  2. Set the same random key (24+ characters) in the hook URL and in apps/api/.env as SFTPGO_HOOK_KEY.
  3. Open FTP 21 and the passive range in the firewall; set force_passive_ip to the public address if behind NAT. max_per_host_connections and max_total_connections are 0 (no cap). SFTPGo's own default is 20 per address, which refuses a camera that already has several connections open. A logged-in camera is not limited here.
  4. In the app (Metadados -> Logins FTP), create a login per camera body; the password is shown once.