Hello. I'm trying to change admin password because for some reason I can't login with old one. Here is part of logs:
[Error] Timestamp: 2023-10-03T21:22:19+00:00
[Error] Method: PUT
[Error] URL: /v1/account/recovery
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "labels"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 3056
Could you help me with the issue or advice how to change the password using console?
p.s. I made migrations and I can see labels column in the database table. It's null
Did you upgrade recently?
I did. But the reason of my update was this issue.
Is it possible to fix it on place? May be add/remove some columns in the database and run migration over again? I had migration issue while update to 1.4.x and fixed it by removing project columns (database, smtp and templates) which suppose to be added while the migration and after that it was finished without errors.
Oye...to go back from migration, you need to restore from a backup ...deleting columns won't work and could make things worse
The server works at least. So it's better then nothing. May be I should try to make clean install and move all data with API 🙂 But it looks quite challenging
that would be best. if you're the database schema is in an inconsistent state, future upgrades could be problematic
Recommended threads
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- Github connection error - Self Hosted Ap...
I am trying to connect my github account to deploy a project to sites, but Connect to Gtihub button is disabled. I have configured all Env variables needed for...