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
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...