Skip to content
New issue

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

CLAVAL COLLECTION #12814

Closed
2 tasks done
CLAVALCOLLECTION2 opened this issue Apr 11, 2023 · 0 comments
Closed
2 tasks done

CLAVAL COLLECTION #12814

CLAVALCOLLECTION2 opened this issue Apr 11, 2023 · 0 comments

Comments

@CLAVALCOLLECTION2
Copy link

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

18444764734

Additional context

No response

@snipe snipe closed this as completed Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants