Back

Problem connecting GitHub repository to functions in self-hosted instance

  • 0
  • Self Hosted
  • Functions
AqueleGustavo
28 Jun, 2024, 06:21

Hello everyone,

I'm facing a strange issue with a self-hosted installation of Appwrite. I've extensively read the documentation, checked all configuration variables in the .env file, and nothing seems to work (so I decided to open this thread =).

When I try to connect a repository for functions, I am redirected to an App configuration screen on GitHub, not a repository selection screen, as shown in the attached video.

Link from the "github" button on the functions page: https://appwrite.meddeck.com.br/v1/vcs/github/authorize?project=pointer-dm6gox&success=https%3A%2F%2Fappwrite.meddeck.com.br%2Fconsole%2Fproject-pointer-dm6gox%2Ffunctions%3Ffrom%3Dgithub%26to%3Dcover&failure=https%3A%2F%2Fappwrite.meddeck.com.br%2Fconsole%2Fproject-pointer-dm6gox%2Ffunctions%3Ffrom%3Dgithub%26to%3Dcover&mode=admin

Environment variables - I've reviewed the variables and everything seems to be correct: _APP_VCS_GITHUB_APP_NAME=darkdeck-appwrite-app _APP_VCS_GITHUB_PRIVATE_KEY='-----BEGIN RSA PRIVATE KEY-----\swihw****\n-----END RSA PRIVATE KEY-----' _APP_VCS_GITHUB_APP_ID=123456 _APP_VCS_GITHUB_CLIENT_ID=**** _APP_VCS_GITHUB_CLIENT_SECRET=******* _APP_VCS_GITHUB_WEBHOOK_SECRET=***

GitHub App configuration (app settings) I added an attached image with the GitHub app configuration.

Please, can someone help me!! Thank you for your attention ❤️

TL;DR
Issue: Unable to connect GitHub repository to functions in self-hosted Appwrite instance Possible Solution: Check GitHub App configuration settings, ensure environment variables are correct. Follow tutorial for troubleshooting: https://www.youtube.com/watch?v=vKXRY6va4sY
darShan
28 Jun, 2024, 06:24
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