Hey I tried connecting to github (which worked) - but once i try to deploy the status gets stuck on “processing” no logs show up. When trying to redeploy I get the error message “The requested route not found”. I tried every possible combination of Entrypoint and Git settings. But nothing worked.
I also tried creating a new repository with a template. But the appropriate cloud did not create any code, just an empty repository. Same issues as well.
Also manual deployment (.tar.gz) does not work.
My sample main function:
import datetime
def main(context):
current_utc_time = datetime.datetime.now(datetime.UTC)
# Return current UTC time in ISO8601 format
return context.res.json({"now": current_utc_time.isoformat() + "Z"})
Folder structure: my_git_repository/src/main.py
(pls note i removed the build command [install requirements.txt] since i don't use any additional packages)
What am I doing wrong?
what's your project id and function id
I shared over pm - hope that's fine for you 🙂
Recommended threads
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...