
I followed the guide to setup github app, but after I tried connecting repo I get an error above after github calls back. Development error might indicate something with oauth. Any hints?

What guide?

official in docs

Do you can send the link of the specific tutorial that you have followed?

Also, what are the logs for docker compose logs appwrite
?


So do you have set the corresponding variables in the .env file?

Master pid 1, manager pid 7 [Error] Timestamp: 2024-05-31T17:12:04+00:00 [Error] Method: GET [Error] URL: /v1/vcs/github/callback [Error] Type: Ahc\Jwt\JWTException [Error] Message: Signing key cannot be empty [Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php [Error] Line: 34 [Error] Timestamp: 2024-05-31T17:18:07+00:00 [Error] Method: [Error] URL: /favicon.ico [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

oh

where do I set this signing key?

In the env variables I think

_APP_VCS_GITHUB_CLIENT_SECRET is set

_APP_VCS_GITHUB_WEBHOOK_SECRET set as well

_APP_OPENSSL_KEY_V1 too

According to the page in the link you sent there are more variables that need to be set

Specifically those:

_APP_VCS_GITHUB_APP_NAME _APP_VCS_GITHUB_PRIVATE_KEY _APP_VCS_GITHUB_APP_ID _APP_VCS_GITHUB_CLIENT_ID _APP_VCS_GITHUB_WEBHOOK_SECRET

all set

If you have installed appwrite through the usual procedure (the automatic install in the docs), do you have run this command to recreate the containers and apply the changes?
docker compose up -d

yup

Weird. After runnng docker exec appwrite vars
does it shows all the github keys?
(**don't **send here the keys)

yes, 6 in total

those you listed and app id additional

so for the people that get the same error: https://github.com/appwrite/appwrite/discussions/8011
Recommended threads
- I need urgent help - Error upgrading to ...
Hey guys, how are you? I waited for the self-hosted documentation to update so I could update my appwrite version to version 1.7.2. I ran the upgrade command ...
- S3 Bucket Error
Good afternoon. I tried to configure _APP_STORAGE_S3_ENDPOINT, Appwrite version 1.7.0. I tried two different providers, but on both I encountered an access erro...
- Upgrade from 1.6.2 to 1.7.2 error during...
I just went through the process of upgrading my selfhosted instance from `1.6.2` to `1.7.2`: ``` docker run -it --rm \ --volume /var/run/docker.sock:/var/r...
