Skip to content
Back

Auth broken after update from 1.8.0 to 1.9.0 (selfhosted)

  • 0
  • Self Hosted
  • Auth
  • Web
  • REST API
/home/joplayxyz
20 Apr, 2026, 13:11

So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user via the sdk, rest api and dashboard ive gotten this error which basically drove me insane yesterday.

Neither user deletion, creation or updates work on the dashboard, api and sdk.

TypeScript
{
  message: 'Server Error',
  code: 500,
  type: 'general_unknown',
  version: '1.9.0'
}```

so i looked into the logs from the docker container and saw this error occurring every time i attempt to make a user for any of my projects.

──────────────────────────────────────────────────────────── [0] /usr/src/code/app/controllers/api/users.php : 173 -> createDocument() [1] /usr/src/code/app/controllers/api/users.php : 262 -> createUser() [2] /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php : 677 -> {closure:/usr/src/code/app/controllers/api/users.php:259}() [3] /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php : 976 -> execute() [4] /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php : 857 -> runInternal() [5] /usr/src/code/app/http.php : 551 -> run() [6] [internal function] : -> {closure:/usr/src/code/app/http.php:513}() http.request · 282.5ms · 2a16248e

http.method POST http.path /v1/users http.response.code 500 level error

Utopia\Database\Exception\Structure: Invalid document structure: Unknown attribute: "emailCanonical" at /usr/src/code/vendor/utopia-php/database/src/Database/Database.php:5583 at /usr/src/code/app/controllers/api/users.php:173 at /usr/src/code/app/controllers/api/users.php:262 at /usr/src/code/vendor/utopia-php/framework/src/Http/Http.php:677 ... 4 more

──────────────────────────────────────────────────────────── ```

TL;DR
Auth functionality is broken after updating from version 1.8.0 to 1.9.0. Issues creating, deleting, or updating users on the appwrite instance. Error message: 'Server Error' with code 500. Logs show an error related to an unknown attribute "emailCanonical." Check and update the document structure.
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