Iniciar sesión como auxiliar

Whoops! There was an error.
UnexpectedValueException
The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted UnexpectedValueException thrown with message "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted" Stacktrace: #11 UnexpectedValueException in /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 #10 Monolog\Handler\StreamHandler:write in /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119 #9 Monolog\Handler\RotatingFileHandler:write in /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 #8 Monolog\Handler\AbstractProcessingHandler:handle in /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php:344 #7 Monolog\Logger:addRecord in /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php:707 #6 Monolog\Logger:error in /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 #5 Illuminate\Log\Logger:writeLog in /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:500 #3 Illuminate\Log\LogManager:error in /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:116 #2 Illuminate\Foundation\Exceptions\Handler:report in /var/www/html/uipj/app/Exceptions/Handler.php:40 #1 App\Exceptions\Handler:report in /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
11
UnexpectedValueException
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php107
10
Monolog\Handler\StreamHandler write
/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php119
9
Monolog\Handler\RotatingFileHandler write
/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php39
8
Monolog\Handler\AbstractProcessingHandler handle
/vendor/monolog/monolog/src/Monolog/Logger.php344
7
Monolog\Logger addRecord
/vendor/monolog/monolog/src/Monolog/Logger.php707
6
Monolog\Logger error
/vendor/laravel/framework/src/Illuminate/Log/Logger.php176
5
Illuminate\Log\Logger writeLog
/vendor/laravel/framework/src/Illuminate/Log/Logger.php87
4
Illuminate\Log\Logger error
/vendor/laravel/framework/src/Illuminate/Log/LogManager.php500
3
Illuminate\Log\LogManager error
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php116
2
Illuminate\Foundation\Exceptions\Handler report
/app/Exceptions/Handler.php40
1
App\Exceptions\Handler report
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php81
0
Illuminate\Foundation\Bootstrap\HandleExceptions handleException
[internal]0
/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        if (!is_resource($this->stream)) {
            if (null === $this->url || '' === $this->url) {
                throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');
            }
            $this->createDir();
            $this->errorMessage = null;
            set_error_handler(array($this, 'customErrorHandler'));
            $this->stream = fopen($this->url, 'a');
            if ($this->filePermission !== null) {
                @chmod($this->url, $this->filePermission);
            }
            restore_error_handler();
            if (!is_resource($this->stream)) {
                $this->stream = null;
                throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url));
            }
        }
 
        if ($this->useLocking) {
            // ignoring errors here, there's not much we can do about them
            flock($this->stream, LOCK_EX);
        }
 
        $this->streamWrite($this->stream, $record);
 
        if ($this->useLocking) {
            flock($this->stream, LOCK_UN);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array $record
     */
Arguments
  1. "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
    
/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php
        $this->url = $this->getTimedFilename();
        $this->close();
    }
 
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        // on the first record written, if the log is new, we should rotate (once per day)
        if (null === $this->mustRotate) {
            $this->mustRotate = !file_exists($this->url);
        }
 
        if ($this->nextRotation < $record['datetime']) {
            $this->mustRotate = true;
            $this->close();
        }
 
        parent::write($record);
    }
 
    /**
     * Rotates the files.
     */
    protected function rotate()
    {
        // update filename
        $this->url = $this->getTimedFilename();
        $this->nextRotation = new \DateTime('tomorrow');
 
        // skip GC of old logs if files are unlimited
        if (0 === $this->maxFiles) {
            return;
        }
 
        $logFiles = glob($this->getGlobPattern());
        if ($this->maxFiles >= count($logFiles)) {
            // no files to remove
            return;
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#1005
          #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
          #code: 0
          #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1594027798 {#656
        date: 2020-07-06 04:29:58.548515 America/Mexico_City (-05:00)
      }
      "extra" => []
      "formatted" => """
        [2020-07-06 04:29:58] local.ERROR: The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/uipj/storage/logs/laravel-2020-07-06.log\" could not be opened: chmod(): Operation not permitted at /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'SQLSTATE[42S02]...', Array)\n
        #4 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('SQLSTATE[42S02]...', Array)\n
        #5 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'SQLSTATE[42S02]...', Array)\n
        #6 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('SQLSTATE[42S02]...', Array)\n
        #7 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('SQLSTATE[42S02]...', Array)\n
        #8 /var/www/html/uipj/app/Exceptions/Handler.php(40): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(Illuminate\\Database\\QueryException))\n
        #9 /var/www/html/uipj/vendor/laravel/telescope/src/Telescope.php(560): App\\Exceptions\\Handler->report(Object(Illuminate\\Database\\QueryException))\n
        #10 /var/www/html/uipj/vendor/laravel/telescope/src/ListensForStorageOpportunities.php(44): Laravel\\Telescope\\Telescope::store(Object(Laravel\\Telescope\\Storage\\DatabaseEntriesRepository))\n
        #11 [internal function]: Laravel\\Telescope\\Telescope::Laravel\\Telescope\\{closure}()\n
        #12 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array(Object(Closure), Array)\n
        #13 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(78): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n
        #14 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Object(Closure), Object(Closure))\n
        #15 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/Container.php(576): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Object(Closure), Array, NULL)\n
        #16 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1019): Illuminate\\Container\\Container->call(Object(Closure))\n
        #17 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(191): Illuminate\\Foundation\\Application->terminate()\n
        #18 /var/www/html/uipj/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #19 {main}\n
        "} \n
        """
    ]
    
