Mariadb Crashes on server restart

We have 4 different containers running for different environments. After unexpected restart of our server during the weekend, the Erpnext container alone hasn’t restarted.All others (of which one is erpnext), have started and running fine. On one particular container alone, the db was down and failed when we tried to start the mysql service.

The container has stopped with the following message in web.error.log
[2020-03-15 15:32:11 +0000] [2991] [CRITICAL] WORKER TIMEOUT (pid:3006)

What could be a possible reason?

Appreciate any leads.


Check the logs for clues for example /var/lib/mysql/mysql-error.log

[solved] MariaDB 10.1 to MariaDB 10.2 upgrade crash