Moderator
Did you had setup all environment vars?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
Did you had setup all environment vars?
Moderator
And api keys?
Rank 4: Virtual Machine
It use .env on github : https://github.com/appwrite/appwrite/blob/master/.env
Rank 4: Virtual Machine
Oh on function params
Rank 4: Virtual Machine
True.....
Moderator
Try setting all variables from console
Rank 4: Virtual Machine
Same error 😦
Admin
How did you install docker?
Moderator
It seems like docker has missing files
Rank 4: Virtual Machine
I install Docker when I setup my VM, from ubuntu-server iso
Rank 4: Virtual Machine
docker -v => Docker version 23.0.1, build a5ee5b1
Rank 4: Virtual Machine
Installer allow to install common lib (open ssh, docker, etc..)
Admin
From same machine?
Rank 4: Virtual Machine
I deploy from my computer but appwrite is on docker swarm on premise
Rank 4: Virtual Machine
I rebuild a VM and appwrite now, with docker compose build
Moderator
Install firstly ubuntu and then install docker. Appwrite doesnt needs docker warm mode enabled (unless horizontal scale)
Rank 4: Virtual Machine
To try it
Rank 4: Virtual Machine
Swarm is only for production, not on my VM
Admin
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?
Rank 4: Virtual Machine
Yes
Rank 4: Virtual Machine
(build in progress, I'll keep you informed)
Rank 4: Virtual Machine
It's works....
Rank 4: Virtual Machine
2nd build, works. Really strange. While we use ansible, all VM are same.... The mysteries of computing :appwritemagician:
Thanks @Steven and @D5
Rank 4: Virtual Machine
[SOLVED] Unable to build function
Rank 4: Virtual Machine
NB: docker compose build seems to be the trick