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
I have a Gitlab-CI config I'd like to migrate to Woodpecker. Said config builds roughly 60 Debian packages, each in its own step for parallelization. When starting a Woodpecker pipeline with this config, the build gets stuck at "not yet started", and in the log of woodpecker-server, I can see the following lines:
Aug 12 22:26:23 woodpecker woodpecker-server[1669020]: {"level":"error","error":"Error 1406 (22001): Data too long for column 'task_data' at row 1","time":"2023-08-12T22:26:23+02:00","message":"queuePipeline"}
Aug 12 22:26:23 woodpecker woodpecker-server[1669020]: {"level":"error","error":"Error 1406 (22001): Data too long for column 'task_data' at row 1","time":"2023-08-12T22:26:23+02:00","message":"failure to start pipeline for REDACTED"}
Aug 12 22:26:23 woodpecker woodpecker-server[1669020]: {"level":"error","error":"Error #01: failure to start pipeline for s3lph/package-pipeline\n","ip":"REDACTED","latency":299.93838,"method":"POST","path":"/hook","status":500,"time":"2023-08-12T20:26:23Z","user-agent":"Go-http-client/1.1","time":"2023-08-12T22:26:23+02:00"}
My Woodpecker instance is backed by a MariaDB database. The schema definition of the tasks relation is:
As we can see here, tasks_data is of type BLOB, which can only store up to 64KiB. Unfortunately, the log entries doesn't show how much size would actually be required. I'd assume migrating to MEDIUMBLOB (up to 16 MiB) (or even LONGBLOB, up to 4 GiB) should resolve the issue.
Component
server
Describe the bug
I have a Gitlab-CI config I'd like to migrate to Woodpecker. Said config builds roughly 60 Debian packages, each in its own step for parallelization. When starting a Woodpecker pipeline with this config, the build gets stuck at "not yet started", and in the log of woodpecker-server, I can see the following lines:
My Woodpecker instance is backed by a MariaDB database. The schema definition of the
tasks
relation is:As we can see here,
tasks_data
is of typeBLOB
, which can only store up to 64KiB. Unfortunately, the log entries doesn't show how much size would actually be required. I'd assume migrating to MEDIUMBLOB (up to 16 MiB) (or even LONGBLOB, up to 4 GiB) should resolve the issue.System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: