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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- I can't migrate my project from Appwrite...
I'm having an issue migrating my Appwrite project to a self-hosted instance. The problem is that I've exceeded my read rate limit (or database read limit), so I...