Failing to download artifact -> 500 error #11147

Closed
opened 2025-11-02 09:28:57 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @AndyTempel on GitHub (Jul 2, 2023).

Description

Using the github.com/actions/download-artifact@v3 I'm unable to get the artifact from the previous job. In the gitea logs I found the following errors:

2023/07/02 14:26:22 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/actions_pipeline/_apis/pipelines/workflows/6/artifacts/5/download for my.ip.address:0, 500 Internal Server Error in 133.6ms @ <autogenerated>:1(actions.artifactRoutes.downloadArtifact-fm)
2023/07/02 14:13:58 ...ons/runner/runner.go:148:UpdateTask() [W] Failed to find the sent outputs of task 12: pq: relation "action_task_output" does not exist

in the gitea act I found this:

[build-docker-image/build-image]   | ::debug::Artifact Url: http://xx.xx.xx.xx:9081/api/actions_pipeline/_apis/pipelines/workflows/6/artifacts?api-version=6.0-preview
...
[build-docker-image/build-image]   | A 500 response code has been received while attempting to download an artifact
[build-docker-image/build-image]   | Exponential backoff for retry #1. Waiting for 5506 milliseconds before continuing the download
...

After multiple attempts it fails.

Gitea Version

1.20.0+rc2-25-g1ddfe0313

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.40.1, Wire Protocol Version 2 Enabled

Operating System

Docker, Unraid 6.12.2

How are you running Gitea?

Using the 1.20-nightly docker image.
Gitea Act: v0.2.1+1-gf2629f2
For storage, I use minio.
Database is postgres-14.

Database

PostgreSQL

Originally created by @AndyTempel on GitHub (Jul 2, 2023). ### Description Using the github.com/actions/download-artifact@v3 I'm unable to get the artifact from the previous job. In the gitea logs I found the following errors: ``` 2023/07/02 14:26:22 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/actions_pipeline/_apis/pipelines/workflows/6/artifacts/5/download for my.ip.address:0, 500 Internal Server Error in 133.6ms @ <autogenerated>:1(actions.artifactRoutes.downloadArtifact-fm) 2023/07/02 14:13:58 ...ons/runner/runner.go:148:UpdateTask() [W] Failed to find the sent outputs of task 12: pq: relation "action_task_output" does not exist ``` in the gitea act I found this: ``` [build-docker-image/build-image] | ::debug::Artifact Url: http://xx.xx.xx.xx:9081/api/actions_pipeline/_apis/pipelines/workflows/6/artifacts?api-version=6.0-preview ... [build-docker-image/build-image] | A 500 response code has been received while attempting to download an artifact [build-docker-image/build-image] | Exponential backoff for retry #1. Waiting for 5506 milliseconds before continuing the download ... ``` After multiple attempts it fails. ### Gitea Version 1.20.0+rc2-25-g1ddfe0313 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.40.1, Wire Protocol Version 2 Enabled ### Operating System Docker, Unraid 6.12.2 ### How are you running Gitea? Using the 1.20-nightly docker image. Gitea Act: v0.2.1+1-gf2629f2 For storage, I use minio. Database is postgres-14. ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:28:57 -06:00
Author
Owner

@AndyTempel commented on GitHub (Jul 2, 2023):

Possibly fixed by: https://github.com/go-gitea/gitea/pull/24874
Workaround:

  1. Before uploading tar the directory/files
  2. Upload artifact
  3. Download artifact and untar
@AndyTempel commented on GitHub (Jul 2, 2023): Possibly fixed by: https://github.com/go-gitea/gitea/pull/24874 Workaround: 1. Before uploading tar the directory/files 2. Upload artifact 3. Download artifact and untar
Author
Owner

@lunny commented on GitHub (Jul 2, 2023):

Possibly fixed by: #24874 Workaround:

1. Before uploading tar the directory/files

2. Upload artifact

3. Download artifact and untar

Could you help to confirm #24874 fix that?

@lunny commented on GitHub (Jul 2, 2023): > Possibly fixed by: #24874 Workaround: > > 1. Before uploading tar the directory/files > > 2. Upload artifact > > 3. Download artifact and untar Could you help to confirm #24874 fix that?
Author
Owner

@lunny commented on GitHub (Jul 26, 2023):

Closed by #24874 merged.

@lunny commented on GitHub (Jul 26, 2023): Closed by #24874 merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11147