
Hello, I'm a bit new to appwrite functions and recently hosted a fresh 1.7.4 on my portainer setup. Tried to create a new function and when trying to push it I get the following error in the cli
PS D:\Development\vueTest\h-systems-prot\functions\auditFunction> appwrite push functions
? Which functions would you like to push? auditFunction (6864d9ef0023d4d9008a)
ℹ Info: Validating functions ...
ℹ Info: Checking for changes ...
ℹ Info: Pushing functions ...
✗ Error • auditFunction (6864d9ef0023d4d9008a) • Failed to deploy
✗ Error: Deployment of auditFunction has failed. Check at http://run.home:7004/console/project-67e076940022bcd200a3/functions/function-6864d9ef0023d4d9008a/deployment-686554307cff05f9ba68 for more details
ℹ Warning: Successfully pushed 0 of 1 functions
Now the link 404's on me so I don't see anything there.

The deployment in the console doesn't show anything other than this: Cannot access offset of type string on string And the only other information that I've managed to find is in the worker-builds container
[Worker] Worker 0 is ready!
Worker builds started
[Job] Received Job (6865543080d8b3.18461492).
Creating build for deployment: 686554307cff05f9ba68
Build failed:
Cannot access offset of type string on string
/usr/src/code/src/Executor/Executor.php
106
#0 /usr/src/code/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php(698): Executor\Executor->createRuntime('686554307cff05f...', '67e076940022bcd...', '/storage/functi...', 'openruntimes/bu...', 'v5', 0.5, 1024, 900, true, 'src/main.ts', '/storage/builds...', Array, 'tar -zxf /tmp/c...', '')
#1 [internal function]: Appwrite\Platform\Modules\Functions\Workers\Builds->Appwrite\Platform\Modules\Functions\Workers\{closure}()
#2 {main}
[Job] (6865543080d8b3.18461492) successfully run.
I've looked through the support and found other cases of this from a long time ago but nothing that I tried worked
Having the _APP_EXECUTOR_HOST set to http://exc1./v1
or http://appwrite-executor/v1
or even to the name of the executor container which for me is
http://openruntimes-executor/v1
( I used a completely clean docker compose and .env file from the docs)
The _APP_FUNCTIONS_RUNTIMES_NETWORK
is set to runtimes
I was hoping someone could have any information on how to proceed, the function I'm trying to make was using Bun which wasn't in the .env file by default so I added it manually, but even if I tried a started function in node or python it would fail.
Recommended threads
- Can't start docker containers beacuse no...
Hi, I'm testing my app where I upload also files to appwrite storage. As I suspect, I've filled up my disk. Now I can't start Appwrite. Could I ask for help wit...
- Error
I'm trying to get sellerId using account.get() in my appwrite function and this is the error message I'm getting: "Failed to send notification to seller 6865bf...
- GitHub connected; functions not recogniz...
So basically this is my first time using Appwrite functions and my appwrite account was made eith GitHub sign in I create a startup function and in the connect ...
