New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug Report: Functions Connect to Github goes to 404 Page #6086
Comments
I can confirm the issue on my server too...
|
Can confirm this issue exists on a fresh install as well.
|
Can you check if all environment variables are set? You can see in the URL the missing part ref: https://appwrite.io/docs/environment-variables#vcs_(version_control_system) |
Checked really quick, it looks like appwrite/app/controllers/api/vcs.php Lines 250 to 251 in caf53bb
|
@TorstenDittmann I've got a question.
What exactly am I looking for? |
After I add _APP_VCS_GITHUB_APP_NAME , it not goes to 404 New Project and Select Existing both jump to this page and nothing more! |
Can confirm this. It goes to the app installation page, and does nothing. Going back to the console shows no new function. Nothing in my github profile as well. |
@sunjianan9900, would you please try to uninstall the github app from your github account and then try connecting from appwrite again? |
i'm having the same issue, i think it would be great that this get added to the documentation for the self hosting section, even after an upgrade from 1.3.x to 1.4.x that app never came up, and was a missing env variable, so i think it would be great that this get added to the documentation, what to put on the github app creation etc, after it send me to install appwrite on github, it just stay there, if i go back to create a function, and i choose github ( after is already install on appwrite ) it does the same process as if is going to be installed again |
@sunjianan9900, do you still need help connecting to GitHub? FYI, I'll need to close this due to inactivity soon. @acidlake, I recommend joining us on Discord if you still need help. |
I can confirm (after spending the entire evening) reinstalling the app does not solve this. |
Closing due to inactivity. Anyone else having trouble should create a support post on Discord. |
Documentation is unclear. |
馃憻 Reproduction steps
Create A Function with templates "python - Prompt ChatGPT"
Connect to Github
Whichever one you choose will go to a 404 page:
it jump to
https://github.com/apps//installations/new?state=%7B%22projectId%22%3A%2264f0462f890e0693f561%22%2C%22success%22%3A%22https%3A%5C%2F%5C%2Fapi.mydomain.top%5C%2Fconsole%5C%2Fproject-64f0462f890e0693f561%5C%2Ffunctions%5C%2Ftemplates%3Ffrom%3Dgithub%26to%3Dtemplate%26step%3D4%26template%3Dprompt-chatgpt%26templateConfig%3D%257B%2522%2524id%2522%253Anull%252C%2522runtime%2522%253A%2522python-3.9%2522%252C%2522name%2522%253A%2522Prompt%2BChatGPT%2522%252C%2522variables%2522%253A%257B%2522OPENAI_API_KEY%2522%253A%2522sb-33e885d5320d95bd99de3496ff7346d1%2522%252C%2522OPENAI_MAX_TOKENS%2522%253A%2522512%2522%257D%252C%2522repositoryBehaviour%2522%253A%2522new%2522%252C%2522repositoryName%2522%253A%2522prompt-chatgpt%2522%252C%2522repositoryPrivate%2522%253Atrue%252C%2522repositoryId%2522%253Anull%257D%22%2C%22failure%22%3A%22https%3A%5C%2F%5C%2Fapi.mydomain.top%5C%2Fconsole%5C%2Fproject-64f0462f890e0693f561%5C%2Ffunctions%5C%2Ftemplates%3Ffrom%3Dgithub%26to%3Dtemplate%26step%3D4%26template%3Dprompt-chatgpt%26templateConfig%3D%257B%2522%2524id%2522%253Anull%252C%2522runtime%2522%253A%2522python-3.9%2522%252C%2522name%2522%253A%2522Prompt%2BChatGPT%2522%252C%2522variables%2522%253A%257B%2522OPENAI_API_KEY%2522%253A%2522sb-33e885d5320d95bd99de3496ff7346d1%2522%252C%2522OPENAI_MAX_TOKENS%2522%253A%2522512%2522%257D%252C%2522repositoryBehaviour%2522%253A%2522new%2522%252C%2522repositoryName%2522%253A%2522prompt-chatgpt%2522%252C%2522repositoryPrivate%2522%253Atrue%252C%2522repositoryId%2522%253Anull%257D%22%7D&redirect_uri=https%3A%2F%2Fapi.mydomain.top%2Fv1%2Fvcs%2Fgithub%2Fcallback
馃憤 Expected behavior
create a github project
馃憥 Actual Behavior
open a 404 page
馃幉 Appwrite version
Version 1.4.x
馃捇 Operating system
Linux
馃П Your Environment
No response
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: