this post was submitted on 10 Feb 2025
4 points (83.3% liked)

PieFed help

225 readers
11 users here now

It's seems right that we should have a local community to help us all with PieFed

founded 1 year ago
MODERATORS
 

Hey there, thanks a lot for pyfedi it's a really nice addition to the network !

I tried to run the docker install and hit some issues with the database:

db-1            | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted  
db-1            | fixing permissions on existing directory /var/lib/postgresql/data ... 

The problem is that for some reason after cloning the pg folder is owned by root, so it can't change permissions. I had to change owner to 1000 and then the rest of the install procedure went flawlessly !

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 2 days ago (1 children)

What exactly did you do to solve this? I am seeing something similar.

[โ€“] [email protected] 2 points 1 day ago

In the host I had to change the owner to 1000. It was set to root somehow.