Skip to content
Back

Can't create or update functions via CLI or console - Server error

  • 0
  • 2
  • Self Hosted
  • Functions
6 Jul, 2026, 20:03

Self-hosted 1.9.5 — all function create/update return 500: Unknown attribute: "providerBranches" (metadata ↔ physical-column desync after upgrade)

Env: Appwrite 1.9.5 (self-hosted, Docker), CLI 22.4.0. All containers Up/healthy, disk 26%, RAM fine.

Symptom: Every function write fails with a 500. appwrite push, functions create, and creating from the Console all fail. Reads (GET) work fine. Affects both a brand-new function and updating an existing one.

CLI just shows Server Error. The actual server log:

TypeScript
POST /v1/functions → 500
Utopia\Database\Exception\Structure: Invalid document structure: Unknown attribute: "providerBranches"
    at .../database/src/Database/Database.php:5654
    at .../Functions/Http/Functions/Create.php:230

PUT /v1/functions/:functionId → 500
Utopia\Database\Exception\Structure: ... Unknown attribute: "providerBranches"
    at .../database/src/Database/Database.php:6346
    at .../database/src/Database/Adapter.php:432
    at .../database/src/Database/Adapter/Pool.php:169
TL;DR
User is experiencing difficulties creating or updating functions via CLI or console due to a server error. They have linked to a Discord channel for more information.
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