After some debugging I saw that on my server I was using my old bb user to connect to the new repository and hence the error.
I added read access to my old user to the new repo and all worked.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I transferred my BB repository to another user and wanted to deploy the new code with Forge.
First I tried to update the BB repo under my site's Update Git Remote section but it said no go and gave me the public key which I need to include in the BB repository.
After I did that that action passed and my Repository in Forge was updated.
However when I try to Deploy the code I get the following error:
Mon Apr 3 23:54:44 UTC 2017
repository access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Am I missing something simple here?
After some debugging I saw that on my server I was using my old bb user to connect to the new repository and hence the error.
I added read access to my old user to the new repo and all worked.
Please or to participate in this conversation.