openembedded/meta-openembedded

Cannot start postgres

Opened this issue · 0 comments

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?