Problem connecting GitHub repository to functions in self-hosted instance
- 0
- Self Hosted
- Functions

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 ❤️

does this help? https://www.youtube.com/watch?v=vKXRY6va4sY
Recommended threads
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
