It should work the same way for organization
[SOLVED] Functions not working
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
Rank 2: Process
Doesn't seem to work.
Rank 2: Process
One thing of note, the APP_DOMAIN is the same as _APP_FUNCTIONS_DOMAIN
Hmm this is annoying 🤔There is issue in GitHub UI when it doesnt let you save without changes. I use trick when I switch to specific repos, then back to all repos. That allows saving without changes. But it seems like that isnt allowed for orgnaizations
Thats an issue, but should not affect this flow.
I would recommend using some subdomain for function domains. If my domain is backend.mycompany.com, I would do functions domain functions.backend.mycompany.com
Rank 2: Process
I will change it.
Rank 2: Process
Do I need to also change DNS settings or should it work the same?
You will need to change DNS settings, and also configure wildcard certificate for the domain. We plan to write article soon on how to do it with DigitalOcean NS adapter for Traefik.
Tho if you dont need those function domains, you can simply ignore it. Or you could avoid using those auto-generated domains, and use custom domains. those dont require wildcard certificates, and are very easy to set up.
Regarding your problem with GitHub installation, it should again ask for "Authorize" if you uninstall application and try to install it from Appwrite Console again.
Rank 2: Process
I'll try again and uninstall it.
Rank 2: Process
Same issue as before.
Hmm it says it was successful. Can you check docker compose logs appwrite?
Rank 2: Process
Identity not found might be related. let me ask @Steven to check this
Rank 2: Process
Thanks for your help.
(steven is US timezone, it will take few hours to be here)
Rank 2: Process
No worries. I'll divert my attention elsewhere in the meantime
Rank 2: Process
Small update:
I have now tried to set _APP_DOMAIN_FUNCTIONS
To the same as
_APP_DOMAIN: appwrite.example.com
and tried this as well: functions.appwrite.example.com
Got the same successful imported message but these errors were returned in the logs.
Rank 2: Process
After checking the guide again and double checking the github app it seems that one of the callback urls were deleted somewhere in the flow. I'll try to add it back.
Rank 2: Process
That was it.
Rank 2: Process
Sheesh.
Rank 2: Process
Sorry for wasting your time.
no worries! I'm glad you were able to figure it out and it helps us to see possible error messages
[SOLVED] Functions not working