her everyone, I used the Akamai one click installation to install the latest version of appwrite. everything is working fine expect for the functions. when I try to deploy any of them it fails with this error:
Could not resolve host: appwrite-executor with status code 0
I tried to check the logs of appwrite-worker-builds
Fatal error: Uncaught RedisException: socket error on read socket in /usr/src/c> Stack trace: #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1334): Redis->ping() #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Cli> #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Re> #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work(> #4 {main}
I think it might have been cause I forgot to update the appwrite cli tool. trying that now to solve it ๐
even after updating to the new appwrite, deleting the function and creating a new one i'm still getting the same error
What version of Appwrite are you on?
I'm on 4.2 now
And the cli is on 4.0.0
Did you upgrade?
Would you try to restart the containers?
docker compose down
Make sure all containers and networks get removed.
docker compose up -d --remove-orphans
that fixed it, sorry I'm not super familiar with docker. thank you so much for the help I did not upgrade, I freshly installed appwrite on Akamai and copied my website there (the appwrite config, database, functions were all new)
[SOLVED] Errors while deploying functions
no worries at all! I'm glad it's resolved!
Recommended threads
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...
- Git connection is not working anymore on...
Hello all, I updated from 1.8.1 to 1.9.0 then 1.9.5. All seems to work even the Github connection. In Git configuration I see my Github user but when trying to...