Hello all, I had an issue when trying to create function from Github VCS:
- Connect a Github VCS to Appwrite (https://appwrite.io/docs/configuration#git)
- Create a function (from QuickStart for ex.)
- Create a new repository or connect to existing (both not work)
- Click on "Create"
I can see a "Server error" like this picture.
Here is the log from docker-compose logs appwrite:
appwrite | [Error] Timestamp: 2023-09-05T09:07:26+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/functions
appwrite | [Error] Type: Utopia\Database\Exception\Structure
appwrite | [Error] Message: Invalid document structure: Unknown attribute: "schedule"
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
appwrite | [Error] Line: 2619
Not sure if it's directly linked to https://discord.com/channels/564160730845151244/1146628611609198723 because one is from CLI 2.X & this issue is from Github VCS
Hi @iStornZ - Let me look into it
can you confirm if you've tried restarting containers and while upgrading, ran the upgrade commands
Yes I restarted using docker-compose up -d, what do you mean by "while upgrading, ran the upgrade commands" ?
I think it might be related to the discussion you posted, I will confirm
yup that's the one
Ok so we need to wait for a fix for Appwrite right ?
I need to confirm once if this PR https://github.com/appwrite/appwrite/pull/6095 fixes it else we would need to see an alternate way. I will let you know ASAP.
Thanks for creating the github issue, linking it here: https://github.com/appwrite/appwrite/issues/6151
Perfect thanks !
Hi @iStornZ this is an issue with the migration. We are working on a fix for this and will be released with next version.
Thanks! Do you have any ETA ? π
[SOLVED] Cannot create function from Github VCS
Recommended threads
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...