I took reference of node meilisearch template
And? What did you do exactly?
Installed Appwrite locally and prepared a tar.gz of the directory
Then created a function for it in php
What directory?
Sync with meilisearch
Someone told me that there might be issue with virtual path
How are you deploying the function? Did you manually create an archive and upload in the Appwrite console? If so, something might have been wrong with how you created the archive
The best thing to do is start with the starter template whether on git or the CLI. Deploy that and make sure that works. Then, iterate on the code
Ok will try that
anyone?
Did you use the CLI to initialize the code?
Yes
What exactly did you do?
Appwrite init project
Appwrite init functions
Appwrite deploy functions
And what's the function code that was deployed?
And what's the error now?
This code
And same error
Can you perform the same operation with the code above? In your system locally
Coz I deployed the same in appwrite cloud
And getting the same error
There might be some mistakes in my utils.php code
Recommended threads
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...
- Appwrite Functions not executing with a ...
I have multiple functions running with a CRON Job however, they all stopped executing around 35 mins ago from this post. Project ID:6a4a03920012bede992d Region:...
- Deployment fails at sidecar step "Build ...
Hi Appwrite team, I'm getting a consistent deployment failure on Appwrite Cloud. The build itself completes successfully, but a post-build sidecar step then fa...