NCP 0.67.8 : MariaDB 10.1 suddenly down. Service not startable and not configurable after reinstall

Hello guys,
my mariadb isnt woking from one day to another. I cant reconfigurate it and i cant start it manually. The Mariadb service goes on and off again

Output of syslog:

Dec 28 18:06:30 nextcloudpi systemd[1]: Starting MariaDB 10.1.37 database server…
Dec 28 18:06:30 nextcloudpi systemd[1]: nextcloud-domain.service: Service hold-off time over, scheduling restart.
Dec 28 18:06:30 nextcloudpi systemd[1]: Stopped Register Current IP as Nextcloud trusted domain.
Dec 28 18:06:31 nextcloudpi mysqld[1308]: 2018-12-28 18:06:31 3062272240 [Note] /usr/sbin/mysqld (mysqld 10.1.37-MariaDB-3) starting as process 1308 …
Dec 28 18:06:32 nextcloudpi systemd[1]: Started MariaDB 10.1.37 database server.
Dec 28 18:06:32 nextcloudpi systemd[1]: Started Register Current IP as Nextcloud trusted domain.
Dec 28 18:06:36 nextcloudpi systemd[1]: mariadb.service: Main process exited, code=killed, status=11/SEGV
Dec 28 18:06:36 nextcloudpi systemd[1]: mariadb.service: Unit entered failed state.
Dec 28 18:06:36 nextcloudpi systemd[1]: mariadb.service: Failed with result ‘signal’.
Dec 28 18:06:36 nextcloudpi bash[1341]: An unhandled exception has been thrown:
Dec 28 18:06:36 nextcloudpi bash[1341]: PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105
Dec 28 18:06:36 nextcloudpi bash[1341]: Stack trace:
Dec 28 18:06:36 nextcloudpi bash[1341]: #0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(105): PDOStatement->execute(NULL)
Dec 28 18:06:36 nextcloudpi bash[1341]: #1 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1006): Doctrine\DBAL\Driver\PDOStatement->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #2 /var/www/nextcloud/lib/private/DB/Connection.php(216): Doctrine\DBAL\Connection->executeUpdate(‘UPDATE oc_appc...', Array, Array) Dec 28 18:06:36 nextcloudpi bash[1341]: #3 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(208): OC\DB\Connection->executeUpdate('UPDATEoc_appc…’, Array, Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(214): Doctrine\DBAL\Query\QueryBuilder->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #5 /var/www/nextcloud/lib/private/AppConfig.php(207): OC\DB\QueryBuilder\QueryBuilder->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #6 /var/www/nextcloud/lib/private/App/AppManager.php(291): OC\AppConfig->setValue(‘music’, ‘enabled’, ‘no’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #7 /var/www/nextcloud/lib/private/legacy/app.php(159): OC\App\AppManager->disableApp(‘music’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #8 /var/www/nextcloud/lib/private/legacy/app.php(127): OC_App::loadApp(‘music’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #9 /var/www/nextcloud/lib/private/legacy/util.php(195): OC_App::loadApps(Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #10 /var/www/nextcloud/lib/private/Files/Filesystem.php(265): OC_Util::setupFS(’’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #11 /var/www/nextcloud/lib/private/Server.php(280): OC\Files\Filesystem::getMountManager(NULL)
Dec 28 18:06:36 nextcloudpi bash[1341]: #12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
Dec 28 18:06:36 nextcloudpi bash[1341]: #13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\Container->offsetGet(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #14 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #15 /var/www/nextcloud/lib/private/Server.php(302): OC\ServerContainer->query(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #16 [internal function]: OC\Server->OC{closure}()
Dec 28 18:06:36 nextcloudpi bash[1341]: #17 /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php(61): call_user_func(Object(Closure))
Dec 28 18:06:36 nextcloudpi bash[1341]: #18 /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php(141): OC\Files\Node\LazyRoot->__call(‘get’, Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #19 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(81): OC\Files\Node\LazyRoot->get(‘appdata_oc4mqun…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #20 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(107): OC\Files\AppData\AppData->getAppDataFolder()
Dec 28 18:06:36 nextcloudpi bash[1341]: #21 /var/www/nextcloud/lib/private/Template/IconsCacher.php(68): OC\Files\AppData\AppData->getFolder(‘icons’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #22 [internal function]: OC\Template\IconsCacher->__construct(Object(OC\Log), Object(OC\Files\AppData\Factory), Object(OC\URLGenerator))
Dec 28 18:06:36 nextcloudpi bash[1341]: #23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): ReflectionClass->newInstanceArgs(Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(98): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
Dec 28 18:06:36 nextcloudpi bash[1341]: #25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(119): OC\AppFramework\Utility\SimpleContainer->resolve(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #26 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #27 /var/www/nextcloud/lib/private/Server.php(969): OC\ServerContainer->query(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #28 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
Dec 28 18:06:36 nextcloudpi bash[1341]: #29 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\Container->offsetGet(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #30 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #31 /var/www/nextcloud/lib/private/Repair.php(138): OC\ServerContainer->query(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #32 /var/www/nextcloud/core/register_command.php(143): OC\Repair::getRepairSteps()
Dec 28 18:06:36 nextcloudpi bash[1341]: #33 /var/www/nextcloud/lib/private/Console/Application.php(118): require_once(’/var/www/nextcl…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #34 /var/www/nextcloud/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Dec 28 18:06:36 nextcloudpi bash[1341]: #35 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #36 {main}
Dec 28 18:06:36 nextcloudpi bash[1341]: Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:107
Dec 28 18:06:36 nextcloudpi bash[1341]: Stack trace:
Dec 28 18:06:36 nextcloudpi bash[1341]: #0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1006): Doctrine\DBAL\Driver\PDOStatement->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #1 /var/www/nextcloud/lib/private/DB/Connection.php(216): Doctrine\DBAL\Connection->executeUpdate(‘UPDATE oc_appc...', Array, Array) Dec 28 18:06:36 nextcloudpi bash[1341]: #2 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(208): OC\DB\Connection->executeUpdate('UPDATEoc_appc…’, Array, Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #3 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(214): Doctrine\DBAL\Query\QueryBuilder->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #4 /var/www/nextcloud/lib/private/AppConfig.php(207): OC\DB\QueryBuilder\QueryBuilder->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #5 /var/www/nextcloud/lib/private/App/AppManager.php(291): OC\AppConfig->setValue(‘music’, ‘enabled’, ‘no’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #6 /var/www/nextcloud/lib/private/legacy/app.php(159): OC\App\AppManager->disableApp(‘music’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #7 /var/www/nextcloud/lib/private/legacy/app.php(127): OC_App::loadApp(‘music’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #8 /var/www/nextcloud/lib/private/legacy/util.php(195): OC_App::loadApps(Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #9 /var/www/nextcloud/lib/private/Files/Filesystem.php(265): OC_Util::setupFS(’’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #10 /var/www/nextcloud/lib/private/Server.php(280): OC\Files\Filesystem::getMountManager(NULL)
Dec 28 18:06:36 nextcloudpi bash[1341]: #11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
Dec 28 18:06:36 nextcloudpi bash[1341]: #12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\Container->offsetGet(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #13 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi systemd[1]: nextcloud-domain.service: Main process exited, code=exited, status=1/FAILURE
Dec 28 18:06:36 nextcloudpi bash[1341]: #14 /var/www/nextcloud/lib/private/Server.php(302): OC\ServerContainer->query(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #15 [internal function]: OC\Server->OC{closure}()
Dec 28 18:06:36 nextcloudpi bash[1341]: #16 /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php(61): call_user_func(Object(Closure))
Dec 28 18:06:36 nextcloudpi bash[1341]: #17 /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php(141): OC\Files\Node\LazyRoot->__call(‘get’, Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #18 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(81): OC\Files\Node\LazyRoot->get(‘appdata_oc4mqun…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #19 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(107): OC\Files\AppData\AppData->getAppDataFolder()
Dec 28 18:06:36 nextcloudpi bash[1341]: #20 /var/www/nextcloud/lib/private/Template/IconsCacher.php(68): OC\Files\AppData\AppData->getFolder(‘icons’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #21 [internal function]: OC\Template\IconsCacher->__construct(Object(OC\Log), Object(OC\Files\AppData\Factory), Object(OC\URLGenerator))
Dec 28 18:06:36 nextcloudpi bash[1341]: #22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): ReflectionClass->newInstanceArgs(Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(98): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
Dec 28 18:06:36 nextcloudpi bash[1341]: #24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(119): OC\AppFramework\Utility\SimpleContainer->resolve(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #25 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #26 /var/www/nextcloud/lib/private/Server.php(969): OC\ServerContainer->query(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #27 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
Dec 28 18:06:36 nextcloudpi bash[1341]: #28 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\Container->offsetGet(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #29 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #30 /var/www/nextcloud/lib/private/Repair.php(138): OC\ServerContainer->query(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi systemd[1]: nextcloud-domain.service: Unit entered failed state.
Dec 28 18:06:36 nextcloudpi bash[1341]: #31 /var/www/nextcloud/core/register_command.php(143): OC\Repair::getRepairSteps()
Dec 28 18:06:36 nextcloudpi bash[1341]: #32 /var/www/nextcloud/lib/private/Console/Application.php(118): require_once(’/var/www/nextcl…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #33 /var/www/nextcloud/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Dec 28 18:06:36 nextcloudpi bash[1341]: #34 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #35 {main}
Dec 28 18:06:36 nextcloudpi bash[1341]: Next Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘UPDATE oc_appconfig SET configvalue = ? WHERE (appid = ?) AND (configkey = ?) AND (configvalue <> ?)’ with params [“no”, “music”, “enabled”, “no”]:
Dec 28 18:06:36 nextcloudpi bash[1341]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115
Dec 28 18:06:36 nextcloudpi bash[1341]: Stack trace:
Dec 28 18:06:36 nextcloudpi bash[1341]: #0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(128): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException(‘An exception oc…’, Object(Doctrine\DBAL\Driver\PDOException))
Dec 28 18:06:36 nextcloudpi bash[1341]: #1 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1015): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), ‘UPDATE oc_appc...', Array) Dec 28 18:06:36 nextcloudpi bash[1341]: #2 /var/www/nextcloud/lib/private/DB/Connection.php(216): Doctrine\DBAL\Connection->executeUpdate('UPDATEoc_appc…’, Array, Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #3 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(208): OC\DB\Connection->executeUpdate(‘UPDATE `oc_appc…’, Array, Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(214): Doctrine\DBAL\Query\QueryBuilder->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #5 /var/www/nextcloud/lib/private/AppConfig.php(207): OC\DB\QueryBuilder\QueryBuilder->execute()
Dec 28 18:06:36 nextcloudpi bash[1341]: #6 /var/www/nextcloud/lib/private/App/AppManager.php(291): OC\AppConfig->setValue(‘music’, ‘enabled’, ‘no’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #7 /var/www/nextcloud/lib/private/legacy/app.php(159): OC\App\AppManager->disableApp(‘music’)
Dec 28 18:06:36 nextcloudpi systemd[1]: nextcloud-domain.service: Failed with result ‘exit-code’.
Dec 28 18:06:36 nextcloudpi bash[1341]: #8 /var/www/nextcloud/lib/private/legacy/app.php(127): OC_App::loadApp(‘music’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #9 /var/www/nextcloud/lib/private/legacy/util.php(195): OC_App::loadApps(Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #10 /var/www/nextcloud/lib/private/Files/Filesystem.php(265): OC_Util::setupFS(’’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #11 /var/www/nextcloud/lib/private/Server.php(280): OC\Files\Filesystem::getMountManager(NULL)
Dec 28 18:06:36 nextcloudpi bash[1341]: #12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
Dec 28 18:06:36 nextcloudpi bash[1341]: #13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\Container->offsetGet(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #14 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #15 /var/www/nextcloud/lib/private/Server.php(302): OC\ServerContainer->query(‘RootFolder’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #16 [internal function]: OC\Server->OC{closure}()
Dec 28 18:06:36 nextcloudpi bash[1341]: #17 /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php(61): call_user_func(Object(Closure))
Dec 28 18:06:36 nextcloudpi bash[1341]: #18 /var/www/nextcloud/lib/private/Files/Node/LazyRoot.php(141): OC\Files\Node\LazyRoot->__call(‘get’, Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #19 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(81): OC\Files\Node\LazyRoot->get(‘appdata_oc4mqun…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #20 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(107): OC\Files\AppData\AppData->getAppDataFolder()
Dec 28 18:06:36 nextcloudpi bash[1341]: #21 /var/www/nextcloud/lib/private/Template/IconsCacher.php(68): OC\Files\AppData\AppData->getFolder(‘icons’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #22 [internal function]: OC\Template\IconsCacher->__construct(Object(OC\Log), Object(OC\Files\AppData\Factory), Object(OC\URLGenerator))
Dec 28 18:06:36 nextcloudpi bash[1341]: #23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): ReflectionClass->newInstanceArgs(Array)
Dec 28 18:06:36 nextcloudpi bash[1341]: #24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(98): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
Dec 28 18:06:36 nextcloudpi bash[1341]: #25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(119): OC\AppFramework\Utility\SimpleContainer->resolve(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #26 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #27 /var/www/nextcloud/lib/private/Server.php(969): OC\ServerContainer->query(‘OC\Template\Ico…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #28 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC{closure}(Object(OC\Server))
Dec 28 18:06:36 nextcloudpi bash[1341]: #29 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\Container->offsetGet(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #30 /var/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #31 /var/www/nextcloud/lib/private/Repair.php(138): OC\ServerContainer->query(‘OC\Template\SCS…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #32 /var/www/nextcloud/core/register_command.php(143): OC\Repair::getRepairSteps()
Dec 28 18:06:36 nextcloudpi bash[1341]: #33 /var/www/nextcloud/lib/private/Console/Application.php(118): require_once(’/var/www/nextcl…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #34 /var/www/nextcloud/console.php(95): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Dec 28 18:06:36 nextcloudpi bash[1341]: #35 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
Dec 28 18:06:36 nextcloudpi bash[1341]: #36 {main}
Dec 28 18:06:41 nextcloudpi systemd[1]: mariadb.service: Service hold-off time over, scheduling restart.

