Did you had setup all environment vars?
And api keys?
It use .env on github : https://github.com/appwrite/appwrite/blob/master/.env
Oh on function params
True.....
Try setting all variables from console
Same error 😦
How did you install docker?
It seems like docker has missing files
I install Docker when I setup my VM, from ubuntu-server iso
docker -v => Docker version 23.0.1, build a5ee5b1
Installer allow to install common lib (open ssh, docker, etc..)
From same machine?
I deploy from my computer but appwrite is on docker swarm on premise
I rebuild a VM and appwrite now, with docker compose build
Install firstly ubuntu and then install docker. Appwrite doesnt needs docker warm mode enabled (unless horizontal scale)
To try it
Swarm is only for production, not on my VM
Right but you've used the same Appwrite CLI deploy to both your production and this new Appwrite instance and it works against production, but not against this new instance?
Yes
(build in progress, I'll keep you informed)
It's works....
2nd build, works. Really strange. While we use ansible, all VM are same.... The mysteries of computing :appwritemagician: Thanks @Steven and @D5
[SOLVED] Unable to build function
NB: docker compose build seems to be the trick
Recommended threads
- Cloud Function Deployment Issue – Timeou...
Impossible to deploy a function for more than an hour. My project ID is: 69cc7a82000b42b8f5e2 Here's the error I get after waiting 15 minutes: Synchronous funct...
- Dart runtime functions are timing out an...
My appwrite function is not executing at all and showing the error in error logs: I tried redeploying. Still no luck. I have set the function to ise maximum re...
- Event-triggered function executes but pr...
Hello! I'm running self-hosted Appwrite 1.9.0. I have a Dart function (tried both dart-3.5 and dart-3.10 runtimes) with these events configured: ```teams.staff...