What's the output of appwrite -v?
Server Error when using Appwrite CLI to init a function
Votes
6
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
2.0.2
Rank 3: Container
i JUST installed it with npm install -g appwrite-cli
Thanks. We'll need to push a fix for this
Rank 3: Container
Vincent told me to break 1.4 xD apparently I am following instructions lol
Rank 3: Container
is there a template for appwrite.json? or does it populate when i init my function?
Yes thank you!
It populates when you init. The schema is also in the docs
Rank 3: Container
also, if it makes an difference, i am using node 18.0
Rank 1: Thread
Hi, any fix for this?
so the problem is this attribute was deleted when it shouldn't have been. We'll need to push out a fix to restore this attribute. Here's the PR: https://github.com/appwrite/appwrite/pull/6095
Is there a way to temporary fix this? I'm running 1.4.1 on a clean install (after using the one-click install from Digital Ocean, then migrating to 1.4.1) but run into the same error after connecting my GitHub account and try to create a node-18 function
Technically, it's possible to manually fix by manually modifying some things in the database directly, but it's kind of complicated. I'm trying to rush another patch release to fix it.
I think its not only schedule attirbute gone missing, there are other attributes too in 'executions' table and also 'variables' table because all of my functions variables were deleted after migration
EDIT: Because on createExecution from console, I got the same 'Server Error'
What's the docker logs from the appwrite container for the create execution API call?
Rank 3: Container
I see the PR for this was closed and merged, do we know when it will be released?
Next couple of days
Any ETAs?
Rank 2: Process
I'm also impacted, I can't deploy functions from Github VCS & CLI ...
Next couple of days. you can keep an eye on the progress here: https://github.com/appwrite/appwrite/milestone/27
Rank 3: Container
I'm still experiencing this issue with CLI 4.0.0
Did you upgrade Appwrite and run the migrate command?
Rank 3: Container
Hi Steven,
No, it's a fresh installation (1.4.2). I ran the restore script after the installation was successful
Please create a new #channel post and include the related docker logs from the appwrite container
Rank 3: Container
Alright