Back

[SOLVED] cannot deploy function -> executor containers created but not running

  • 0
  • Self Hosted
  • Functions
Mylo
2 Oct, 2023, 18:27

The error says it failed to deploy. The error message is "couldn't resolve host"

docker ps -a output

TypeScript
docker ps -a --format 'tables {{.ID}}\t{{.Status}}\t{{.State}}\t{{.Image}}'
s CONTAINER ID   STATUS                          STATE     IMAGE
s 79c1db2526ef   Created                         created   img-captain-appwrite143-executor:1
s c3171c3b4dee   Created                         created   img-captain-appwrite143-executor:1
s 9b1b45573e24   Up 11 seconds                   running   img-captain-appwrite143-schedule:1
s 64edb823f456   Created                         created   img-captain-appwrite143-executor:1
s 33e272072e3c   Created                         created   img-captain-appwrite143-executor:1
s b55382098509   Created                         created   img-captain-appwrite143-executor:1
s 0529865db1e6   Exited (0) 18 seconds ago       exited    img-captain-appwrite143-schedule:1
s 28d982468d74   Exited (0) 50 seconds ago       exited    img-captain-appwrite143-schedule:1
s 51c7cf5b285d   Exited (0) About a minute ago   exited    img-captain-appwrite143-schedule:1
s 03f642125d15   Exited (0) About a minute ago   exited    img-captain-appwrite143-schedule:1

What should i do?

TL;DR
The user was experiencing an issue where the executor containers were created but not running when trying to deploy a function. The issue was solved by installing Appwrite from the self-hosted documentation. The user also received suggestions to use the installer script or the one-click setups. They were advised to check the self-hosted documentation and try again. The user provided a Docker ps -a output showing the containers' status. The error message said "couldn't resolve host." Therefore, it is recommended to troubleshoot the host resolution issue.
Binyamin
2 Oct, 2023, 18:37

How've you installed your Appwrite?

Mylo
2 Oct, 2023, 18:40

caprover one click install

Binyamin
2 Oct, 2023, 18:41

I'm not sure is up to date

Mylo
2 Oct, 2023, 18:42

hmmmm maybe you are right. i changed the version number to 1.4.3 on install, and i guess the pulled image and the caprover opinions have misaligned.

Mylo
2 Oct, 2023, 18:42

i'll look at self-hosted docs and try again.

Mylo
2 Oct, 2023, 18:42

great product so far btw.

Binyamin
2 Oct, 2023, 18:42

Yes, I see that the Appwrite file is for previous versions https://github.com/caprover/one-click-apps/blob/master/public/v4/apps/appwrite.yml

Mylo
2 Oct, 2023, 18:42

i'm kicking the tyres to see how much it fits my purpose

Binyamin
2 Oct, 2023, 18:43
Mylo
2 Oct, 2023, 18:43

cool man, thanks for your suggestion. totally makes sense to stick to the pure stuff 😄

Binyamin
2 Oct, 2023, 18:43

Otherwise you can check the one-click setups

Mylo
2 Oct, 2023, 19:43

this post can be closed. resolved by installing appwrite from self hosted docs. executor deployed my function and ran it. thanks for the quick help. amazing.

Binyamin
2 Oct, 2023, 19:43

<:appwritefire:823999000330895380>

Drake
5 Oct, 2023, 16:39

[SOLVED] cannot deploy function -> executor containers created but not running

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