Hi!
I just wanted to push a cloud function to my self hosted Appwrite 1.7.4 server. While the init part works (I can see the function in the web console), i'm not able to push function to the server anymore.
I can run the function local just fine.
In the Appwrite logs i can see the following:
appwrite | [Error] Timestamp: 2025-09-22T10:47:20+00:00
appwrite | [Error] Method: PUT
appwrite | [Error] URL: /v1/functions/:functionId
appwrite | [Error] Type: Utopia\Database\Exception
appwrite | [Error] Message: Must define $id attribute
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
appwrite | [Error] Line: 4111
The error i get when i use the CLI to push the function is the following:
AppwriteException [Error]: Server Error
at Client.call (C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\client.js:214:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async functionsUpdate (C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\functions.js:494:16)
at async C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\push.js:1440:24
at async Promise.all (index 0)
at async pushFunction (C:\Users\matthias.merk\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\push.js:1417:5) {
code: 500,
response: 'general_unknown'
}
appwrite -v: 8.3.0
Can anyone help me getting this to run again? All the functions that are already deployed are working fine...
Hey, did you upgrade recently?
Recommended threads
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...
- Docker Compose MongoDB Setup
everythings work fine but the mongodb fails on startup everytime. log: ``` Generating random MongoDB keyfile... /bin/bash: line 9: : No such file or directory ...