photoprism/photoprism
View on GitHubDisplay HTTP 4xx Error Code if it occurs (eg if upload in webapp fails)
Open
#3,155 opened on Jan 31, 2023
help wantedux
Repository metrics
- Stars
- (39,670 stars)
- PR merge metrics
- (Avg merge 4d) (26 merged PRs in 30d)
Description
1. What is not working as documented?
Original issue: uploads via webapp not possible
Original symptoms:
Uploading Pictures via web app (three dot menu -> upload cloud icon)
to self hosted docker compose :latest package
when executing import for 2 photos from iOS (ipad, iphone) any browser (safari, chrome, firefox)
--> regular indexing happens but nothing is being imported, no error, no success.
Root Cause in my case:
Nginx default configuration allows 1m post upload. After client_max_body_size 64M;
is configured, all works fine.
This leads to: What is not working as documented?
Photoprism isn't reacting to HTTP 413 error.
2. How can we reproduce it?
- Go to example.com/photoprism
- Click on 'three dots' -> 'cloud with upload arrow' -> 'upload cloud with arrow'
- Chose a picture larger than configured client_max_body_size -> click on 'add'
- Wait and see that the processing happens without showing an error
- Check Search / Review and not find the uploaded pictures
3. What behavior do you expect?
upload fails with information that file is too large