Skip to content

Symfony Runtime is missing #2610

@davidreyg

Description

@davidreyg

API Platform version(s) affected: x.y.z

Description

In a fresh install of api-platform, can't run docker compose up

20231014) 13.2.1 20231014, 64-bit
api-platform-database-1  | 2023-12-29 13:10:01.684 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
api-platform-database-1  | 2023-12-29 13:10:01.684 UTC [1] LOG:  listening on IPv6 address "::", port 5432
api-platform-database-1  | 2023-12-29 13:10:01.686 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
api-platform-database-1  | 2023-12-29 13:10:01.690 UTC [24] LOG:  database system was shut down at 2023-12-29 13:09:17 UTC
api-platform-database-1  | 2023-12-29 13:10:01.695 UTC [1] LOG:  database system is ready to accept connections
api-platform-php-1       | Waiting for database to be ready...
api-platform-php-1       | The database is not up or not reachable:
api-platform-php-1       | PHP Fatal error:  Uncaught LogicException: Symfony Runtime is missing. Try running "composer require symfony/runtime". in /app/bin/console:8

How to reproduce

1.just download or clone the repo.
2. docker compose build --no-cache
3. docker compose up --wait
Possible Solution

I cant't see the problem. Don't have apache or nginx or pgsql
Additional Context

O.S : Linux Mint
Api Platform Version: 3.2.10
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions