Nextcloud 18.0.7.1 Update on Unraid - internal Server Error

Hello everyone!

As I tried to solve this problem by myself and tried a lot of different solutions from different topics around the web. Mostly I could get out of such problem, but this time I’m stuck.

I’m a beginner, that means, that probably some Infos are missing. Please ask and I’ll deliver.

Nextcloud version (eg, 18.0.7.1):
(Unraid 6.8.3):

I updated nc to 18.0.7.1 on Unraid and then i received this error message, when I tried to reach the WebUI:

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 the technical details below in your report.
More details can be found in the server log.

Nextcloud log /share/nextcloud/nextcloud.log, last line:

{"reqId":"mqWt47gTZeDx4SEdd89C","level":3,"time":"August 24, 2020 18:34:42","remoteAddr":"X.X.X.X","user":"--","app":"remote","method":"GET","url":"/status.php","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2006] MySQL server has gone away","Code":0,"Trace":[{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":889,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/DB/Connection.php","line":194,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":216,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":287,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_App.php","line":883,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":662,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1699,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1020,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1970,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":810,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Http\\Client\\IClientService"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Http\\Client\\IClientService",true]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OC\\App\\AppStore\\Fetcher\\AppFetcher","__class__":"ReflectionClass"}]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":149,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher",true]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1679,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1321,"function":"getAppFetcher","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":734,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/base.php","line":660,"function":"checkServer","class":"OC_Util","type":"::","args":[{"__class__":"OC\\SystemConfig"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1090,"function":"init","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/status.php","line":37,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/DB/Connection.php","Line":67,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"18.0.7.1"}

Config.php nextcloud\www\nextcloud\config:

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'XXXXXXXXX',
  'passwordsalt' => 'XXXXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXXXXX',
  'trusted_domains' => 
  array (
    0 => 'XX.XX.XX.XX:444',
    1 => 'XXX.XXX.com',
  ),
  'trusted_proxies' => 
  array (
    0 => 'letsencrypt',
  ),
  'forwarded_for_headers' => 
  array (
    0 => 'X-Forwarded-For',
    1 => 'HTTP_X_FORWARDED_FOR',
  ),
  'dbtype' => 'mysql',
  'version' => '18.0.7.1',
  'overwrite.cli.url' => 'https://XXX.XXX.com',
  'overwritehost' => 'XXX.XXX.com',
  'overwriteprotocol' => 'https',
  'dbname' => 'XXX',
  'dbhost' => 'XXX:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'XXX',
  'dbpassword' => 'XXX',
  'installed' => true,
  'mail_from_address' => 'XXX',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'XXX.com',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.XXX.de',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'XXX@XXX.com',
  'mail_smtppassword' => 'XXX',
  'mail_smtpsecure' => 'ssl',
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'app_install_overwrite' => 
  array (
    0 => 'twofactor_rcdevsopenotp',
  ),
  'mail_smtpauthtype' => 'LOGIN',
  'maintenance' => true,
  'theme' => '',
  'logfile' => '/config/log/nextcloud/nextcloud.log',
  'log_type' => 'file',
  'logtimezone' => 'America/New_York',
  'logdateformat' => 'F d, Y H:i:s',
  'log_rotate_size' => 104857600,
  'logfilemode' => 432,
  'loglevel' => 0,
  'updater.release.channel' => 'stable',
);

Perhaps your MariaDB does not work. Does MariaDB runs? Can you connect to MariaDB? Please also check your settings for connecting MariaDB in your nextcloud config.php.

Normally set to “localhost” or “127.0.0.1” . Please check this. If you use MariaDB on the same server use “localhost” or “127.0.0.1”. Read docs.

My settings without port. Delete “:3306”
'dbhost' => 'localhost',

The mariadb docker is running … still. I updated it parrallel to the nextcloud docker.

The dbhost was the local ip adress and ran like this almost 1 year without interruption. After this I changed it to localhost, then to localhost:3306. I restarted the nexcloud docker of course after every change.
The output is still the same -> internal server error (…)

The logs are

