
Hi, when i try to create a new function this happens:
CMD LOG (WINDOWS): C:\PROJECT_PATH\appwrite>appwrite --verbose init function ? What would you like to name your function? test ? What ID would you like to have for your function? unique() ? What runtime would you like to use? Node.js (node-16.0) AppwriteException [Error]: Server Error at Client.call (C:\Users\MY_USER\AppData\Roaming\npm\node_modules\appwrite-cli\lib\client.js:209:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async functionsCreate (C:\Users\MY_USER\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\functions.js:174:16) at async initFunction (C:\Users\MY_USER\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\init.js:79:20) { code: 500, response: [Object: null prototype] { message: 'Server Error', code: 500, type: 'general_unknown', version: '1.4.3' } } ✗ Error Server Error
SERVER LOG: [Error] Timestamp: 2023-09-16T15:16:02+00:00 [Error] Method: POST [Error] URL: /v1/functions [Error] Type: Utopia\Database\Exception\Structure [Error] Message: Invalid document structure: Unknown attribute: "schedule" [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php [Error] Line: 2619
Does anyone know how to fix it?

I have fixed it with the migrate command: docker compose exec appwrite migrate
(Version 1.4.3)
Recommended threads
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
- Appwrite CLI
I try to deploy a function using Appwrite CLI but it says: `appwrite functions createDeployment ^ --functionId=xyz^ --code="." ^ --activate error: u...
- Cloud Functions Executions partially dow...
Yesterday we reported a wide Function-Downtime. Today we have the same - just not wide-spread across all functions. DEV is down - Prod still working. Its the s...
