Skip to content

Errors after running Doctor CMD #197

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

Open
IamPatticus opened this issue Mar 4, 2025 · 0 comments
Open

Errors after running Doctor CMD #197

IamPatticus opened this issue Mar 4, 2025 · 0 comments

Comments

@IamPatticus
Copy link

Session directory storage/framework/sessions is not readable/writable .................................... ERROR
Cache directory storage/framework/cache is not readable/writable ......................................... ERROR
Log directory storage/logs is not readable/writable ...................................................... ERROR
Media storage setup (local) ................................................................................. OK
Checking database connection ................................................................................ OK
TNT search index directory storage/search-indexes is readable/writable ...................................... OK
API is healthy ........................................................................................... ERROR
FFmpeg binary /usr/bin/ffmpeg is executable ................................................................. OK
PHP extension zip is loaded. Multi-file downloading is supported ............................................ OK
Max upload size ........................................................................................... 800M
Max post size ............................................................................................. 800M
Streaming method .................................................................................... x-sendfile

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: Class "Faker\Factory" not found
Context: {"exception":{}}

at vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:137
133▕ }
134▕ if (!is_resource($stream)) {
135▕ $this->stream = null;
136▕
➜ 137▕ throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened in append mode: '.$this->errorMessage, $url) . Utils::getRecordMessageForException($record));
138▕ }
139▕ stream_set_chunk_size($stream, $this->streamChunkSize);
140▕ $this->stream = $stream;
141▕ }

  +8 vendor frames 

9 app/Exceptions/Handler.php:26
Illuminate\Foundation\Exceptions\Handler::report()
+3 vendor frames

13 artisan:35
Illuminate\Foundation\Console\Kernel::handle()

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

1 participant