Rank 2: Process
A few days ago I created this post https://discord.com/channels/564160730845151244/1072905050399191082/threads/1435303434495594698 where after the migration to 1.8.0 the database got deadlocked during the periodic backup.
I thought it was due to a very large audit table that wasn't cleaned up properly (the worker for that had errors at each attempt), and was 2.23 GB in size. During the Appwrite migration, a process crashed due to OOM.
So I supposed that was the problem and now also migrated the second application that I manage to 1.8.0 (which has much smaller db size). Suddenly user support requests started coming in that nothing was working anymore. Also here, the database got deadlocked with the same issue as in my first post.
I also remembered where i got the backup commands from which i'm using, it was this post here: https://appwrite.io/blog/post/how-to-back-up-your-appwrite-data, but something doesn't seem to be working like that anymore with 1.8.0.
Not sure what changed with this update, but all those months up to now, the backup script i was using was working fine. I would suggest to update that blog post, so people don't use the wrong commands if they implement a backup strategy (which everyone should of course).
See the logs of the current issue with this second application in the thread below... Attached the "old" (problematic) and fixed backup.sh scripts, which are run through a cronjob.