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
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...
- Function crash first run after a while
Big issue Iโm facing , almost all functions crash or run for a very long time the first time i run them after a long time without running them I have a โhelp-c...
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...