Internal Server Error

UnexpectedValueException

vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:156

The stream or file "/var/www/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/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/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/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/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/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/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/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/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/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/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: No application encryption key has been specified. Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}} Context: {"exception":{}}

LARAVEL 12.42.0
PHP 8.4.17
UNHANDLED
CODE 0
500
GET
http://0.0.0.0:8000

Exception trace

12 vendor frames
Monolog\Handler\StreamHandler->write()
vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:156
Monolog\Handler\AbstractProcessingHandler->handle()
vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:44
Monolog\Logger->addRecord()
vendor/monolog/monolog/src/Monolog/Logger.php:391
Monolog\Logger->error()
vendor/monolog/monolog/src/Monolog/Logger.php:646
Illuminate\Log\Logger->writeLog()
vendor/laravel/framework/src/Illuminate/Log/Logger.php:183
Illuminate\Log\Logger->error()
vendor/laravel/framework/src/Illuminate/Log/Logger.php:96
Illuminate\Log\LogManager->error()
vendor/laravel/framework/src/Illuminate/Log/LogManager.php:703
Illuminate\Foundation\Exceptions\Handler->reportThrowable()
vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:402
Illuminate\Foundation\Exceptions\Handler->report()
vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:365
Illuminate\Foundation\Http\Kernel->reportException()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:562
Illuminate\Foundation\Http\Kernel->handle()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146
Illuminate\Foundation\Application->handleRequest()
vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1220
public/index.php
public/index.php:20
1516// Bootstrap Laravel and handle the request...17/** @var Application $app */18$app = require_once __DIR__.'/../bootstrap/app.php';1920$app->handleRequest(Request::capture());21

Queries

// No queries executed

Headers

accept
*/*
user-agent
curl/8.5.0
host
0.0.0.0:8000

Body

// No request body

Routing

controller
Closure
route name
home
middleware
web

Routing parameters

// No routing parameters