
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)

Then after a while I get error 0 : aborted

The errors I get in sentry :
Failed to connect to database: SQLSTATE[HY000] [2002] Connection refused
Failed to connect to database: SQLSTATE[HY000] [2002] Host is unreachable
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again```
Seems those errors are after the issue was produced

Restarted the server since Mariadb crashed. Now nothing works 😭

I get error 502: bad gateway

After running Appwrite doctor, Mariadb is down


those are the Mariadb logs

Bruh, reinstall everything or what? 🤯

Did you upgrade to a new version by any chance?

@D5

Nope

Never upgraded or something

It just crashed by accessing a file

Try restrarting everything

Tried, everything got worse

Bruh; worst case scenarios going here

Yep. Seems I will need to delete everything? (Note: no backups where done 🤣).

Note 2: The instance only had data to test (doesn't matter losing all 😅)

But sincerely, I don't see it normal everything going down suddenly after opening a file from console 🤷♂️

Seems to be similar to this: https://github.com/appwrite/appwrite/issues/3157

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

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

Okay, I think it's better deleting everything and starting from scratch?
Recommended threads
- Getting issue while migrating from Self ...
i try to migrating my project but when do this error come and dont allow to crate that migration
- Pending upload some file, but not for ot...
When upload this file, always got pending. But when I upload another file, it works. Why?
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
