darktable-org / darktable-org/darktable
No error when export to piwigo fails
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.1k
- Forks
- 1.4k
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 198
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
Issue: self hosted piwigo rejects image upload due to nginx client_max_body_size
Solution: adjust server's client_max_body_size
Bug: darktable does not report any error and pretends image has been uploaded successfully
Steps to reproduce
- on nginx, set client_max_body_size to 1MB
- export 1 JPEG with size > 1MB
- nginx blocks upload
- darktable says: 1/1 exported successfully
Expected behavior
return error; 0/1 exported successfully
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
distro packaging
darktable version
5.2.1
What OS are you using?
Linux
What is the version of your OS?
Ubuntu 24.04
Describe your system
No response
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the export through a Piwigo server using nginx with client_max_body_size set to 1MB, then inspect the Piwigo export error handling in darktable. Done means an upload rejected by nginx is reported as an error and the export count shows 0/1 rather than success.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux, nginx
- Domain
- desktop, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100