
I am trying to connect my self-hosted 1.7.4 instance to Github and am getting the following erorr:
TypeScript
[Error] Method: GET
[Error] URL: /v1/vcs/github/callback
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "personalRefreshToken"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 3653```
I reviewed the SQL database of a fresh installation of 1.7.4 and noted that _console_installations had three columns (personalAccessToken, personalAccessTokenExpiry and personalRefreshToken) that my production instance did not have. I created the columns in my production instance with the error still occurring.
Is there somewhere else that the attribute needs to be defined to get things working? -- This may be related to having forgotten to complete a migration somewhere in the 1.6.x branch. Is there anyway to check the overall health of the database schema? In one of the previous issues I was having, there were also some columns missing in the _console_rules table.
Thanks!
TL;DR
Error message "Invalid document structure: Unknown attribute: 'personalRefreshToken' " is appearing when trying to connect a self-hosted 1.7.4 instance to Github. The missing attribute can be added to the SQL database, but issue still persists. To check the overall health of the database schema and address missing columns, possibly due to incomplete migration from the 1.6.x branch, validate tables like _console_installations and _console_rules for consistency.Recommended threads
- 1.6 to 1.7 does not work
Appwrite (self-hosted) stopped working after updating from 1.6.2 that was stable. Getting the general_server_error. Mentioning I fallowed all steps for upgrad...
- Svelte App Whitelist
https://appwrite.io/docs/quick-starts/sveltekit Based on the example from the docs, how woul'd I go about adding a "whitelist" that checks if the user has a sp...
- How to have two Appwrite Instances in Sy...
Hello, I am new to Appwrite. I am currently developing a training app for our sport with a friend and we would like to use Appwrite for this. We would like to d...
