[BUG][WEB][CLI] <Uploads of large mp4 vidos (~150+ mb) refuse to upload> #430

Closed
opened 2026-02-04 20:26:39 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @darrylgibbs on GitHub (Nov 20, 2022).

Describe the bug
When uploading videos via the CLI or WEB, all videos that are 150+ mb in size refuse to upload, citing an error: "ERROR Cannot upload file xxx.mp4 undefinedundefined."

Task List

Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.

  • [x ] I have read thoroughly the README setup and installation instructions.
  • [ x] I have included my docker-compose file.
  • [ x] I have included my redacted .env file.
  • [ x] I have included information on my machine, and environment.

To Reproduce
Steps to reproduce the behavior:

  1. Upload a large .mp4 video file to an album directly using either the CLI tool or web interface.
  2. Allow the upload attempt to complete.
  3. See error.

Expected behavior
A normal upload of the video file as with the auto backup from my Android phone.

Screenshots
If applicable, add screenshots to help explain your problem.

System

  • Android: v12
  • Server Version: 1.35
  • Mobile App Version: 1.35 build.54

Additional context
docker-compose.txt
env.txt

I've tried uploading via the web using the local IP:port combo, as well as using my Tailscale VPN IP:port combo. Same result.

Originally created by @darrylgibbs on GitHub (Nov 20, 2022). **Describe the bug** When uploading videos via the CLI or WEB, all videos that are 150+ mb in size refuse to upload, citing an error: "ERROR Cannot upload file xxx.mp4 undefinedundefined." **Task List** *Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.* - [x ] I have read thoroughly the README setup and installation instructions. - [ x] I have included my `docker-compose` file. - [ x] I have included my redacted `.env` file. - [ x] I have included information on my machine, and environment. **To Reproduce** Steps to reproduce the behavior: 1. Upload a large .mp4 video file to an album directly using either the CLI tool or web interface. 2. Allow the upload attempt to complete. 3. See error. **Expected behavior** A normal upload of the video file as with the auto backup from my Android phone. **Screenshots** If applicable, add screenshots to help explain your problem. **System** - Android: v12 - Server Version: `1.35` - Mobile App Version: `1.35 build.54` **Additional context** [docker-compose.txt](https://github.com/immich-app/immich/files/10049457/docker-compose.txt) [env.txt](https://github.com/immich-app/immich/files/10049458/env.txt) I've tried uploading via the web using the local IP:port combo, as well as using my Tailscale VPN IP:port combo. Same result.
Author
Owner

@bo0tzz commented on GitHub (Nov 20, 2022):

Are you using a reverse proxy in front of immich? If so, you probably need to set client_max_body_size (or the equivalent for your proxy software). If not, can you include the server logs here?

@bo0tzz commented on GitHub (Nov 20, 2022): Are you using a reverse proxy in front of immich? If so, you probably need to set [client_max_body_size](http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size) (or the equivalent for your proxy software). If not, can you include the server logs here?
Author
Owner

@bo0tzz commented on GitHub (Nov 25, 2022):

Closing this. @darrylgibbs if you're still having this problem, please provide some more information and reopen the issue.

@bo0tzz commented on GitHub (Nov 25, 2022): Closing this. @darrylgibbs if you're still having this problem, please provide some more information and reopen the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#430