NextCloud randomly becomes unavailable

The database log looks like it starts when restarting after a db crash, is there any log before that? It may contain the actual crash reason.

Tha httpd log looks cut to the right and every line only contains part of the log text, hard to say anything from that…