Moderator
Yes, as the title says, I open a file, for example, an Image and the server CPU starts loading to 100% on both cores (2 cores server)
Votes
1
Replies
24
Participants
Unknown
Messages
25
Moderator
Yes, as the title says, I open a file, for example, an Image and the server CPU starts loading to 100% on both cores (2 cores server)
Moderator
Then after a while I get error 0 : aborted
Moderator
The errors I get in sentry :
Failed to connect to database: SQLSTATE[HY000] [2002] Connection refusedFailed to connect to database: SQLSTATE[HY000] [2002] Host is unreachableSQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again```
Seems those errors are after the issue was producedModerator
Restarted the server since Mariadb crashed. Now nothing works 😭
Moderator
I get error 502: bad gateway
Moderator
After running Appwrite doctor, Mariadb is down
Moderator
Moderator
those are the Mariadb logs
Moderator
Bruh, reinstall everything or what? 🤯
Did you upgrade to a new version by any chance?
@D5
Moderator
Nope
Moderator
Never upgraded or something
Moderator
It just crashed by accessing a file
Try restrarting everything
Moderator
Tried, everything got worse
Bruh; worst case scenarios going here
Moderator
Yep. Seems I will need to delete everything? (Note: no backups where done 🤣).
Moderator
Note 2: The instance only had data to test (doesn't matter losing all 😅)
Moderator
But sincerely, I don't see it normal everything going down suddenly after opening a file from console 🤷♂️
Moderator
Seems to be similar to this:
https://github.com/appwrite/appwrite/issues/3157
Moderator
What's weird is that my issue started by accessing a file. First it started loading to 100%, freezed my Appwrite instance. After restarting, nothing works
Moderator
Okay, after digging into MariaDB docs, it seems like data corrupted (not sure why) and it's stopping to prevent data corruption propagation
That makes a lot of sense
Moderator
Okay, I think it's better deleting everything and starting from scratch?