[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
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...