
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
- A way to configure cloud function config...
Is there a way to configure cloud functions locally and keep that in github and deploy from source control instead of manually configuring it from the console f...
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
