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
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?