Back

[SOLVED] Cannot create function from Github VCS

  • 0
  • Functions
iStornZ
5 Sep, 2023, 09:21

Hello all, I had an issue when trying to create function from Github VCS:

I can see a "Server error" like this picture.

Here is the log from docker-compose logs appwrite:

TypeScript
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

TL;DR
Issue: Cannot create function from Github VCS - User reported an issue with creating a function from Github VCS - Support team acknowledged the issue and mentioned that a fix will be released in the next version - Support team also mentioned that they are checking a pull request that might fix the issue - User was asked to confirm if they tried restarting containers and running upgrade commands - User shared a screenshot of the server error they encountered and a related log message - Support team mentioned that the error message indicated an invalid document structure and suggested it might not be directly related to a previous discussion on CLI versions Solution: - A fix
joeyouss
5 Sep, 2023, 10:05

Hi @iStornZ - Let me look into it

joeyouss
5 Sep, 2023, 10:19

can you confirm if you've tried restarting containers and while upgrading, ran the upgrade commands

iStornZ
5 Sep, 2023, 10:22

Yes I restarted using docker-compose up -d, what do you mean by "while upgrading, ran the upgrade commands" ?

joeyouss
5 Sep, 2023, 10:23

I think it might be related to the discussion you posted, I will confirm

joeyouss
5 Sep, 2023, 10:23

yup that's the one

iStornZ
5 Sep, 2023, 10:26

Ok so we need to wait for a fix for Appwrite right ?

joeyouss
5 Sep, 2023, 10:27

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

iStornZ
5 Sep, 2023, 10:30

Perfect thanks !

joeyouss
5 Sep, 2023, 15:26

Hi @iStornZ this is an issue with the migration. We are working on a fix for this and will be released with next version.

iStornZ
5 Sep, 2023, 15:58

Thanks! Do you have any ETA ? πŸ™‚

iStornZ
8 Sep, 2023, 07:28

[SOLVED] Cannot create function from Github VCS

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more