Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

johnboylesingfield's avatar

Forge: unable to link Bitbucket repositories

I am suddenly unable to link a bitbucket repo when I create a new site on Forge. This error appears

fatal: repository 'sitename.app' does not exist

  • I entered my repo name correctly as I normally do. strangely, the error mention the name of my site, not the name of my repo that I entered: "username/reponame". Is that normal?

  • I checked my SSH keys on Bitbucket and everything seems fine.

  • I checked the keys in /home/forge/.ssh/authorized_keys and it seems fine. However I didn't check at /root/.ssh/authorized_keys because I don't know how to connect as root on forge. Anyone can help me on this?

  • I refreshed my Bitbucket token on Forge. Didn't work.

  • I tried doing the same thing but with GitHub. Didn't work either.

  • I even created a new DO server, added my keys and tried to connect my repos. Didn't work. Same error.

Other things to consider: I am still perfectly able to deploy my changes from Bitbucket to Forge on my current sites, which indicates me that there is some working SSH connection going on (right?). Also, I did add some Bitbucket repos a couple days ago and everything worked okay. How is it not working now?

I am out of ideas. Any help will be appreciated. Thanks.

0 likes
0 replies

Please or to participate in this conversation.