{"reqId":"hOmUKTWQKOTn3Joz8cxe","level":3,"time":"August 25, 2020 20:19:31","remoteAddr":"XX.XX.XX.XX","user":"--","app":"remote","method":"GET","url":"/status.php","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":889,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/DB/Connection.php","line":194,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":216,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":287,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_App.php","line":883,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":662,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1699,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1020,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1970,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":810,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Http\\Client\\IClientService"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Http\\Client\\IClientService",true]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OC\\App\\AppStore\\Fetcher\\AppFetcher","__class__":"ReflectionClass"}]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":149,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher",true]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1679,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1321,"function":"getAppFetcher","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":734,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/base.php","line":660,"function":"checkServer","class":"OC_Util","type":"::","args":[{"__class__":"OC\\SystemConfig"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1090,"function":"init","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/status.php","line":37,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/DB/Connection.php","Line":67,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"18.0.7.1"}

and

{"reqId":"lEbREUhqq6DbTvRsjRmj","level":3,"time":"August 25, 2020 20:19:40","remoteAddr":"YY.YY.YY.YY","user":"--","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/testtest/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at /config/www/nextcloud/remote.php#61","userAgent":"Mozilla/5.0 (Windows) mirall/2.6.5stable-Win64 (build 20200710) (Nextcloud)","version":"18.0.7.1"}

and

{"reqId":"KHg5C2guthcC0JNBt7FJ","level":3,"time":"August 25, 2020 20:19:42","remoteAddr":"ZZ.ZZ.ZZ.ZZ","user":"--","app":"index","method":"GET","url":"/index.php/204","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":889,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/DB/Connection.php","line":194,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":216,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":287,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_App.php","line":883,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":662,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1699,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1020,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1970,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":810,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Http\\Client\\IClientService"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Http\\Client\\IClientService",true]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OC\\App\\AppStore\\Fetcher\\AppFetcher","__class__":"ReflectionClass"}]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":149,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher",true]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1679,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1321,"function":"getAppFetcher","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":734,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/base.php","line":660,"function":"checkServer","class":"OC_Util","type":"::","args":[{"__class__":"OC\\SystemConfig"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1090,"function":"init","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/index.php","line":35,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/DB/Connection.php","Line":67,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.13.0","version":"18.0.7.1"}

and

{"reqId":"6dayDFAOxZePuCzkn8to","level":3,"time":"August 25, 2020 20:20:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":889,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/DB/Connection.php","line":194,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/config/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/config/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":216,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":331,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/AppConfig.php","line":287,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_App.php","line":883,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":662,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1699,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1020,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1970,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":810,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Http\\Client\\IClientService"]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":71,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Http\\Client\\IClientService",true]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OC\\App\\AppStore\\Fetcher\\AppFetcher","__class__":"ReflectionClass"}]},{"file":"/config/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":149,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher",true]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1679,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppStore\\Fetcher\\AppFetcher"]},{"file":"/config/www/nextcloud/lib/private/Server.php","line":1321,"function":"getAppFetcher","class":"OC\\Server","type":"->","args":[]},{"file":"/config/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/config/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":734,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Installer"]},{"file":"/config/www/nextcloud/lib/base.php","line":660,"function":"checkServer","class":"OC_Util","type":"::","args":[{"__class__":"OC\\SystemConfig"}]},{"file":"/config/www/nextcloud/lib/base.php","line":1090,"function":"init","class":"OC","type":"::","args":[]},{"file":"/config/www/nextcloud/cron.php","line":42,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/DB/Connection.php","Line":67,"CustomMessage":"--"},"userAgent":"--","version":"18.0.7.1"}

Maybe are those 4 logs more useful.

Ok, after finding some time I tried to look deeper. @devnull was on the right way suspecting something is wrong with mariadb.

After trying some commands and look for error logs, I am stuck finding those anywhere. All the paths given as a result of a command, are leading to nowhere or are not accessible.

for example:

mysqld restart

result:

2020-08-27 22:23:16 0 [Note] mysqld (mysqld 10.4.14-MariaDB-1:10.4.14+maria~bionic-log) starting as process 639 ...
2020-08-27 22:23:16 0 [ERROR] mysqld: Can't lock aria control file '/config/databases/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
2020-08-27 22:23:47 0 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file '/config/databases/aria_log_control'
2020-08-27 22:23:47 0 [ERROR] Plugin 'Aria' init function returned error.
2020-08-27 22:23:47 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2020-08-27 22:23:47 0 [Note] InnoDB: Using Linux native AIO
2020-08-27 22:23:47 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-08-27 22:23:47 0 [Note] InnoDB: Uses event mutexes
2020-08-27 22:23:47 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-27 22:23:47 0 [Note] InnoDB: Number of pools: 1
2020-08-27 22:23:47 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-08-27 22:23:47 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2020-08-27 22:23:47 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2020-08-27 22:23:47 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-27 22:23:47 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-08-27 22:23:47 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:47 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:47 0 [Note] InnoDB: Retrying to lock the first data file
2020-08-27 22:23:48 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:48 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:49 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:49 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:50 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:50 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:51 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:51 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:52 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:52 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:53 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:53 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:54 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:54 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:55 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:55 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:56 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:56 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:57 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:57 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:58 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:58 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:23:59 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:23:59 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:00 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:00 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:01 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:01 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:02 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:02 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:03 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:03 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:04 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:04 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:05 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:05 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:06 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:06 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:07 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:07 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:08 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:08 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:09 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:09 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:10 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:10 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:11 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:11 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:12 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:12 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:13 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:13 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:14 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:14 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:15 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:15 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:16 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:16 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:17 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:17 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:18 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:18 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:19 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:19 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:20 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:20 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:21 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:21 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:22 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:22 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:23 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:23 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:24 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:24 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:25 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:25 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:26 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:26 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:27 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:27 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:28 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:28 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:29 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:29 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:30 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:30 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:31 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:31 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:32 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:32 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:33 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:33 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:34 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:34 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:35 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:35 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:36 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:36 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:37 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:37 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:38 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:38 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:39 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:39 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:40 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:40 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:41 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:41 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:42 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:42 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:43 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:43 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:44 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:44 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:45 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:45 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:46 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:46 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:47 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:47 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:48 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:48 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:49 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:49 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:50 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:50 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:51 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:51 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:52 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:52 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:53 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:53 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:54 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:54 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:55 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:55 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:56 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:56 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:57 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:57 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:58 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:58 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:24:59 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:24:59 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:00 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:00 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:01 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:01 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:02 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:02 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:03 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:03 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:04 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:04 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:05 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:05 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:06 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:06 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:07 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:07 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:08 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:08 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:09 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:09 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:10 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:10 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:11 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:11 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:12 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:12 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:13 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:13 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:14 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:14 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:15 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:15 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:16 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:16 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:17 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:17 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:18 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:18 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:19 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:19 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:20 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:20 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:21 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:21 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:22 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:22 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:23 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:23 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:24 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:24 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:25 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:25 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:26 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:26 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:27 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-08-27 22:25:27 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
2020-08-27 22:25:27 0 [Note] InnoDB: Unable to open the first data file
2020-08-27 22:25:27 0 [ERROR] InnoDB: Operating system error number 11 in a file operation.
2020-08-27 22:25:27 0 [ERROR] InnoDB: Error number 11 means 'Resource temporarily unavailable'
2020-08-27 22:25:27 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/
2020-08-27 22:25:27 0 [ERROR] InnoDB: Cannot open datafile './ibdata1'
2020-08-27 22:25:27 0 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2020-08-27 22:25:27 0 [ERROR] InnoDB: Plugin initialization aborted with error Cannot open a file
2020-08-27 22:25:28 0 [Note] InnoDB: Starting shutdown...
2020-08-27 22:25:28 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-08-27 22:25:28 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-08-27 22:25:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-08-27 22:25:28 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2020-08-27 22:25:28 0 [ERROR] Failed to initialize plugins.
2020-08-27 22:25:28 0 [ERROR] Aborting

this line:

/config/databases/aria_log_control

is looking for a “databases” folder, that I can’t see in there.

The next thing is, that I can’t find the my.cnf. So I started looking for this issue.

mysqld --print-defaults
mysqld would have been started with the following arguments:
--user=abc --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 --basedir=/usr --datadir=/config/databases --tmpdir=/tmp --lc_messages_dir=/usr/share/mysql --lc_messages=en_US --skip-external-locking --max_connections=100 --connect_timeout=5 --wait_timeout=600 --max_allowed_packet=16M --thread_cache_size=128 --sort_buffer_size=4M --bulk_insert_buffer_size=16M --tmp_table_size=32M --max_heap_table_size=32M --myisam_recover_options=BACKUP --key_buffer_size=128M --table_open_cache=400 --myisam_sort_buffer_size=512M --concurrent_insert=2 --read_buffer_size=2M --read_rnd_buffer_size=1M --query_cache_limit=128K --query_cache_size=64M --log_warnings=2 --slow_query_log_file=/config/log/mysql/mariadb-slow.log --long_query_time=10 --log_slow_verbosity=query_plan --log_bin=/config/log/mysql/mariadb-bin --log_bin_index=/config/log/mysql/mariadb-bin.index --expire_logs_days=10 --max_binlog_size=100M --default_storage_engine=InnoDB --innodb_buffer_pool_size=256M --innodb_log_buffer_size=8M --innodb_file_per_table=1 --innodb_open_files=400 --innodb_io_capacity=400 --innodb_flush_method=O_DIRECT --max_connections=100 --connect_timeout=5 --wait_timeout=600 --max_allowed_packet=16M --thread_cache_size=128 --sort_buffer_size=4M --bulk_insert_buffer_size=16M --tmp_table_size=32M --max_heap_table_size=32M --binlog_format=mixed --myisam_recover_options=BACKUP --key_buffer_size=128M --table_open_cache=400 --myisam_sort_buffer_size=512M --concurrent_insert=2 --read_buffer_size=2M --read_rnd_buffer_size=1M --query_cache_limit=128K --query_cache_size=64M --log_warnings=2 --slow_query_log_file=/config/log/mysql/mariadb-slow.log --long_query_time=10 --log_slow_verbosity=query_plan --log_bin=/config/log/mysql/mariadb-bin --log_bin_index=/config/log/mysql/mariadb-bin.index --expire_logs_days=10 --max_binlog_size=100M --default_storage_engine=InnoDB --innodb_buffer_pool_size=256M --innodb_log_buffer_size=8M --innodb_file_per_table=1 --innodb_open_files=400 --innodb_io_capacity=400 --innodb_flush_method=O_DIRECT 

Also tried to look for a docker or a process that is maybe using any of those invisible files. After shutting them down and looking for a still running one by typing:

docker ps -a

There is nothing in the background.

Is it possible, that Krusader is messing with me? Can I use a command that I overlooked?

(Googling the errors were pointing to some directions without positive results. Finding or creating the my.cnf file is probably the biggest difficulty for me.)