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
- [SOLVED] Error upgrading from 1.8.1 to 1...
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...