Our drone build started failing today returning this error.
Initialized empty Git repository in /drone/src/.git/
+ git fetch origin +refs/heads/master:
remote: Repository not found.
We had builds succeed yesterday and I can’t find any changes that would have caused this error. This is a private repository. Other builds in our organization are succeeding. Any ideas on what could cause this error or ways to troubleshoot?
off the top of my head, could be a github outage (they had one today) or perhaps the user account that is linked to this repository (and activated this repository) had their access revoked or revoked Drones access to their account … if the user account associated with this repository no longer has access, the authenticated clone will fail with Repository Not Found.
Great, glad to hear you got it working. Also heads up that when off-board a user, if you delete the user from Drone as part of your off-board process, Drone will attempt to automatically re-assign the user’s repositories to avoid disruption.