[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
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
