Back

[SOLVED] All Function executions fail

  • 0
  • Self Hosted
  • Functions
ideclon
30 Oct, 2023, 18:11

I just tried to start on my first function on Appwrite 1.4. I tried to just deploy a blank NodeJS template app (appwrite init function and appwrite deploy function). Attemping to execute (from the Console) just sits on waiting forever, and the following is the logs from appwrite-worker-functions:

TypeScript
appwrite-worker-functions  | [Job] Received Job (653fea4385cc95.14034750).
appwrite-worker-functions  | [Job] Received Job (653fea43863748.05154683).
appwrite-worker-functions  | [Job] (653fea43863748.05154683) failed to run.
appwrite-worker-functions  | [Job] (653fea43863748.05154683) Pool 'cache_redis_main' is empty (size 10)
appwrite-worker-functions  | [Error] Type: Exception
appwrite-worker-functions  | [Job] (653fea4385cc95.14034750) failed to run.
appwrite-worker-functions  | [Job] (653fea4385cc95.14034750) Pool 'cache_redis_main' is empty (size 10)
appwrite-worker-functions  | [Error] Message: Pool 'cache_redis_main' is empty (size 10)
appwrite-worker-functions  | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-worker-functions  | [Error] Line: 174
appwrite-worker-functions  | [Error] Type: Exception
appwrite-worker-functions  | [Error] Message: Pool 'cache_redis_main' is empty (size 10)
appwrite-worker-functions  | [Error] File: /usr/src/code/vendor/utopia-php/pools/src/Pools/Pool.php
appwrite-worker-functions  | [Error] Line: 174

My old functions (v2 I think?) are still working fine.

TL;DR
All function executions are failing after attempting to deploy a blank NodeJS template app. The logs show that the Pool 'cache_redis_main' is empty, causing the failures. One user suggests restarting the container, which solved the issue. It is unclear if a clean install or upgrade would have fixed the problem.
ideclon
30 Oct, 2023, 18:30

All function executions fail

ideclon
30 Oct, 2023, 18:30

All Function executions fail

Drake
30 Oct, 2023, 19:01

Clean install or upgrade?

Can you try restarting this worker?

ideclon
30 Oct, 2023, 20:17

Upgrade

ideclon
30 Oct, 2023, 20:19

Restarted the container and it seems to be working now

ideclon
30 Oct, 2023, 20:19

Thank you!

ideclon
30 Oct, 2023, 20:19

[SOLVED] All Function executions fail

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