Skip to content

Missing route home during fresh install causes fatal error (Route [home] not defined) in official Docker image #238

@benhz

Description

@benhz

Using the official Docker image for a fresh Lychee installation results in a fatal exception:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route [home] not defined.

This occurs on every clean installation and breaks the setup UI.

How to reproduce
1. Deploy lycheeorg/lychee:latest using Docker / Podman.
2. Configure any external database (PostgreSQL / MySQL / SQLite — does not matter).
3. Start the container.
4. Visit / or /home.

A 500 error occurs immediately.

Root cause
• During installation Lychee loads only routes/web-install.php.
• However, installation views still call route('home').
• No route named home exists in any route file.

This leads to a fatal RouteNotFoundException.

Environment
• Lychee 6.10.0
• Branch: master
• Docker: lycheeorg/lychee:latest
• Error reproducibility: 100%

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions