I am having an issue with Nextcloud snap instance and after working through several steps to fix, I am finally at an impass and I am unable to proceed.
The root issue was: MySQL was not starting correctly due to corrupt log files, so I removed those so they could be recreated
@ndawg22
Did you ever find a solution?
I seem to have the same issue now.
MySQL on a Nextcloud Snap crashed and MySQL is not able to automatically recover from a crash.
So setting the force recovery entries in my.cnf would be the right answer, but since my.cnf lies on a read-only file system in that Snap, that’s not possible…
I ended up saving my files off, blowing away the snap, and reinstalling the snap. I only had 2 users at the time, so reconfiguring and uploading the files was easy enough. Now I take regular backups using the snap’s MySQL dump functionality I’m case it happens again.