Rank 1: Thread
Hey everyone, how’s it going?
I'm trying to deploy a function from my local environment to a project on my self-hosted Appwrite instance.
At first, I was facing an error related to the "specification" parameter, and thanks to a discussion here in the support channel, I managed to fix that part. However, I’m still unable to successfully deploy the function to my Appwrite instance. When I run the command appwrite push functions and follow the steps, it tells me that a function with the same ID already exists.
When I check the Appwrite console, I can see the function inside my project, but there’s no deployment associated with it. Then, when I try to manually deploy using the command appwrite functions create-deployment --function-id MY-FUNCTION-ID --code "." --activate true --verbose, I get a 404 error with the message function_not_found.
I’ll proceed with a manual deployment for now, but I’d really appreciate some help in understanding what’s causing this issue and how to fix it properly.