Rank 4: Virtual Machine
and if it fully works and i need it, it goes to a production server
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 4: Virtual Machine
and if it fully works and i need it, it goes to a production server
Rank 4: Virtual Machine
where I install the software from scratch, set it up correctly and then use the .env file instead, or whatever the software needs
Rank 4: Virtual Machine
but I can try using the .env and see if it works
you should be using the docker-compose.yml and .env file provided when installing Appwrite using docker. Any env var changes should be done in the .env file. When you're done testing, you can copy the whole appwrite folder (with the docker-compose.yml and .env files) to your production server and run docker compose up -d
Rank 4: Virtual Machine
Moved everything to .env, now am getting this:
i've seen this happen if the github callback URLs in the github app are incorrect, missing, or not in the right order
Rank 4: Virtual Machine
refreshing the page still shows the same values?
Rank 4: Virtual Machine
correct
Is the output of docker compose exec appwrite vars all look correct for the GITHUB env vars?
for the account permissions in the github app, is the email address permission set to read-only?
Rank 4: Virtual Machine
yes
Rank 4: Virtual Machine
seems to be good
Rank 4: Virtual Machine
although this gives invalid private key, even though if i try anything else, i get a different error
Rank 4: Virtual Machine
so i think the key is correct too
even though if i try anything else, i get a different error
huh what do you mean?
Rank 4: Virtual Machine
oh nvm, suddenly it says valid
Rank 4: Virtual Machine
kept yelling invalid key the entire time, but now it seems fine, however still getting that error
Rank 4: Virtual Machine
it's on /v1/vcs/github/callback
Rank 4: Virtual Machine
so i can install everything, but the moment it redirects back i get that
maybe something is wrong with your _APP_VCS_GITHUB_CLIENT_ID or _APP_VCS_GITHUB_CLIENT_SECRET
Rank 4: Virtual Machine
ah!
Rank 4: Virtual Machine
the app id was incorrect.. no clue where i got that id from
Rank 4: Virtual Machine
thank you so much
Rank 4: Virtual Machine
[Solved] GH Functions callback error 500