Oh
I have troubles with login to appwrite console after updating to 1.7.4 from 1.6.1
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
appwrite container logs
Then you're screwded I think
Copy and paste here the logs, it's difficult to read them
Rank 2: Process
[Error] URL: /v1/account/sessions/email
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Unknown resource type
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 761
[Error] Timestamp: 2025-05-26T16:12:02+00:00
[Error] Method: GET
[Error] URL: /v1/account
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Unknown resource type
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 761
[Error] Timestamp: 2025-05-26T16:12:03+00:00
[Error] Method: POST
[Error] URL: /v1/account/sessions/email
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Unknown resource type
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 761
[Error] Timestamp: 2025-05-26T16:15:00+00:00
[Error] Method: GET
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Unknown resource type
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 761
Did you have some version prior to 1.6.2 installed?
Rank 2: Process
the server is fairly new, I don't think so. I'm not sure what exactly 1.6.2 was there, but 1.6.n is for sure.
And you ran migrations after upgrading to 1.6.2?
Rank 2: Process
I had 1.6.2 for a couple of months, then installed 1.7.2 and migrated the project to it as in the manual
Rank 2: Process
or maybe i had 1.6.1 for couple of month
Rank 2: Process
I don't remember exactly.
The manual shows you should perform backups. That was not clear? 😅
Well, I'm asking in order to edit it and set it to something better as I'm seeing many people upgrading and not performing backups 😬 (you're not alone unfortunately)
Well, that could be the issue
Rank 2: Process
I've had too many positive experiences with major updates before, I've been using appwrite for a couple of years. I was relaxed...
Rank 2: Process
Which cannot be solved?...
It can, but probably it's not easy
Rank 2: Process
Can you tell me where to look please? It would be a pity to lose everything
Rank 2: Process
docker-compose down
docker-compose rm -f
docker rmi appwrite/appwrite:1.7
docker-compose up -d
Can I try it?
NO
That will delete everything permanently!
You need to enter into the DB and modify things but I have no idea cc @Steven
Well, sorry, the DB isn't deleted but the issue is not with the containers but with the DB and deleting it will delete everything
@Nevets Can you check what are the logs for the database? the container name is appwrite-mariadb
Rank 2: Process
ok