Now I setup a fresh repository at https://github.com/metabrainz/picard-snap . I unlinked my previous repository from the Picard snap’s build page, then linked the new repository:
After linking I got a message that the hook could not be setup automatically and I should trigger a build manually.
Manually triggering a build does not seem to work, the builds page is stuck with a “Waiting for builds…” message
I added the webhook to https://snapcraft.io/picard/webhook/notify manually to the repo, but Github receives a 500 Internal Server Error when trying to deliver the webhook.
Thanks for the link. Yes, build itself was just taking a bit longer, it’s fine now. So the only issue left is the webhook, which fails with a 500 error. The response body is a generic HTML page without further details, just:
Internal Server Error
Please try again later
You can check the service status at status.snapcraft.io.
According to Github webhooks not working? the manual creation of webhook does not work, one has to rely on the automatic creation. And that fails for unknown reason. I also tried disconnecting and connecting the reporitory again, with same result.
It would be great if one could also create the webhook manually, that would be a way to solve this.
Ok, it works now. I don’t know why. Originally this was a newly created repository on the org. I know moved it back to my personal account, moved that again over to the org, unlinked and linked the repo again from Snapcraft and now it also created the webhook. It probably was some kind of permission thing or whatever, which is strange because I always had the permission to create webhooks.
Ok, screw it. Not solved. The webhook that yesterday worked today failed with a 403 because of invalid secret. Tried to delete the webhook and recreate it, now creation fails again "The GitHub Webhook could not be created. Please trigger a new build manually. "