---
title: "TYPO3 – Update mit OpCache – Path Error"
url: "https://www.typo3.net/d/900667-typo3-update-mit-opcache-path-error"
source: "typo3.net"
tags: ["Artikel","Tipp"]
created: "2017-07-27"
last_reply: "2017-07-30"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# TYPO3 – Update mit OpCache – Path Error

Artikel · 2 Antworten · gestartet 2017-07-27

## Eröffnungsbeitrag

**Sebastian Schmal** · 2017-07-27 · [Beitrag #1](https://www.typo3.net/d/900667-typo3-update-mit-opcache-path-error/1)

Die neuen Server-System sind oft mit PHP7 und OpCache oder APC-Cache aufgebaut. Daher kann es bei einem TYPO3-Core Update zu Problemen mit dem Server-Cache kommen.
Bei einem TYPO3_Update hat der Server noch die alten Source-Dateien im Server-Cache und gibt diese aus, anstatt die neuen TYPO3 Dateien.

**Dann kann es zu einem Path Error Fehlerausgabe kommen:**

> TYPO3 Error message „Calculated absolute path to tslib directory does not exist“
>
> Calculated absolute path to tslib directory does not exist.
>
> Something in the main file, folder and link structure is wrong and must be fixed! A typical document root contains a couple of symbolic links:
>
> * A symlink „typo3_src“ pointing to the TYPO3 CMS core.
> * A symlink „typo3“ – the backend entry point – pointing to „typo3_src/typo3“
> * A symlink „index.php“ – the frontend entry point – points to „typo3_src/index.php“

Hier erst einmal keine Angst haben 😉 Als ersten Schritt auf jeden Fall noch mal genau die Symlinks prüfen und schauen das der Aufbau in etwa so aussieht:

> typo3_src-8.x.x/
> htdocs/typo3_src -> ../typo3_src-8.x.x/
> htdocs/typo3 -> typo3_src/typo3/
> htdocs/index.php -> typo3_src/index.php
> htdocs/.htaccess

Und zusätzlich nun im Root oder Fileadmin Verzeichnis folgende PHP Datei ablegen:
cache.php

```php
<?php
opcache_reset();
?>
```

Die Datei nun im Browser aufrufen und schon löscht Ihr von „außen“ den OpCache!

*Ursprünglich erschienen am 27.07.2017 auf typo3-probleme.de.*

## Antworten

### [#2](https://www.typo3.net/d/900667-typo3-update-mit-opcache-path-error/2) · Unbekannter Benutzer · 2017-07-28

*Ein Leser schrieb:*

Hallo,

danke für den Tipp. Aktuell nutze ich recht häufig die Update-Funktion über das Installtool somit habe ich den Button für OpCache löschen gleich mit drin 🙂 aber falls das Installtool mal versagt ne gute alternative.

Beste Grüße

### [#3](https://www.typo3.net/d/900667-typo3-update-mit-opcache-path-error/3) · Unbekannter Benutzer · 2017-07-30

*Ein Leser schrieb:*

Aber wenn du z.B. von 7 auf die 8 ein Update macht, kommt man nicht immer direkt ins Install-Backend-Tool. Daher braucht den Externen Clear 😉 Danke dir für die Anleitung.

---

Quelle: „TYPO3 – Update mit OpCache – Path Error“, typo3.net, https://www.typo3.net/d/900667-typo3-update-mit-opcache-path-error
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
