UnexpectedValueException: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: SQLSTATE[08006] [7] connection to server at "staging-hasab-co-pgsql.c5wmuk80odqu.af-south-1.rds.amazonaws.com" (172.31.48.45), port 5432 failed: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied connection to server at "staging-hasab-co-pgsql.c5wmuk80odqu.af-south-1.rds.amazonaws.com" (172.31.48.45), port 5432 failed: FATAL: no pg_hba.conf entry for host "172.31.9.224", user "stagingpostgres", database "hasabai", no encryption (Connection: pgsql, SQL: select * from "sessions" where "id" = ooyybCBlGKvoCfw3LWFdQaecaEzDExsEOELCOj1K limit 1) Context: {"exception":{"errorInfo":["08006",7,"connection to server at \"staging-hasab-co-pgsql.c5wmuk80odqu.af-south-1.rds.amazonaws.com\" (172.31.48.45), port 5432 failed: could not open certificate file \"\/root\/.postgresql\/postgresql.crt\": Permission denied\nconnection to server at \"staging-hasab-co-pgsql.c5wmuk80odqu.af-south-1.rds.amazonaws.com\" (172.31.48.45), port 5432 failed: FATAL: no pg_hba.conf entry for host \"172.31.9.224\", user \"stagingpostgres\", database \"hasabai\", no encryption"],"connectionName":"pgsql"}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:156 Stack trace: #0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\Handler\StreamHandler->write(Object(Monolog\LogRecord)) #1 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(391): Monolog\Handler\AbstractProcessingHandler->handle(Object(Monolog\LogRecord)) #2 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(646): Monolog\Logger->addRecord(Object(Monolog\Level), 'The stream or f...', Array) #3 /var/www/html/vendor/laravel/framework/src/Illuminate/Log/Logger.php(184): Monolog\Logger->error('The stream or f...', Array) #4 /var/www/html/vendor/laravel/framework/src/Illuminate/Log/Logger.php(97): Illuminate\Log\Logger->writeLog('error', 'The stream or f...', Array) #5 /var/www/html/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(701): Illuminate\Log\Logger->error('The stream or f...', Array) #6 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(380): Illuminate\Log\LogManager->error('The stream or f...', Array) #7 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(343): Illuminate\Foundation\Exceptions\Handler->reportThrowable(Object(UnexpectedValueException)) #8 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(563): Illuminate\Foundation\Exceptions\Handler->report(Object(UnexpectedValueException)) #9 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(147): Illuminate\Foundation\Http\Kernel->reportException(Object(UnexpectedValueException)) #10 /var/www/html/vendor/laravel/octane/src/ApplicationGateway.php(36): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #11 /var/www/html/vendor/laravel/octane/src/Worker.php(84): Laravel\Octane\ApplicationGateway->handle(Object(Illuminate\Http\Request)) #12 /var/www/html/vendor/laravel/octane/bin/swoole-server(122): Laravel\Octane\Worker->handle(Object(Illuminate\Http\Request), Object(Laravel\Octane\RequestContext)) #13 [internal function]: {closure}(Object(Swoole\Http\Request), Object(Swoole\Http\Response)) #14 /var/www/html/vendor/laravel/octane/bin/swoole-server(172): Swoole\Server->start() #15 {main}