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
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Urgent help required - Could not resolve...
I upgraded my production environment to 1.8.0 but experienced issues with appwrite running out of worker threads. I downgraded back to 1.6.1 and restored the da...
- How to change "collection Id" to "collec...