---
# SPDX-License-Identifier: CC-BY-SA-4.0
# SPDX-FileCopyrightText: Netresearch DTT GmbH
name: typo3-project-upgrade
description: "Use when upgrading a deployed TYPO3 project/instance to a new LTS version (v14.3 LTS is the current target, released 2026-04-21) — migrating site configuration, TypoScript, templates, Docker infrastructure, and database. Includes #109585 post-upgrade wizard and Camino theme migration. Not for extension code upgrades (use typo3-extension-upgrade instead)."
title: typo3-project-upgrade
canonical_url: https://skilld.dev/gh/netresearch/typo3-project-upgrade-skill
last_updated: 2026-11-20T18:30:24.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [checkpoints.yaml](https://skilld.dev/api/skills-raw/netresearch/typo3-project-upgrade-skill/typo3-project-upgrade/checkpoints.yaml), [evals/evals.json](https://skilld.dev/api/skills-raw/netresearch/typo3-project-upgrade-skill/typo3-project-upgrade/evals/evals.json), [references/v13-to-v14-project-upgrade.md](https://skilld.dev/api/skills-raw/netresearch/typo3-project-upgrade-skill/typo3-project-upgrade/references/v13-to-v14-project-upgrade.md).
>
> If the user asked to install this Skill, run `npx skilld install netresearch/typo3-project-upgrade-skill/typo3-project-upgrade`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/typo3-project-upgrade`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/netresearch/typo3-project-upgrade-skill/typo3-project-upgrade) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/typo3-project-upgrade`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/typo3-project-upgrade --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/typo3-project-upgrade --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# TYPO3 Project Upgrade

Phases: **Inventory** -> **Infrastructure** -> **Site Sets** -> **Visual Parity** -> **Review** (+ **Phase 6** for v14 targets)

## Phase 1: Inventory

Query sys_template (uid, pid, root, include_static_file), tt_content CType distribution, extension list. Document all root=1 templates and their TypoScript constants/config.

## Phase 2: Infrastructure

**ImageMagick required** — without it, ALL images serve unprocessed originals (10-30x size). Install in Docker, configure GFX processor in `config/system/settings.php`, then `TRUNCATE sys_file_processedfile`, `rm -rf public/fileadmin/_processed_/*`, `cache:flush`.

## Phase 3: sys_template to Site Sets (v13+)

Structure: `packages/my-site/Configuration/Sets/MySite/` with config.yaml, settings.yaml, setup.typoscript.

**config.yaml**: name, label, dependencies (e.g. `bootstrap-package/full`).

**Site config** (`config/sites/default/config.yaml`): add `dependencies: [vendor/my-site]`.

**CRITICAL**: `DELETE FROM sys_template` — ALL records. A surviving root=1 template with `include_static_file` overrides site sets, causing "No page configured for type=0". Common mistake: only checking `config` column while `include_static_file` also conflicts.

**settings.yaml** — map old constants (page.logo.file, page.theme.navigation.style, page.theme.breadcrumb.enable) directly.

### SCSS Variable Injection

BS Package injects ALL `plugin.bootstrap_package.settings.scss.*` as SCSS variables — even unlisted ones. Prefer over CSS overrides:

```yaml
plugin.bootstrap_package.settings.scss.primary: '#585961'
plugin.bootstrap_package.settings.scss.secondary: '#2f99a4'
plugin.bootstrap_package.settings.scss.link-decoration: 'none'
plugin.bootstrap_package.settings.scss.min-contrast-ratio: '3'
```

Check BS5 `_variables.scss` for available `!default` variables.

### Per-Page Behavior

Replace per-page sys_templates with TypoScript conditions: `[traverse(page, "uid") == 99]`.

## Phase 4: BS Package v12-v16 / BS4-BS5

**Color contrast**: `min-contrast-ratio: 4.5` (BS5 default) changes text colors vs v11. Set to `3` to restore v11 behavior.

**Cards in colored frames** inherit white text (invisible on white bg). Fix with CSS custom properties:

```css
.frame-background-secondary .card {
    --frame-color: var(--bs-body-color);
}
```

**Navigation**: split `<a>` into `<a class="nav-link-main">` + `<button class="nav-link-toggle">` (accessibility). Hover dropdowns removed — restore with `:hover > .dropdown-menu { display: block }` scoped to nav-style-simple/mega.

**Scroll flicker** ([#1468](https://github.com/benjaminkott/bootstrap_package/issues/1468)): sticky navbar transition changes document height. Fix with `margin-bottom` compensation (default-height minus transition-height).

**Accept**: split nav link/button, data-bs-*, 3 skip links, individual JS/CSS, frame-height-default class.

## Phase 5: Review

Compare old/new sites with curl (HTTP status, content element IDs, frame classes, _processed_ count). Categorize differences as **MIGRATION GAP** (fix), **BS5 CHANGE** (accept), or **CSS OVERRIDE** (document why).

**DB fixes**: carousel autoplay (BS Package v16 defaults off) via pi_flexform UPDATE.

## Phase 6: v14 post-upgrade

- **#109585 wizard** (if instance ever ran v14.2): Install Tool → Upgrade Wizards
- **EXT:form file-to-database wizard** (#108653) is invisible to `upgrade:list` on the CLI; migrate with `form:definition:transfer` instead
- **`composer.json` required** in classic mode (#108310)
- **HMAC rotation** SHA1 → SHA256 (#106307)
- **Camino theme** optional (v14.1+, #108539)

See `references/v13-to-v14-project-upgrade.md`.

## Common Mistakes

| Mistake | Fix |
|---|---|
| CSS hacks instead of SCSS variables | Override via `plugin.bootstrap_package.settings.scss.*` |
| Partial sys_template cleanup | `DELETE FROM sys_template` (all columns matter) |
| Missing ImageMagick in Docker | 10-30x image file sizes |
| Fighting BS5 accessibility | Accept split nav, skip links, semantic HTML |
| position:fixed for scroll flicker | Use margin-bottom compensation |
| Hot-fixing a `Services.yaml` / constructor change by copying vendor files | `composer update <package>` + `typo3 extension:setup` (reference § 2) |
