FupingQiu / okrsw

0 stars 0 forks source link

could not be opened in append mode: failed to open stream: Permission denied" #33

Open FupingQiu opened 3 years ago

FupingQiu commented 3 years ago

UnexpectedValueException thrown with message "The stream or file "/var/www/project/storage/logs/laravel-2020-12-07.log" could not be opened in append mode: failed to open stream: Permission denied"

Stacktrace:

11 UnexpectedValueException in /var/www/project/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:110

10 Monolog\Handler\StreamHandler:write in /var/www/project/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:120

9 Monolog\Handler\RotatingFileHandler:write in /var/www/project/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39

8 Monolog\Handler\AbstractProcessingHandler:handle in /var/www/project/vendor/monolog/monolog/src/Monolog/Logger.php:344

7 Monolog\Logger:addRecord in /var/www/project/vendor/monolog/monolog/src/Monolog/Logger.php:712

6 Monolog\Logger:error in /var/www/project/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176

5 Illuminate\Log\Logger:writeLog in /var/www/project/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87

4 Illuminate\Log\Logger:error in /var/www/project/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:500

3 Illuminate\Log\LogManager:error in /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:118

2 Illuminate\Foundation\Exceptions\Handler:report in /var/www/project/app/Exceptions/Handler.php:37

1 App\Exceptions\Handler:report in /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:92

0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0