sudo apt-get -f install

Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 461 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mariadb-server-10.1 (1:10.1.37-3) …
/var/lib/dpkg/info/mariadb-server-10.1.postinst: line 18: 8922 Done echo “$password_column_fix_query”
8923 Segmentation fault | $MYSQL_BOOTSTRAP 2>&1
8924 | $ERR_LOGGER
dpkg: error processing package mariadb-server-10.1 (–configure):
subprocess installed post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.1 (>= 1:10.1.37-3); however:
Package mariadb-server-10.1 is not configured yet.
dpkg: error processing package mariadb-server (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mariadb-server-10.1
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Output of sudo systemctl status mariadb

● mariadb.service - MariaDB 10.1.37 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-12-28 18:40:02 UTC; 1s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 10643 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 10640 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
Process: 10401 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=/usr/bin/galera_recovery; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exit
Process: 10397 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 10394 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Main PID: 10575 (mysqld)
Status: “Taking your SQL requests now…”
CGroup: /system.slice/mariadb.service
└─10575 /usr/sbin/mysqld

Dez 28 18:39:59 nextcloudpi systemd[1]: Starting MariaDB 10.1.37 database server…
Dez 28 18:40:00 nextcloudpi mysqld[10575]: 2018-12-28 18:40:00 3062321392 [Note] /usr/sbin/mysqld (mysqld 10.1.37-MariaDB-3) starting as process 10575 …
Dez 28 18:40:02 nextcloudpi systemd[1]: Started MariaDB 10.1.37 database server.

pi@nextcloudpi:/var/log $ sudo systemctl status mariadb
● mariadb.service - MariaDB 10.1.37 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Fri 2018-12-28 18:40:06 UTC; 744ms ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 10643 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 10640 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
Process: 10575 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=killed, signal=SEGV)
Process: 10401 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=/usr/bin/galera_recovery; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exit
Process: 10397 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 10394 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Main PID: 10575 (code=killed, signal=SEGV)
Status: “Taking your SQL requests now…”

Dez 28 18:40:06 nextcloudpi systemd[1]: mariadb.service: Failed with result ‘signal’.