-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
Description
Description
Hello!
When I try to upload big RPM (~300M) file to package repo with curl:
curl --user user --upload-file big.rpm https://git.example.com/api/packages/user/rpm/upload
I got an error:
Feb 09 09:01:14 LXC-Gitea-192 gitea[5200]: 2024/02/09 09:01:14 .../packages/rpm/rpm.go:29:apiError() [E] Error 1406 (22001): Data too long for column 'value' at row 1
Feb 09 09:01:14 LXC-Gitea-192 gitea[5200]: 2024/02/09 09:01:14 .../packages/rpm/rpm.go:30:func9() [T] plainTextInternal (status=500): Error 1406 (22001): Data too long for column 'value' at row 1
Feb 09 09:01:14 LXC-Gitea-192 gitea[5200]: 2024/02/09 09:01:14 ...eb/routing/logger.go:102:func1() [I] router: completed PUT /api/packages/GP20/rpm/upload for 192.168.88.11:0, 500 Internal Server Error in 10039.8ms @ rpm/rpm.go:111(rpm.UploadPackageFile)
Small RPMs uploading successfully
Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian GNU/Linux 10 (buster) in LXC on Proxmox
How are you running Gitea?
Deployed from Turnkey image, updated manually
Database
MySQL/MariaDB