Codeberg-CI/feedback
488
71

Broken pipeline with: could not load config from forge: %!w() #267

Closed
opened 2025年08月11日 00:20:09 +02:00 by colonelpanic · 3 comments

The CI pipeline we set up for dialab/dialibra stopped working some time in the past few months for no apparent reason—there have been no configuration changes between the time it was working and now.

When running a job, we see could not load config from forge: %!w() on the errors tab.

Screenshot 2025年08月10日 at 5.18.40 PM

This seems to indicate it can't read the configuration file, but its location at .woodpecker/hugo.yml has not changed since it was previously working fine.

Debugging locally with woodpecker-cli exec is not viable because it won't support secrets until 3.9.0 is released.

I am unsure if this is related, but when clicking on the Branches tab for the repo I get a toast error that states failed to load branches: user does not exist [uid: 0, name: ]

Screenshot 2025年08月10日 at 5.17.49 PM

We see the same failures whether it is triggered by PR, Merge, or manual.

I tried setting up a custom agent to see if this would make a difference, and it did not.

At this point I have exhausted any diagnostic steps I can think of and would welcome suggestions or assistance.

The CI pipeline we set up for [dialab/dialibra](https://codeberg.org/dialab/dialibra) stopped working some time in the past few months for no apparent reason—there have been no configuration changes between the time it was working and now. When running a job, we see `could not load config from forge: %!w()` on the errors tab. ![Screenshot 2025年08月10日 at 5.18.40 PM](/attachments/69b188c5-d4fe-4bcc-83f9-0470a6834bc5) This seems to indicate it can't read the configuration file, but its location at `.woodpecker/hugo.yml` has not changed since it was previously working fine. Debugging locally with `woodpecker-cli exec` is not viable because it won't support secrets until [3.9.0 is released](https://github.com/woodpecker-ci/woodpecker/pull/5304). I am unsure if this is related, but when clicking on the Branches tab for the repo I get a toast error that states `failed to load branches: user does not exist [uid: 0, name: ]` ![Screenshot 2025年08月10日 at 5.17.49 PM](/attachments/54076c87-c132-4322-bf64-730f8bddb4b8) We see the same failures whether it is triggered by PR, Merge, or manual. I tried setting up a custom agent to see if this would make a difference, and it did not. At this point I have exhausted any diagnostic steps I can think of and would welcome suggestions or assistance.
Author
Member
Copy link

We were able to get this working again by going to Settings -> Actions and clicking "Repair repository"

We were able to get this working again by going to Settings -> Actions and clicking "Repair repository"
Member
Copy link

We were able to get this working again by going to Settings -> Actions and clicking "Repair repository"

@colonelpanic thank you for leaving this little instruction for repair here. It helped me. I had my CI broken just like you described even though I didn't modify any configs for a very long time. "Repair repository" button saved the day!

> We were able to get this working again by going to Settings -> Actions and clicking "Repair repository" @colonelpanic thank you for leaving this little instruction for repair here. It helped me. I had my CI broken just like you described even though I didn't modify any configs for a very long time. "Repair repository" button saved the day!
Author
Member
Copy link

@txgk you're welcome, that is why I left the comment!

xkcd

@txgk you're welcome, that is why I left the comment! ![xkcd](https://imgs.xkcd.com/comics/wisdom_of_the_ancients.png)
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg-CI/feedback#267
Reference in a new issue
Codeberg-CI/feedback
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?