Fatal error: Uncaught exception Exception with message Could not connect to database (Connection refused) thrown in /var/www/html/extern/system/modules/core/library/Contao/Database.php on line 81
#0 /var/www/html/extern/system/modules/core/library/Contao/Database.php(159): Contao\Database->__construct(Array)
#1 [internal function]: Contao\Database::getInstance()
#2 /var/www/html/extern/system/modules/core/library/Contao/System.php(110): call_user_func(Array)
#3 /var/www/html/extern/system/modules/core/library/Contao/User.php(89): Contao\System->import('Database')
#4 /var/www/html/extern/system/modules/core/classes/FrontendUser.php(79): Contao\User->__construct()
#5 /var/www/html/extern/system/modules/core/library/Contao/User.php(151): Contao\FrontendUser->__construct()
#6 [internal function]: Contao\User::getInstance()
#7 /var/www/html/extern/system/modules/core/library/Contao/System.php(110): call_user_func(Array)
#8 /var/www/html/extern/index.php(47): Contao\System->import('FrontendUser', 'User')
#9 /var/www/html/extern/index.php(410): Index->__construct()
#10 {main}

Warning: Unknown: open(/var/lib/php/session/sess_o6jodscibd55rf9e16abh4efb5, O_RDWR) failed: Read-only file system (30) in Unknown on line 0
#0 [internal function]: __error(2, 'Unknown: open(/...', 'Unknown', 0, NULL)
#1 {main}

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
#0 [internal function]: __error(2, 'Unknown: Failed...', 'Unknown', 0, NULL)
#1 {main}