/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#1005
          #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
          #code: 0
          #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1594027798 {#656
        date: 2020-07-06 04:29:58.548515 America/Mexico_City (-05:00)
      }
      "extra" => []
      "formatted" => """
        [2020-07-06 04:29:58] local.ERROR: The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/uipj/storage/logs/laravel-2020-07-06.log\" could not be opened: chmod(): Operation not permitted at /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'SQLSTATE[42S02]...', Array)\n
        #4 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('SQLSTATE[42S02]...', Array)\n
        #5 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'SQLSTATE[42S02]...', Array)\n
        #6 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('SQLSTATE[42S02]...', Array)\n
        #7 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('SQLSTATE[42S02]...', Array)\n
        #8 /var/www/html/uipj/app/Exceptions/Handler.php(40): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(Illuminate\\Database\\QueryException))\n
        #9 /var/www/html/uipj/vendor/laravel/telescope/src/Telescope.php(560): App\\Exceptions\\Handler->report(Object(Illuminate\\Database\\QueryException))\n
        #10 /var/www/html/uipj/vendor/laravel/telescope/src/ListensForStorageOpportunities.php(44): Laravel\\Telescope\\Telescope::store(Object(Laravel\\Telescope\\Storage\\DatabaseEntriesRepository))\n
        #11 [internal function]: Laravel\\Telescope\\Telescope::Laravel\\Telescope\\{closure}()\n
        #12 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array(Object(Closure), Array)\n
        #13 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(78): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n
        #14 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Object(Closure), Object(Closure))\n
        #15 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/Container.php(576): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Object(Closure), Array, NULL)\n
        #16 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1019): Illuminate\\Container\\Container->call(Object(Closure))\n
        #17 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(191): Illuminate\\Foundation\\Application->terminate()\n
        #18 /var/www/html/uipj/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #19 {main}\n
        "} \n
        """
    ]
    
