Announcement

Collapse
No announcement yet.

Cache error (6.1.7)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cache error (6.1.7)

    Sometimes in log (about twice a day)

    [2021-05-20 15:37:26] WARNING: E_WARNING: mkdir(): File exists {"code":2,"message":"mkdir(): File exists","file":"/home/work/public_html/application/Espo/Core/Utils/File/Manager.php","line":534} []
    [2021-05-20 15:37:26] ERROR: (500) Permission denied: unable to create a folder on the server - data/cache/application/acl; GET /Activities/action/listUpcoming; line: 660, file: /home/work/public_html/application/Espo/Core/Utils/File/Manager.php [] []


    After that some time later:
    [2021-05-20 16:58:46] ERROR: Slim Application Error Type: Error Code: 0 Message: Call to undefined method Espo\Core\Repositories\Database::getEntityReminder List() File: /home/work/public_html/application/Espo/Modules/Crm/Services/Task.php Line: 47 Trace: #0 /home/work/public_html/application/Espo/Modules/Crm/Services/Task.php(42): Espo\Modules\Crm\Services\Task->loadRemindersField(Object(Espo\Modules\Crm\Entiti es\Task)) #1 /home/work/public_html/application/Espo/Services/Record.php(418): Espo\Modules\Crm\Services\Task->loadAdditionalFields(Object(Espo\Modules\Crm\Enti ties\Task)) #2 /home/work/public_html/application/Espo/Services/Record.php(393): Espo\Services\Record->getEntity('60a66694495b23a...') #3 /home/work/public_html/application/Espo/Core/Controllers/Record.php(69): Espo\Services\Record->read('60a66694495b23a...') #4 /home/work/public_html/application/Espo/Core/ControllerManager.php(106): Espo\Core\Controllers\Record->actionRead(Array, '', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #5 /home/work/public_html/application/Espo/Core/Api/RouteProcessor.php(84): Espo\Core\ControllerManager->process('Task', 'read', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #6 /home/work/public_html/application/Espo/Core/ApplicationRunners/Api.php(184): Espo\Core\Api\RouteProcessor->process('/{controller}/{...', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #7 /home/work/public_html/application/Espo/Core/ApplicationRunners/Api.php(112): Espo\Core\ApplicationRunners\Api->processRequest(Array, Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper), Array) #8 /home/work/public_html/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(43): Espo\Core\ApplicationRunners\Api->Espo\Core\ApplicationRunners\{closure}(Object(Sli m\Psr7\Request), Object(Slim\Psr7\Response), Array) #9 /home/work/public_html/vendor/slim/slim/Slim/Routing/Route.php(381): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #10 /home/work/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Slim\Psr7\Request)) #11 /home/work/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #12 /home/work/public_html/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #13 /home/work/public_html/vendor/slim/slim/Slim/Routing/RouteRunner.php(84): Slim\Routing\Route->run(Object(Slim\Psr7\Request)) #14 /home/work/public_html/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(60): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request)) #15 /home/work/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(140): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner)) #16 /home/work/public_html/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): class@anonymous->handle(Object(Slim\Psr7\Request)) #17 /home/work/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(140): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous)) #18 /home/work/public_html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): class@anonymous->handle(Object(Slim\Psr7\Request)) #19 /home/work/public_html/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #20 /home/work/public_html/vendor/slim/slim/Slim/App.php(199): Slim\App->handle(Object(Slim\Psr7\Request)) #21 /home/work/public_html/application/Espo/Core/ApplicationRunners/Api.php(94): Slim\App->run() #22 /home/work/public_html/application/Espo/Core/Application.php(95): Espo\Core\ApplicationRunners\Api->run() #23 /home/work/public_html/api/v1/index.php(37): Espo\Core\Application->run('Espo\\Core\\Appli...') #24 {main} Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor. [] []

    After clearing cache all ok.

    What's wrong?
    Permissions OK,
    In config:
    'defaultPermissions' => [
    'user' => 529,
    'group' => 525
    ]
Working...
X