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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- HTTP POST to function returning "No Appw...
Hi everyone, Iโm running into an issue with my self-hosted Appwrite instance. Iโve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...