The workers couldn't decrypt users.nextcloud_app_password_enc because SECRET_KEY wasn't in their env. _credentials_for() then raised NextcloudCredentialsMissing and our code swallowed it as "no NC auth → fall back to local path." Surfaced on the Phase 4 deploy when /data/thumbs/.../medium.webp was purged and the vision worker had no disk fallback left. NC preview fetch then returned None, the classifier got no image, and the photo failed to classify. Also masked Phase 3 silently — extract_metadata in worker-light was falling back to ExifTool every time instead of hitting Memories (which would have been fine because ExifTool produces the same fields, but slower and unnecessary). With SECRET_KEY available, the Memories primary path actually fires.
15 KiB
15 KiB