Skip to content

[BUG] Cannot upload a backing image larger than 10G #4902

Closed
@shuo-wu

Description

Describe the bug (🐛 if you encounter this issue)

Due to the config limitation lient_max_body_size 10240M in Nginx, Longhorn UI cannot upload a backing image larger than 10G.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the backing image page
  2. Create a backing image with method upload. Then choose a file larger than 10G
  3. The upload will fail after waiting a while

Expected behavior

The upload should succeed.

Log or Support bundle

The keywords of the error shown in UI

413 request entity too large

Environment

  • Longhorn version: v1.3.2

Additional context

@smallteeths will provide the workaround.

Metadata

Type

No type

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions