Skip to content
Back

Git connection is not working anymore on 1.9.5

  • 0
  • 2
  • Self Hosted
17 Jul, 2026, 12:57

Hello all, I updated from 1.8.1 to 1.9.0 then 1.9.5. All seems to work even the Github connection.

In Git configuration I see my Github user but when trying to deploy a new function, repositories are empty... Do you have any suggestions?

Thanks

TL;DR
Git connection is not working on version 1.9.5. Use `\n` for line breaks.
17 Jul, 2026, 13:06

Edit: found the issue, the web installer changed my .env from this:

TypeScript
_APP_VCS_GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
XXXXXXXXXX
XXXXXXXXXX
-----END RSA PRIVATE KEY-----"

To something like this:

TypeScript
_APP_VCS_GITHUB_PRIVATE_KEY="\\\\\\\-----BEGIN RSA PRIVATE KEY-----

I updated like before then docker compose up -d then working!

Is there a better way to write the private key instead of new lines, I remember having a lot of issue accross before all upgrades I made in the past with this Github private key...

19 Jul, 2026, 04:54

I'm glad to hear the issue is resolved. You can use the \n newline character to insert a line break; I'm not aware of any other way to do it.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more