Upload: import: /photoprism/import/upload/123456789... does not exist #1187

Closed
opened 2026-02-20 00:07:55 -05:00 by deekerman · 2 comments
Owner

Originally created by @make-github-pseudonymous-again on GitHub (Oct 24, 2021).

TL;DR

CAUSE: Your photoprism instance is probably behind a reverse proxy that has a limit on request body size.

FIX: Increase request body size limit. If you use NGINX for instance, add client_max_body_size 500M; which is clearly listed at https://docs.photoprism.org/getting-started/proxies/nginx/.

What does not work as expected?

Upload ends with error. Files do not seem to be created in /photoprism/import and cannot be found in /photoprism/originals.

How can we reproduce it?

Upload a high quality file.

What behavior do you expect?

Should work.

Can you provide us with example files for testing or screenshots?

No.

What version you are using?

211018-e200f322-Linux-x86_64

Any other helpful information?

Example server log (newest first):

2021-10-24 11:39:22 ERRO import: /photoprism/import/upload/123456789... does not exist
2021-10-24 11:39:22 INFO moving files from 123456789...

NGINX configuration:

server {
    server_name  photoprism.local;
    listen       80;
    listen       [::]:80;

    location / {
        proxy_pass http://127.0.0.1:2342;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade; # allow websockets
        proxy_set_header Connection $connection_upgrade;
    }

}
Originally created by @make-github-pseudonymous-again on GitHub (Oct 24, 2021). **TL;DR** > **CAUSE**: Your photoprism instance is probably behind a reverse proxy that has a limit on request body size. > **FIX**: Increase request body size limit. If you use NGINX for instance, add `client_max_body_size 500M;` which is clearly listed at https://docs.photoprism.org/getting-started/proxies/nginx/. **What does not work as expected?** Upload ends with error. Files do not seem to be created in /photoprism/import and cannot be found in /photoprism/originals. **How can we reproduce it?** Upload a high quality file. **What behavior do you expect?** Should work. **Can you provide us with example files for testing or screenshots?** No. **What version you are using?** 211018-e200f322-Linux-x86_64 **Any other helpful information?** Example server log (newest first): ```log 2021-10-24 11:39:22 ERRO import: /photoprism/import/upload/123456789... does not exist 2021-10-24 11:39:22 INFO moving files from 123456789... ``` NGINX configuration: ```nginx server { server_name photoprism.local; listen 80; listen [::]:80; location / { proxy_pass http://127.0.0.1:2342; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; # allow websockets proxy_set_header Connection $connection_upgrade; } } ```
deekerman 2026-02-20 00:07:55 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@make-github-pseudonymous-again commented on GitHub (Oct 24, 2021):

Haha! Maybe NGINX is the culprit due to upload size constraint. I'll check if I can fix this.

@make-github-pseudonymous-again commented on GitHub (Oct 24, 2021): Haha! Maybe NGINX is the culprit due to upload size constraint. I'll check if I can fix this.
Author
Owner

@make-github-pseudonymous-again commented on GitHub (Oct 24, 2021):

Indeed. Fixed! I'll redact the issue to leave only the relevant information.

@make-github-pseudonymous-again commented on GitHub (Oct 24, 2021): Indeed. Fixed! I'll redact the issue to leave only the relevant information.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#1187
No description provided.