Project

General

Profile

Actions

Task #88927

closed

The temporary cache file ... could not be written

Added by Christoph Lehmann over 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2019-08-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

TYPO3\CMS\Core\Cache\Exception: The temporary cache file "/var/www/.../typo3temp/var/Cache/Code/cache_core/5d499dd925221994946712.temp" could not be written.
  File "typo3_src-8.7.27/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php", line 233, in set
    throw new \TYPO3\CMS\Core\Cache\Exception('The temporary cache file "' . $temporaryCacheEntryPathAndFilename . '" could not be written.', 1334756737);
  File "typo3_src-8.7.27/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php", line 64, in set
    $this->backend->set($entryIdentifier, $sourceCode, $tags, $lifetime);
  File "typo3_src-8.7.27/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php", line 1822, in createBaseTcaCacheFile
    . ';'
  File "typo3_src-8.7.27/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php", line 1710, in loadBaseTca
    static::createBaseTcaCacheFile();
  File "typo3_src-8.7.27/typo3/sysext/core/Classes/Core/Bootstrap.php", line 966, in loadBaseTca
    ExtensionManagementUtility::loadBaseTca($allowCaching);
...
(6 additional frame(s) were not displayed)

It may be a race condition due to parallel requests and should be handle more friendly: "Okay, a temporary error, but go on"


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Story #81432: Replace TYPO3 caching solution with PSR-6 / Doctrine capable alternativeClosed2017-06-02

Actions
Related to TYPO3 Core - Bug #91768: Race condition while caching data using SimpleFileBackendUnder Review2020-07-08

Actions
Actions

Also available in: Atom PDF