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
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parametersใWHy๏ผ