Back

Error 500 when trying to link github on self hosted

  • 0
  • Self Hosted
  • Flutter
  • Functions
Ewyn
13 Aug, 2024, 07:48

Hey there, whenever i try to create or link to a github i get the following logs

TypeScript
[Error] Method: GET
[Error] URL: /v1/vcs/github/authorize
[Error] Type: Appwrite\Extend\Exception
[Error] Message: GitHub App name is not configured. Please configure VCS (Version Control System) variables in .env file.
[Error] File: /usr/src/code/app/controllers/api/vcs.php
[Error] Line: 293
[Error] Timestamp: 2024-08-13T07:17:18+00:00
[Error] Method: 
[Error] URL: /favicon.png
[Error] Type: Appwrite\Extend\Exception
[Error] Message: The requested route was not found. Please refer to the API docs and try again.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 972
[Error] Timestamp: 2024-08-13T07:17:21+00:00
[Error] Method: GET
[Error] URL: /v1/vcs/github/authorize
[Error] Type: Appwrite\Extend\Exception
[Error] Message: GitHub App name is not configured. Please configure VCS (Version Control System) variables in .env file.
[Error] File: /usr/src/code/app/controllers/api/vcs.php
[Error] Line: 293
[Error] Timestamp: 2024-08-13T07:17:34+00:00
[Error] Method: GET
[Error] URL: /v1/vcs/github/authorize
[Error] Type: Appwrite\Extend\Exception
[Error] Message: GitHub App name is not configured. Please configure VCS (Version```
TL;DR
Developers experiencing Error 500 trying to link GitHub on self-hosted site. Error message points towards issue with app name in .env file. Developer needs to properly configure Ngrok and set it up. They are self-hosting without a domain, currently using localhost. Fix issue by correctly setting up Ngrok and updating .env file with correct app name.
Ewyn
13 Aug, 2024, 07:49

I am self hosting without a domain or anything, as of rn its just localhost. How excactly do i fix this? did i miss anything?

Ewyn
13 Aug, 2024, 07:49

i would need https://ngrok.com/ right?

i havent used this whatsoever, is there a guide on how to properly set this up?

Steven
13 Aug, 2024, 22:27

Error says something is wrong with your app name in your .env

Ewyn
13 Aug, 2024, 22:27

Do you mind telling me how i would go on about fixing it?

Ewyn
13 Aug, 2024, 22:28

I do understand your answer, but i can't think about how to solve this properly.

Ewyn
13 Aug, 2024, 22:29

Cause i cant remember touching any files after setting up the docker container :/

Steven
13 Aug, 2024, 22:31

Well that would be another huge problem....you need to set it up...

Ewyn
14 Aug, 2024, 06:10

Thank you very much

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