[SOLVED] Somehow i can't login anymore - Appwrite Log shows "Attribute "time" has invalid type".
- 0
- Databases
- Self Hosted
I somehow can't login anymore after update to 1.3.3 from 1.3.1. If i try to log in, the appwrite website just shows "Server Error" whilest JavaScript Console shows Error 500.
I used terminal to open the logs (by typing docker logs appwrite) and retrieved the following output: (screenshot)
Anybody any idea what causes the error - or better yet: What to do to fix this?
it seems like you had an older version of appwrite running. What's in your appwrite folder now?
1.3.3
No, on your filesystem. What's in your appwrite folder?
ah, ok - sorry
What's docker ps
show?
That's weird...time shouldn't be an integer
Did you ever create a session before upgrading from 1.3.1?
yes. And what is weird is, with my secondary browser i still have an open session.
but if i try to log in or push the "lost password" button or try to add a member - i always get the "Server-Error"
So i remember seeing this error back in 1.0.x because people didn't run the migrate command when upgrading to 1.0.x. I'm not sure why you're getting this now...
Hm. Shall I try downgrading and step by step upgrading again?
You can try to backup and run
docker compose exec appwrite migrate version=1.0.3
You're a genius ! Seems like that did the trick!
[SOLVED] Somehow i can't login anymore - Appwrite Log shows "Attribute "time" has invalid type".
@Steven Thank you very very much !
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...