Bug #84654

If problem with creation of logger, an Exception is thrown: A cache with identifier "assets" does not exist

Added by Sybille Peters over 1 year ago. Updated 11 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Logging
Target version:
-
Start date:
2018-04-07
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Reproduced with current master (9.2-dev).

Reproduce

  1. Create logging configuration that uses typo3temp/logs for Logger
  2. Remove write access for typo3temp/logs for Webserver `chmod 440 typo3temp/logs`
  3. Reload backend, click "Log module"

(same scenario as in issue #84646)

Exception

Configuration in AdditionalConfiguration.php

$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'] = [
  \TYPO3\CMS\Core\Log\LogLevel::ERROR => [
      'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => [
      'logFile' => 'typo3temp/logs/typo3-error.log'
    ]
  ],
  \TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
    'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => [
      'logFile' => 'typo3temp/logs/typo3-debug.log'
    ]
  ]    
];

exception-assets.png View (313 KB) Sybille Peters, 2018-04-07 06:08


Related issues

Related to TYPO3 Core - Bug #84646: Exception in ErrorHandler if problem instantiating logger (Reboustness) Closed 2018-04-06

History

#1 Updated by Sybille Peters over 1 year ago

  • Related to Bug #84646: Exception in ErrorHandler if problem instantiating logger (Reboustness) added

#2 Updated by Jonas Eberle 26 days ago

I second that. We should try to find out if e.g. write permissions are causing the problem and show a more helping text in that case.

#3 Updated by Henri Nathanson 11 days ago

Perhaps one should not delete the files in /var/log/.. manually. Truncation of cf_ - tables fixed this.

Also available in: Atom PDF