postgresql-11 (11.7-0+deb10u1) ownership issue while installing
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.1k
- Forks
- 276
- PR merge metrics
- No merged PRs in 30d
Description
postgresql-11 (11.7-0+deb10u1) package contain special bootstrap script, which fails with The following error.
running bootstrap script ... 2020-06-28 17:26:11.493 UTC [11301] FATAL: data directory "/var/lib/postgresql/11/main" has wrong ownership
2020-06-28 17:26:11.493 UTC [11301] HINT: The server must be started by the user that owns the data directory.
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/11/main"
Error: initdb failed
Error: could not create default cluster. Please create it manually with
pg_createcluster 11 main --start
or a similar command (see 'man pg_createcluster').
I have used Debian Buster aarch64. And I have installed The following packages.
apt-get install postgresql-11 postgresql-11-postgis-2.5 postgresql-11-pgrouting
I can not use Arch Linux, because there are not The packages, which I need, so I must use Debian.
Because building C code of some packages on The phone with Proot can take mana y minutes, so I have given it up.
Do you think, that server databases related packages can work from Proot and Termux? Or no?
Dynamic shared memory is being used so I do nnot know, if it will not cause AN issues even if I will use android-shmem.so.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the listed apt-get install of PostgreSQL 11, PostGIS, and pgRouting on Debian Buster aarch64 under Proot and Termux. Inspect ownership of /var/lib/postgresql/11/main during the bootstrap failure and determine whether the result is a Proot compatibility bug or a package issue; done means a confirmed cause and a documented supported or unsupported outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, debian, linux, postgresql
- Domain
- databases, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100