Unable to set file size for drag-n-drop uploading #6715

Closed
opened 2025-11-02 07:04:32 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @plaidshirtakos on GitHub (Jan 18, 2021).

  • Gitea version (or commit ref): 1.8.3
  • Git version: 2.17.1
  • Operating system: Ubuntu 18.04.5 LTS, 4.15.0-126-generic
  • Database (use [x]):
    • PostgreSQL
    • [ x ] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [ x ] No
  • Log gist:

Description

Unable to upload file, that is bigger than 3 MB. I have set FILE_MAX_SIZE parameter(https://docs.gitea.io/en-us/config-cheat-sheet/) in /etc/gitea/app.ini config file to 20, but it doesn't have any effect.

Originally created by @plaidshirtakos on GitHub (Jan 18, 2021). - Gitea version (or commit ref): 1.8.3 - Git version: 2.17.1 - Operating system: Ubuntu 18.04.5 LTS, 4.15.0-126-generic - Database (use `[x]`): - [ ] PostgreSQL - [ x ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ x ] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## Description Unable to upload file, that is bigger than 3 MB. I have set FILE_MAX_SIZE parameter(https://docs.gitea.io/en-us/config-cheat-sheet/) in /etc/gitea/app.ini config file to 20, but it doesn't have any effect.
GiteaMirror added the issue/needs-feedback label 2025-11-02 07:04:32 -06:00
Author
Owner

@silverwind commented on GitHub (Jan 18, 2021):

I think you need attachment.MAX_SIZE for this.

@silverwind commented on GitHub (Jan 18, 2021): I think you need `attachment.MAX_SIZE` for this.
Author
Owner

@lunny commented on GitHub (Jan 18, 2021):

Hi, v1.8.3 is outdated. Please upgrade your Gitea and try again.

@lunny commented on GitHub (Jan 18, 2021): Hi, v1.8.3 is outdated. Please upgrade your Gitea and try again.
Author
Owner

@plaidshirtakos commented on GitHub (Jan 20, 2021):

I have already tried to update version(changing binary), but it didn't work. I got error 502 after service restart, I was unable to fix it.

@plaidshirtakos commented on GitHub (Jan 20, 2021): I have already tried to update version(changing binary), but it didn't work. I got error 502 after service restart, I was unable to fix it.
Author
Owner

@zeripath commented on GitHub (Jan 20, 2021):

if you give us some logs we might be able to help you.

@zeripath commented on GitHub (Jan 20, 2021): if you give us some logs we might be able to help you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6715