Skip to content
Back

Cannot connect to Github after migration to 1.7.4

  • 0
  • Self Hosted
  • Webhooks
jj_mad
27 May, 2025, 11:53

I have migrated from 1.6.1 to 1.7.4. First moving to 1.6.2, then to 1.7.0 and after that to 1.7.4. I tried to deploy a new site but the connection to github was not responding. This is something that happened to me before but I solved it removing the connection in the Settings page add add it again. Unfortunately I cannot reconnect, I am correctly send to the Github app when trying to connect but when I click Save in Github, I get the following error: Error 500 Server Error general_unknown When I check the logs of the container I get the following:

TypeScript
2025-05-27T11:45:21.767662744Z [Error] Timestamp: 2025-05-27T11:45:21+00:00
2025-05-27T11:45:21.767707048Z [Error] Method: GET
2025-05-27T11:45:21.767721773Z [Error] URL: /v1/vcs/github/callback
2025-05-27T11:45:21.767748304Z [Error] Type: Utopia\Database\Exception\Structure
2025-05-27T11:45:21.767759432Z [Error] Message: Invalid document structure: Unknown attribute: "personalRefreshToken"
2025-05-27T11:45:21.767772760Z [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
2025-05-27T11:45:21.767786632Z [Error] Line: 3653
2025-05-27T11:45:21.809611861Z [Error] Timestamp: 2025-05-27T11:45:21+00:00
2025-05-27T11:45:21.809677068Z [Error] Method: 
2025-05-27T11:45:21.809687000Z [Error] URL: /fonts/inter/inter-v8-latin-600.woff2
2025-05-27T11:45:21.809697056Z [Error] Type: Appwrite\Extend\Exception
2025-05-27T11:45:21.809707637Z [Error] Message: Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details.
2025-05-27T11:45:21.809720751Z [Error] File: /usr/src/code/app/controllers/general.php
2025-05-27T11:45:21.809740921Z [Error] Line: 1583

Thank you in advance

TL;DR
Developers having trouble connecting to Github after migrating to 1.7.4 are encountering an 'Error 500 Server Error general_unknown' when trying to reestablish the connection. The issue seems to stem from an "Invalid document structure" related to a missing attribute "personalRefreshToken." To resolve this, developers may need to check and adjust the database structure in their codebase.
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