Back

[AUTO SOLVED] having a hard time w ith v1.4.4 functions

  • 0
  • Self Hosted
  • Functions
Drake
6 Oct, 2023, 14:08

And what's docker compose logs openruntimes-executor show?

TL;DR
User is experiencing issues with v1.4.4 functions in Appwrite. Upgrading to 1.4.4 causes 'File not found' error, even after deleting and redeploying functions. User noticed a new variable in .env file that may be causing the issue. User updated to say that the functions are now working fine but requests developers to investigate the issue to prevent it from happening again. User is unsure of what caused the functions to start working again. The support team requests specific information such as the docker-compose.yml file and the environment variable related to function runtimes. They also ask if there were any restarts
gaurav_ch
7 Oct, 2023, 04:55
gaurav_ch
7 Oct, 2023, 04:56

still getting Could not resolve host: appwrite-executor with status code 0 the logs above are after re-deploying hello world function

Drake
7 Oct, 2023, 05:38

Can you include the timestamps? I think it's docker compose logs --timestamps openruntimes-executor

Drake
7 Oct, 2023, 05:40

And docker inspect runtimes?

gaurav_ch
7 Oct, 2023, 05:46
gaurav_ch
7 Oct, 2023, 05:46
Drake
7 Oct, 2023, 06:18

Did you restart it in this timeframe?

Drake
7 Oct, 2023, 06:19

There is an environment variable like function_rumtimes or something. What's that set to?

Drake
7 Oct, 2023, 06:20

It's _APP_FUNCTIONS_RUNTIMES_NETWORK

Drake
7 Oct, 2023, 06:21

And what's your docker-compose.yml file?

gaurav_ch
7 Oct, 2023, 06:22

yes

gaurav_ch
7 Oct, 2023, 06:22
gaurav_ch
7 Oct, 2023, 06:24

what specific info you want to see?

gaurav_ch
7 Oct, 2023, 06:25

now it is working!

gaurav_ch
7 Oct, 2023, 06:25

I don't know what happened. I did not do anything and I saw deployment was successful then I executed it and it worked!

gaurav_ch
9 Oct, 2023, 02:40

Just an update: the functions are working fine for now but I would request the devs to look into this as I fear upgrading to the next version might trigger this again.

gaurav_ch
9 Oct, 2023, 02:41

[AUTO SOLVED] having a hard time w ith v1.4.4 functions

xue
9 Oct, 2023, 08:20

i just upgraded 1.4.4 from 1.4.3 functions failed with "file not found"

xue
9 Oct, 2023, 08:20
xue
9 Oct, 2023, 08:21

i realized that there is a new varbiable in .env with _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS disabled to enabled.

xue
9 Oct, 2023, 08:21

Nothing changed!

xue
9 Oct, 2023, 08:24

i deleted all functions to deploy it from again. Now im getting this error that is Error: No such container: appwrite-executor-650750d21e4a6a589be3-6523b5bcd6dd1b2b8ea7

xue
9 Oct, 2023, 08:43

when i moved 1.4.3 again, all works fine, upgraded 1.4.4 fails again with File not found any guide?

xue
9 Oct, 2023, 09:12

opened about issue as well about it : https://github.com/appwrite/appwrite/issues/6859

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more