We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
at StreamHandler->write(array('message' => 'UnexpectedValueException: The stream or file "/var/www/instaweb/storage/logs/laravel-2023-04-11.log" could not be opened: failed to open stream: Permission denied in /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108Stack trace:#0 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\Handler\StreamHandler->write(Array)#1 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\RotatingFileHandler->write(Array)#2 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array)#3 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(712): Monolog\Logger->addRecord(400, Object(UnexpectedValueException), Array)#4 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(203): Monolog\Logger->error(Object(UnexpectedValueException), Array)#5 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(114): Illuminate\Log\Writer->writeLog('error', Object(UnexpectedValueException), Array)#6 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(71): Illuminate\Log\Writer->error(Object(UnexpectedValueException))#7 /var/www/instaweb/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(UnexpectedValueException))#8 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(UnexpectedValueException))#9 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/instaweb/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))#11 {main}', 'context' => array(), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'local', 'datetime' => object(DateTime), 'extra' => array(), 'formatted' => '[2023-04-11 12:36:30] local.ERROR: UnexpectedValueException: The stream or file "/var/www/instaweb/storage/logs/laravel-2023-04-11.log" could not be opened: failed to open stream: Permission denied in /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108Stack trace:#0 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\Handler\StreamHandler->write(Array)#1 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\RotatingFileHandler->write(Array)#2 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array)#3 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(712): Monolog\Logger->addRecord(400, Object(UnexpectedValueException), Array)#4 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(203): Monolog\Logger->error(Object(UnexpectedValueException), Array)#5 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(114): Illuminate\Log\Writer->writeLog('error', Object(UnexpectedValueException), Array)#6 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(71): Illuminate\Log\Writer->error(Object(UnexpectedValueException))#7 /var/www/instaweb/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(UnexpectedValueException))#8 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(UnexpectedValueException))#9 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/instaweb/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))#11 {main} '))
1.creat code 2.store code 3.publish code ...
To behave normally
Steam
Android
Chrome
Abstractprocessinghandler Php line 39
Phone
8
Huwawai
Android 8
18444764734
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Debug mode
Describe the bug
at StreamHandler->write(array('message' => 'UnexpectedValueException: The stream or file "/var/www/instaweb/storage/logs/laravel-2023-04-11.log" could not be opened: failed to open stream: Permission denied in /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108Stack trace:#0 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\Handler\StreamHandler->write(Array)#1 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\RotatingFileHandler->write(Array)#2 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array)#3 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(712): Monolog\Logger->addRecord(400, Object(UnexpectedValueException), Array)#4 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(203): Monolog\Logger->error(Object(UnexpectedValueException), Array)#5 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(114): Illuminate\Log\Writer->writeLog('error', Object(UnexpectedValueException), Array)#6 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(71): Illuminate\Log\Writer->error(Object(UnexpectedValueException))#7 /var/www/instaweb/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(UnexpectedValueException))#8 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(UnexpectedValueException))#9 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/instaweb/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))#11 {main}', 'context' => array(), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'local', 'datetime' => object(DateTime), 'extra' => array(), 'formatted' => '[2023-04-11 12:36:30] local.ERROR: UnexpectedValueException: The stream or file "/var/www/instaweb/storage/logs/laravel-2023-04-11.log" could not be opened: failed to open stream: Permission denied in /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108Stack trace:#0 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\Handler\StreamHandler->write(Array)#1 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\RotatingFileHandler->write(Array)#2 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array)#3 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(712): Monolog\Logger->addRecord(400, Object(UnexpectedValueException), Array)#4 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(203): Monolog\Logger->error(Object(UnexpectedValueException), Array)#5 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(114): Illuminate\Log\Writer->writeLog('error', Object(UnexpectedValueException), Array)#6 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(71): Illuminate\Log\Writer->error(Object(UnexpectedValueException))#7 /var/www/instaweb/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(UnexpectedValueException))#8 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(UnexpectedValueException))#9 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/instaweb/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))#11 {main} '))
Reproduction steps
1.creat code
2.store code
3.publish code
...
Expected behavior
To behave normally
Screenshots
at StreamHandler->write(array('message' => 'UnexpectedValueException: The stream or file "/var/www/instaweb/storage/logs/laravel-2023-04-11.log" could not be opened: failed to open stream: Permission denied in /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108Stack trace:#0 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\Handler\StreamHandler->write(Array)#1 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\RotatingFileHandler->write(Array)#2 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array)#3 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(712): Monolog\Logger->addRecord(400, Object(UnexpectedValueException), Array)#4 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(203): Monolog\Logger->error(Object(UnexpectedValueException), Array)#5 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(114): Illuminate\Log\Writer->writeLog('error', Object(UnexpectedValueException), Array)#6 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(71): Illuminate\Log\Writer->error(Object(UnexpectedValueException))#7 /var/www/instaweb/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(UnexpectedValueException))#8 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(UnexpectedValueException))#9 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/instaweb/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))#11 {main}', 'context' => array(), 'level' => 400, 'level_name' => 'ERROR', 'channel' => 'local', 'datetime' => object(DateTime), 'extra' => array(), 'formatted' => '[2023-04-11 12:36:30] local.ERROR: UnexpectedValueException: The stream or file "/var/www/instaweb/storage/logs/laravel-2023-04-11.log" could not be opened: failed to open stream: Permission denied in /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108Stack trace:#0 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\Handler\StreamHandler->write(Array)#1 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\RotatingFileHandler->write(Array)#2 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array)#3 /var/www/instaweb/vendor/monolog/monolog/src/Monolog/Logger.php(712): Monolog\Logger->addRecord(400, Object(UnexpectedValueException), Array)#4 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(203): Monolog\Logger->error(Object(UnexpectedValueException), Array)#5 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Log/Writer.php(114): Illuminate\Log\Writer->writeLog('error', Object(UnexpectedValueException), Array)#6 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(71): Illuminate\Log\Writer->error(Object(UnexpectedValueException))#7 /var/www/instaweb/app/Exceptions/Handler.php(35): Illuminate\Foundation\Exceptions\Handler->report(Object(UnexpectedValueException))#8 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(UnexpectedValueException))#9 /var/www/instaweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(UnexpectedValueException))#10 /var/www/instaweb/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))#11 {main} '))
Snipe-IT Version
Steam
Operating System
Android
Web Server
Chrome
PHP Version
Abstractprocessinghandler Php line 39
Operating System
Phone
Browser
Chrome
Version
8
Device
Huwawai
Operating System
Android 8
Browser
Chrome
Version
8
Error messages
Additional context
No response
The text was updated successfully, but these errors were encountered: