sameersbn / docker-postgresql

Dockerfile to build a PostgreSQL container image which can be linked to other containers.
MIT License
1.05k stars 467 forks source link

Fix permission error on Synology NAS #125

Open ian0371 opened 5 years ago

ian0371 commented 5 years ago

There were two bugs when trying to run the image on Synology NAS (DSM 6.2.1-23824 Update 4): 1) initdb failed because the permission of ${PG_HOME} was 000, and 2) sed -i failed because sed internally could not generate temporary files

It now works fine on Synology NAS and Ubuntu 16.04 (with sameersbn/docker-gitlab).

thopiekar commented 3 years ago

Hello @ian0371, this is not fixing the same bug as in my #145 , right?

ian0371 commented 3 years ago

@thopiekar I think they're different, but I can't be sure as this was a long time ago and I don't really remember the details.

thopiekar commented 3 years ago

Btw. Did you ever manage to upgrade your database? I'm stuck at v9 😐