[CLOSED] Functions error: unable to find image locally and runtima filed to launch in allocated time
- 0
- Self Hosted

maybe you can add a sleep to the install command so it doesn't exit too fast

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

you mean this?
p docker compose logs openruntimes-executor

docker compose logs -f openruntimes-executor
to follow the logs

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

Doing this too

Because show old history

Anddd

The result iss

Container not found

Seems I can't find it but because it doesn't exists

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

I'm about to kill the VM and install everything again 😬

But I think it's better knowing where the error comes from?

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...
Recommended threads
- Having errors migrating to cloud
Project will not migrate compeltely
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
