[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
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
- Broken message
https://github.com/appwrite/appwrite/issues/10081 I just realized that I can just build appwrite myself, was this bug fixed in latest dev release?
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
