Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitLab nested group - pipeline fails #2311

Closed
5 tasks done
gu1ll0me opened this issue Aug 21, 2023 · 1 comment · Fixed by #2981
Closed
5 tasks done

GitLab nested group - pipeline fails #2311

gu1ll0me opened this issue Aug 21, 2023 · 1 comment · Fixed by #2981
Labels
bug Something isn't working forge/gitlab gitlab forge related

Comments

@gu1ll0me
Copy link

Component

server

Describe the bug

Project in a nested group is detected and added successfully, but when triggered by the webhook (push event) the pipeline fails with the error below in the server logs (the PROJECT_NAME seems missing in the GET URL). However, everything is working fine when the pipeline is triggered manually with the "Run pipeline" button (no error in the server logs and the pipeline completes successfully).

{"level":"error","error":"GET https://SERVER/api/v4/projects/GROUP/SUBGROUP: 404 {message: 404 Project Not Found}","repo":"GROUP/SUBGROUP/PROJECT_NAME","user":"USER","time":"2023-08-21T12:03:16Z","message":"could not get folder from forge"}

And the UI shows :

Execution error
pipeline definition not found in GROUP/SUBGROUP/PROJECT_NAME

After that, the UI always shows An unknown error occurred. I have to use the "Repair repository" action to be able to work with the repository again.

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"1.0.2"}

GitLab 16.2.4

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.
@gu1ll0me gu1ll0me added the bug Something isn't working label Aug 21, 2023
@6543 6543 added the forge/gitlab gitlab forge related label Aug 21, 2023
@6543
Copy link
Member

6543 commented Dec 20, 2023

-> #2981

lafriks pushed a commit that referenced this issue Dec 20, 2023
@pat-s pat-s mentioned this issue Oct 25, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forge/gitlab gitlab forge related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants