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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...