[solved] Repo Enable 500 Errors

I am getting a 500 error when enabling any repository through the drone UI and CLI. My instance is newly created with bitbucket server. I noticed this recent merge and am wondering if it is related: https://github.com/drone/drone/commit/df5d049239ef230faba349abfefc279e50793789. I have verified that I am running the latest build.

The requests are going to /api/repos/{{ project }}/{{ repo }} and I am getting “unexpected end of JSON input” as the response.

This was a user error :dizzy_face:. I ran docker pull drone/drone:0.5 to update the local image, but was running drone/drone:0.5.0. So the code changes linked fixed my issues.