Back

Error when atempting to login to web interface after update from 1.4.13 -> 1.5.7 Invalid document st

  • 1
  • Self Hosted
  • Auth
  • Web
BoxC4T
30 Jul, 2024, 18:25

Error] Timestamp: 2024-07-30T11:25:41+00:00

2024-07-30T11:25:41.070005111Z [Error] Method: POST

2024-07-30T11:25:41.070014539Z [Error] URL: /v1/account/sessions/email

2024-07-30T11:25:41.070022082Z [Error] Type: Utopia\Database\Exception\Structure

2024-07-30T11:25:41.070031580Z [Error] Message: Invalid document structure: Unknown attribute: "factors"

2024-07-30T11:25:41.070041149Z [Error] File:

2024-07-30T11:25:41.070049530Z [Error] Line: 0

TL;DR
Developers facing login error after updating from version 1.4.13 to 1.5.7. Attempted running the update command but encountering 'Invalid document structure' error. Restarting images and reupgrading did not resolve the issue. The error pertains to the document structure for 'factors'.
BoxC4T
30 Jul, 2024, 18:27

Theres a similar issue but the solution was to just restart the images and reupgrade and that hasnt worked

bad_advice
30 Jul, 2024, 18:36

Did you run the docker with --entrypoint="upgrade" and what was the result of that?

BoxC4T
30 Jul, 2024, 18:39

docker run -it --rm
\ --volume /var/run/docker.sock:/var/run/docker.sock
\ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw
\ --entrypoint="upgrade"
\ appwrite/appwrite:1.5.7 I ran the command that was in the docs

BoxC4T
30 Jul, 2024, 18:39

or are you talking about something else?

BoxC4T
30 Jul, 2024, 18:42

cause it didnt throw any errors when i was doing that

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