Skip to content

Cannot start postgres #560

@ghost

Description

Hello,

branch: dunfell
commit: 7bd47ef
layer.conf: IMAGE_INSTALL_append = " postgresql"

I have created an image where Postgres is installed but cannot be started. More precisely, when I tried to run systemctl start postgresql, an error occurred saying "pg_ctl: directory /var/lib/postgresql/data is not a database cluster directory". The corresponding folder was actually empty.
How should I tackle this?

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