
Also, is this in the .env
file or the docker-compose.yml
file?

.env

im trying out now different versions of copying it

as a string, without and with quatations, with or without the space, and with or with out the /n, so far same results

when i do docker-compose exec appwrite vars should look like this ?

with a space in between ?

because of the \n

Mine shows like this

In my .env
I've got it all wrapped in "
, on one line and with \n
replacing any line breaks

ok so i do this, i paste in pycharm, do ctrl+a, and do join lines

how many breaks did you have?

by line breaks you mean you replaced space in the joined string?

in the file there is last space after the end of the rsa, did you add that as line break as well ?

So mine went from this:
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCDjhu9Pb21hLHi49cW1OkBwhqVwJYu/HopUIBUi4srSQgO21+6
2r7htr7Nmmok70mptImZl6LKv8Bers916t3BLp4YYrxcOGwSIw9LjYHTp9c+OYzX
...
to this:
-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQCDjhu9Pb21hLHi49cW1OkBwhqVwJYu/HopUIBUi4srSQgO21+6\n2r7htr7Nmmok70mptImZl6LK...

ok will try it out, thanks

i do this before join

and wrap in "" after join, i get the same result after it.

where do i look for the log errors ?

docker logs appwrite
docker logs openruntimes-executor
docker logs appwrite-worker-functions

[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-02-06T20:54:01+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-02-06T20:55:20+00:00
[Error] Method: GET
[Error] URL: /v1/vcs/github/callback
[Error] Type: Appwrite\Auth\OAuth2\Exception
[Error] Message: Bad credentials: No description
[Error] File: /usr/src/code/src/Appwrite/Auth/OAuth2.php
[Error] Line: 212```

Is the signing key is in one line?

yes its one big string

Have you restarted the containers after making the change?

hmm, i did not the last few times, because i saw the variables being updated anyways

let me try to do down and up again
Recommended threads
- appwrite/appwrite:1.7.4 image missing En...
Hi Team, I'm experiencing a critical issue when deploying the official appwrite/appwrite:1.7.4 Docker image. After pulling the image (both by tag and by digest...
- cannot update env _APP_SYSTEM_SECURITY_E...
I tried updating .env file using vim and change the env _APP_SYSTEM_SECURITY_EMAIL_ADDRESS=arcivalpalma07@gmail.com and save. docker compose up -d docker com...
- Trouble Using Appwrite Sites on Self-Hos...
Hi team, I’m currently self-hosting Appwrite v1.7.4 using Dokploy (Compose Type: docker-compose) and everything in the deployment appears to be functioning — C...
