Internal server error after power outage, seems mariadb related

Nextcloud version: 21.0.1
Operating system and version: DietPi 7.0.2
Lighttpd version: 1.4.53
PHP version: 7.3

Is this the first time you’ve seen this error? : yes

The issue you are facing:

Several power outages happened yesterday. Since then, my nextcloud instance is unreachable :

Internal server error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include details below in your report.
More details can be found in the server log.

mariadb seems to be trying/failing to start :

/var/log/mysql/error.log is being filled with numerous dumps each time mariadb tries to restart :

I suppose something got corrupted somewhere in a table. I have some linux skills but i’m completely out of my field here. I suspect this issue is solvable by dumping/droping/restoring the problematic table, but I have no clue about how to find which one it is or how to do what’s needed.

Help would be greatly appreciated as I need this instance to be reachable again, many things are stored on it.

Thanks in advance for your time !