Skip to content
Back

Appwrite crash after upgrade to 1.3.0

  • 0
  • Self Hosted
Bouahaza
12 Apr, 2023, 15:15

After upgrade to 1.3.0 and launch migrate script, when I go on

TypeScript
Console > Project > Database > Collection

I got error on picture, and all Console is unavailable with Gateway Timeout error (504) I have to restart the docker containers to get access to the console again

TL;DR
After upgrading to version 1.3.0 of Appwrite, users are experiencing a crash with the error message: "Utopia\Database\Document::__construct(): Argument #1 ($input) must be of type array, stdClass given." This error occurs when attempting to access the "/v1/teams/:teamId/prefs" endpoint. In addition, after upgrading, the Console becomes unavailable with a "Gateway Timeout" error (504). The recommended solution is to restart the Docker containers, which should restore access to the Console. For more detailed discussions and solutions, refer to the support channel threads.
joeyouss
12 Apr, 2023, 15:16

Hi, we are looking into this - please see other threads on support channel

Bouahaza
12 Apr, 2023, 15:18

Ok, mybad - If you want error not on picture format

TypeScript
appwrite  | [Error] Method: GET
appwrite  | [Error] URL: /v1/teams/:teamId/prefs
appwrite  | [Error] Type: TypeError
appwrite  | [Error] Message: Utopia\Database\Document::__construct(): Argument #1 ($input) must be of type array, stdClass given, called in /usr/src/code/app/controllers/api/teams.php on line 228
appwrite  | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Document.php
appwrite  | [Error] Line: 29
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