maybe you can add a sleep to the install command so it doesn't exit too fast
[CLOSED] Functions error: unable to find image locally and runtima filed to launch in allocated time
Votes
0
Replies
24
Participants
Unknown
Messages
25
That’s what I would have assumed, but IIRC the containers do show up in a docker compose ps for me
I might be getting confused between containers, though
Moderator
you mean this?
p docker compose logs openruntimes-executor
docker compose logs -f openruntimes-executor to follow the logs
Moderator
I'm a bit noob at docker, sorry 😅
And -n 0 to not show any history
Self hosting Appwrite for the past almost two years has taught me a tremendous amount about Docker
Moderator
Doing this too
Moderator
Because show old history
Moderator
Anddd
Moderator
The result iss
Moderator
Container not found
Moderator
Seems I can't find it but because it doesn't exists
Moderator
Is it normal that the image gets downloaded each time it gets executed?
No
So the same as before. I guess I need to figure out what’s leading to the Exception on line 611
Moderator
I'm about to kill the VM and install everything again 😬
Moderator
But I think it's better knowing where the error comes from?
Moderator
Leaving it for tomorrow, it's 2:35am and I'm very tired 😅
Well, in the catch, it removes the container
There’s currently a sleep(2) - the comments say to give time to read the logs.
But that isn’t really enough time at all to get them
I would expect it would make sense to have the logs extracted to somewhere outside the container? Maybe a logs volume, and the logs can be stored as logs-[FUNCTION_ID]-[EXECUTION_ID].txt, or something?
Maybe...