Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] connection to server at "5.161.60.163", port 5432 failed: timeout expired in /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 Stack trace: #0 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(70): PDO->__construct() #1 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection() #2 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/PostgresConnector.php(36): Illuminate\Database\Connectors\Connector->createConnection() #3 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\PostgresConnector->connect() #4 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #5 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1181): call_user_func() #6 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(539): Illuminate\Database\Connection->getPdo() #7 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\Database\Connection->Illuminate\Database\{closure}() #8 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\Database\Connection->runQueryCallback() #9 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(546): Illuminate\Database\Connection->run() #10 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(469): Illuminate\Database\Connection->statement() #11 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Database\DatabaseManager->__call() #12 /var/www/html/lib/pkp/classes/core/PKPApplication.php(268): Illuminate\Support\Facades\Facade::__callStatic() #13 /var/www/html/lib/pkp/classes/core/PKPApplication.php(230): PKP\core\PKPApplication->initializeTimeZone() #14 /var/www/html/lib/pkp/classes/core/PKPApplication.php(200): PKP\core\PKPApplication->initializeLaravelContainer() #15 /var/www/html/classes/core/Application.php(50): PKP\core\PKPApplication->__construct() #16 /var/www/html/lib/pkp/includes/bootstrap.php(37): APP\core\Application->__construct() #17 /var/www/html/index.php(18): require_once('...') #18 {main} Next Illuminate\Database\QueryException: SQLSTATE[08006] [7] connection to server at "5.161.60.163", port 5432 failed: timeout expired (SQL: SET TIME ZONE INTERVAL '-05:00' HOUR TO MINUTE) in /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 Stack trace: #0 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\Database\Connection->runQueryCallback() #1 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(546): Illuminate\Database\Connection->run() #2 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(469): Illuminate\Database\Connection->statement() #3 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Database\DatabaseManager->__call() #4 /var/www/html/lib/pkp/classes/core/PKPApplication.php(268): Illuminate\Support\Facades\Facade::__callStatic() #5 /var/www/html/lib/pkp/classes/core/PKPApplication.php(230): PKP\core\PKPApplication->initializeTimeZone() #6 /var/www/html/lib/pkp/classes/core/PKPApplication.php(200): PKP\core\PKPApplication->initializeLaravelContainer() #7 /var/www/html/classes/core/Application.php(50): PKP\core\PKPApplication->__construct() #8 /var/www/html/lib/pkp/includes/bootstrap.php(37): APP\core\Application->__construct() #9 /var/www/html/index.php(18): require_once('...') #10 {main} thrown in /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 760