You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publishing a fairly large package leads to the following error (Gitea 1.17.2 on MariaDB):
Nov 2 15:26:50 10.0.0.8 git-live_server[738]: 2022/11/02 15:26:50 ...packages/packages.go:159:createPackageAndVersion() [E] [63628c39] Error inserting package: Error 1406: Data too long for column 'metadata_json' at row 1
Changing the type of the column fixes the issue:
ALTERTABLE`package_version` CHANGE `metadata_json``metadata_json` LONGTEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL;
Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
See above
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Gitea in Docker using MariaDB 0.7.6-MariaDB-1:10.7.6+maria~deb11-log - mariadb.org binary distribution
Database
MySQL
The text was updated successfully, but these errors were encountered:
Description
Publishing a fairly large package leads to the following error (Gitea 1.17.2 on MariaDB):
Changing the type of the column fixes the issue:
Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
See above
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Gitea in Docker using MariaDB 0.7.6-MariaDB-1:10.7.6+maria~deb11-log - mariadb.org binary distribution
Database
MySQL
The text was updated successfully, but these errors were encountered: