ImmichI
Immich7mo ago
10 replies
Matthijs

Fresh install on MacOS postgres not coming up

Hi!
I am doing a fresh install on MacOS. My postgres container does not come up.
I am using the default .env file.

This is what I see in the logs:

Using SSD storage
chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are enabled.

initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
Was this page helpful?