/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
      "context" => array:1 [
        "exception" => UnexpectedValueException {#1005
          #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
          #code: 0
          #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
          #line: 107
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1594027798 {#656
        date: 2020-07-06 04:29:58.548515 America/Mexico_City (-05:00)
      }
      "extra" => []
      "formatted" => """
        [2020-07-06 04:29:58] local.ERROR: The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted {"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/var/www/html/uipj/storage/logs/laravel-2020-07-06.log\" could not be opened: chmod(): Operation not permitted at /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107)\n
        [stacktrace]\n
        #0 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(119): Monolog\\Handler\\StreamHandler->write(Array)\n
        #1 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\\Handler\\RotatingFileHandler->write(Array)\n
        #2 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n
        #3 /var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php(707): Monolog\\Logger->addRecord(400, 'SQLSTATE[42S02]...', Array)\n
        #4 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php(176): Monolog\\Logger->error('SQLSTATE[42S02]...', Array)\n
        #5 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\\Log\\Logger->writeLog('error', 'SQLSTATE[42S02]...', Array)\n
        #6 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\Logger->error('SQLSTATE[42S02]...', Array)\n
        #7 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(116): Illuminate\\Log\\LogManager->error('SQLSTATE[42S02]...', Array)\n
        #8 /var/www/html/uipj/app/Exceptions/Handler.php(40): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(Illuminate\\Database\\QueryException))\n
        #9 /var/www/html/uipj/vendor/laravel/telescope/src/Telescope.php(560): App\\Exceptions\\Handler->report(Object(Illuminate\\Database\\QueryException))\n
        #10 /var/www/html/uipj/vendor/laravel/telescope/src/ListensForStorageOpportunities.php(44): Laravel\\Telescope\\Telescope::store(Object(Laravel\\Telescope\\Storage\\DatabaseEntriesRepository))\n
        #11 [internal function]: Laravel\\Telescope\\Telescope::Laravel\\Telescope\\{closure}()\n
        #12 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array(Object(Closure), Array)\n
        #13 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(78): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n
        #14 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Object(Closure), Object(Closure))\n
        #15 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Container/Container.php(576): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Object(Closure), Array, NULL)\n
        #16 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1019): Illuminate\\Container\\Container->call(Object(Closure))\n
        #17 /var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(191): Illuminate\\Foundation\\Application->terminate()\n
        #18 /var/www/html/uipj/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #19 {main}\n
        "} \n
        """
    ]
    
/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Logger.php
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#1005
        #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
        #code: 0
        #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#1005
        #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
        #code: 0
        #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
    
  3. array:1 [
      "exception" => UnexpectedValueException {#1005
        #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
        #code: 0
        #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Log/LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param  string  $message
     * @param  array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param  string  $message
     * @param  array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#1005
        #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
        #code: 0
        #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (is_callable($reportCallable = [$e, 'report'])) {
            return $this->container->call($reportCallable);
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
    
  2. array:1 [
      "exception" => UnexpectedValueException {#1005
        #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
        #code: 0
        #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
        #line: 107
      }
    ]
    
/var/www/html/uipj/app/Exceptions/Handler.php
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    protected $dontFlash = [
        'password',
        'password_confirmation',
    ];
 
    /**
     * Report or log an exception.
     *
     * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
     *
     * @param  \Exception  $exception
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        if ($exception instanceof MethodNotAllowedHttpException) 
        {
            return redirect('/login');
            return response()->json( [
                'success' => 0,
                'message' => 'Method is not allowed for the requested route',
            ], 405 );
        }
        
Arguments
  1. UnexpectedValueException {#1005
      #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
      #code: 0
      #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
/var/www/html/uipj/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. UnexpectedValueException {#1005
      #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
      #code: 0
      #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    
[internal]
Arguments
  1. UnexpectedValueException {#1005
      #message: "The stream or file "/var/www/html/uipj/storage/logs/laravel-2020-07-06.log" could not be opened: chmod(): Operation not permitted"
      #code: 0
      #file: "/var/www/html/uipj/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
      #line: 107
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_STATUS
"200"
HTTP_HOST
"sistemas.fiscaliaveracruz.gob.mx"
HTTP_X_REAL_IP
"18.232.186.117"
HTTP_X_FORWARDED_FOR
"18.232.186.117"
HTTP_CONNECTION
"close"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.25 (Debian) Server at sistemas.fiscaliaveracruz.gob.mx Port 8088</address>\n"
SERVER_SOFTWARE
"Apache/2.4.25 (Debian)"
SERVER_NAME
"sistemas.fiscaliaveracruz.gob.mx"
SERVER_ADDR
"192.108.24.131"
SERVER_PORT
"8088"
REMOTE_ADDR
"192.108.24.110"
DOCUMENT_ROOT
"/var/www/html"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/html"
SERVER_ADMIN
"webmaster@localhost"
SCRIPT_FILENAME
"/var/www/html/uipj/public/index.php"
REMOTE_PORT
"59848"
REDIRECT_URL
"/uipj/public/auxiliar/login"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/uipj/public/auxiliar/login"
SCRIPT_NAME
"/uipj/public/index.php"
PHP_SELF
"/uipj/public/index.php"
REQUEST_TIME_FLOAT
1594027797.726
REQUEST_TIME
1594027797
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:4gSAN84D6uH859n6bIrFbiFZ51bDng4cdn9di8lzC+k="
APP_DEBUG
"true"
APP_URL
"http://sistemas.fiscaliaveracruz.gob.mx/uipj/public"
LOG_CHANNEL
"uipj"
LOG_SLACK_WEBHOOK_URL
"https://hooks.slack.com/services/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"
UIPJ_CONNECTION
"uipj"
UIPJ_HOST
"192.108.24.141"
UIPJ_PORT
"3306"
UIPJ_DATABASE
"im01"
UIPJ_USERNAME
"siinfony"
UIPJ_PASSWORD
"S11nf0ny"
TELESCOPE_CONNECTION
"telescope"
TELESCOPE_HOST
"192.108.24.141"
TELESCOPE_PORT
"3306"
TELESCOPE_DATABASE
"telescope"
TELESCOPE_USERNAME
"siinfony"
TELESCOPE_PASSWORD
"S11nf0ny"
COMPONENT_CONNECTION
"component"
COMPONENT_HOST
"192.108.24.141"
COMPONENT_PORT
"3306"
COMPONENT_DATABASE
"componente2"
COMPONENT_USERNAME
"siinfony"
COMPONENT_PASSWORD
"S11nf0ny"
UATUIPJ_CONNECTION
"uatuipj"
UATUIPJ_HOST
"localhost"
UATUIPJ_PORT
"3306"
UATUIPJ_DATABASE
"uatuipj"
UATUIPJ_USERNAME
"root"
UATUIPJ_PASSWORD
""
DB_CONNECTION_DESAPARECIDOS
"desaparecidos"
DB_HOST_DESAPARECIDOS
"192.108.24.141"
DB_PORT_DESAPARECIDOS
"3306"
DB_DATABASE_DESAPARECIDOS
"bd_desaparecidos"
DB_USERNAME_DESAPARECIDOS
"siinfony"
DB_PASSWORD_DESAPARECIDOS
"S11nf0ny"
DB_CONNECTION_VRR
"vrr"
DB_HOST_VRR
"192.108.24.141"
DB_PORT_VRR
"3306"
DB_DATABASE_VRR
"bd_vrr"
DB_USERNAME_VRR
"siinfony"
DB_PASSWORD_VRR
"S11nf0ny"
BROADCAST_DRIVER
"pusher"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"localhost"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"192.108.24.106"
MAIL_PORT
"465"
MAIL_USERNAME
"uipj@fiscaliaveracruz.gob.mx"
MAIL_PASSWORD
"pruebauipj"
MAIL_ENCRYPTION
"tls"
MAIL_FROM_ADDRESS
"uipj@fiscaliaveracruz.gob.mx"
PUSHER_APP_ID
"597245"
PUSHER_APP_KEY
"0d827853a16d5ec675cc"
PUSHER_APP_SECRET
"02b2c651b18f9853094f"
PUSHER_APP_CLUSTER
"us2"
MIX_PUSHER_APP_KEY
"0d827853a16d5ec675cc"
MIX_PUSHER_APP_CLUSTER
"us2"
UIPJ_IP
"http://sistemas.fiscaliaveracruz.gob.mx/uipj/public/"
VRR_IP
"http://sistemas.fiscaliaveracruz.gob.mx/vrr/public/"
DESAPARECIDOS_IP
"http://sistemas.fiscaliaveracruz.gob.mx/desaparecidos/public/"
ACUERDOS_IP
"http://sistemas.fiscaliaveracruz.gob.mx/acuerdos/public/"
PERICIALES_IP
"http://sistemas.fiscaliaveracruz.gob.mx/periciales/public/"
MINISTERIALES_IP
"http://sistemas.fiscaliaveracruz.gob.mx/Ministeriales/public/"
COMPONENTES_IP
"http://sistemas.fiscaliaveracruz.gob.mx/componentes/public/"
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:4gSAN84D6uH859n6bIrFbiFZ51bDng4cdn9di8lzC+k="
APP_DEBUG
"true"
APP_URL
"http://sistemas.fiscaliaveracruz.gob.mx/uipj/public"
LOG_CHANNEL
"uipj"
LOG_SLACK_WEBHOOK_URL
"https://hooks.slack.com/services/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"
UIPJ_CONNECTION
"uipj"
UIPJ_HOST
"192.108.24.141"
UIPJ_PORT
"3306"
UIPJ_DATABASE
"im01"
UIPJ_USERNAME
"siinfony"
UIPJ_PASSWORD
"S11nf0ny"
TELESCOPE_CONNECTION
"telescope"
TELESCOPE_HOST
"192.108.24.141"
TELESCOPE_PORT
"3306"
TELESCOPE_DATABASE
"telescope"
TELESCOPE_USERNAME
"siinfony"
TELESCOPE_PASSWORD
"S11nf0ny"
COMPONENT_CONNECTION
"component"
COMPONENT_HOST
"192.108.24.141"
COMPONENT_PORT
"3306"
COMPONENT_DATABASE
"componente2"
COMPONENT_USERNAME
"siinfony"
COMPONENT_PASSWORD
"S11nf0ny"
UATUIPJ_CONNECTION
"uatuipj"
UATUIPJ_HOST
"localhost"
UATUIPJ_PORT
"3306"
UATUIPJ_DATABASE
"uatuipj"
UATUIPJ_USERNAME
"root"
UATUIPJ_PASSWORD
""
DB_CONNECTION_DESAPARECIDOS
"desaparecidos"
DB_HOST_DESAPARECIDOS
"192.108.24.141"
DB_PORT_DESAPARECIDOS
"3306"
DB_DATABASE_DESAPARECIDOS
"bd_desaparecidos"
DB_USERNAME_DESAPARECIDOS
"siinfony"
DB_PASSWORD_DESAPARECIDOS
"S11nf0ny"
DB_CONNECTION_VRR
"vrr"
DB_HOST_VRR
"192.108.24.141"
DB_PORT_VRR
"3306"
DB_DATABASE_VRR
"bd_vrr"
DB_USERNAME_VRR
"siinfony"
DB_PASSWORD_VRR
"S11nf0ny"
BROADCAST_DRIVER
"pusher"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"localhost"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"192.108.24.106"
MAIL_PORT
"465"
MAIL_USERNAME
"uipj@fiscaliaveracruz.gob.mx"
MAIL_PASSWORD
"pruebauipj"
MAIL_ENCRYPTION
"tls"
MAIL_FROM_ADDRESS
"uipj@fiscaliaveracruz.gob.mx"
PUSHER_APP_ID
"597245"
PUSHER_APP_KEY
"0d827853a16d5ec675cc"
PUSHER_APP_SECRET
"02b2c651b18f9853094f"
PUSHER_APP_CLUSTER
"us2"
MIX_PUSHER_APP_KEY
"0d827853a16d5ec675cc"
MIX_PUSHER_APP_CLUSTER
"us2"
UIPJ_IP
"http://sistemas.fiscaliaveracruz.gob.mx/uipj/public/"
VRR_IP
"http://sistemas.fiscaliaveracruz.gob.mx/vrr/public/"
DESAPARECIDOS_IP
"http://sistemas.fiscaliaveracruz.gob.mx/desaparecidos/public/"
ACUERDOS_IP
"http://sistemas.fiscaliaveracruz.gob.mx/acuerdos/public/"
PERICIALES_IP
"http://sistemas.fiscaliaveracruz.gob.mx/periciales/public/"
MINISTERIALES_IP
"http://sistemas.fiscaliaveracruz.gob.mx/Ministeriales/public/"
COMPONENTES_IP
"http://sistemas.fiscaliaveracruz.gob.mx/componentes/public/"
0. Whoops\Handler\PrettyPageHandler