Back

Cannot deploy manual function

  • 0
  • Self Hosted
  • Functions
  • Locale
  • Web
Vârli
20 May, 2024, 16:28

Hello people of the internet! I tried to deploy a manual function on my locally hosted appwrite docker and i get this error while trying to deploy it

TL;DR
Developers are having trouble deploying a manual function on their locally hosted appwrite docker due to running the command in the wrong directory. They are advised to ensure they are in the correct directory, try bouncing containers with 'docker compose down' and 'docker compose up -d', check logs with 'docker logs openruntimes-executor', and list all containers with 'docker ps -a'. Windows users should use the command prompt to run the necessary docker commands. To aid in troubleshooting, developers are asked to run 'docker compose logs appwrite-executor' and 'docker ls'.
Meldiron
20 May, 2024, 16:30

Can you please run: docker compose logs appwrite-executor Also: docker ls

Both will help us debug this

Vârli
20 May, 2024, 16:31

can i run it on windows cmd?

Meldiron
20 May, 2024, 16:31

Yes, should work

Vârli
20 May, 2024, 16:35
Evdog
20 May, 2024, 16:35

Try docker ps -a

Vârli
20 May, 2024, 16:35
Evdog
20 May, 2024, 16:37

And docker logs openruntimes-executor

Vârli
20 May, 2024, 16:38
Evdog
20 May, 2024, 16:43

try bouncing your containers docker compose down followed by a docker compose up -d

Vârli
20 May, 2024, 16:44
Evdog
20 May, 2024, 16:45

You need to be in your appwrite directory

Vârli
20 May, 2024, 16:52

i get the same error

Şafak
20 May, 2024, 16:55

Are you sure inside the appwrite directory ? Check this docker-compose.yaml file.

Vârli
20 May, 2024, 16:57

oh my bad, i missread the sentence i ran the command in the docker directory

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more