postgres not found
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
Research direction
Start with the reported postgres:14 Compose service and /usr/local/bin/docker-entrypoint.sh at line 351, then reproduce the container failure and inspect the reported command-not-found condition. Done means identifying a reproducible cause for the missing postgres executable and documenting a confirmed resolution.
Written by the indexing model from the issue text.
Description
Hi all, this has just started happening and I have no idea where to start to resolve it as I have been running the same image on 3 containers (different stacks) for over a year.
The image I've been using is postgres:14
However recently I've been getting this
postgres-lube |
postgres-lube | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres-lube |
postgres-lube | /usr/local/bin/docker-entrypoint.sh: line 351: exec: postgres: not found
postgres-lube exited with code 127
Compose YML
postgres:
container_name: postgres-lube
image: postgres:14
restart: unless-stopped
networks:
- lubelogger
environment:
POSTGRES_USER: "l****"
POSTGRES_PASSWORD: "l*****"
POSTGRES_DB: "lubelogger"
volumes:
- /home/docker/lubelogger/pgdata/data:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
This has been plaguing me for a number of days now.
- Dominant language
- Shell
- Stars
- 2.5k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from docker-library/postgres
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
docker-library/postgres#1420 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
docker-library/postgres#1419 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker-library/postgres#1389 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
docker-library/postgres#1356 · 5 comments · 7 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
docker-library/postgres#1355 · 10 comments · 11 reactions ·
All issues in docker-library/postgres
Similar issues
-
area:release bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
registrystack/registry-stack#1874 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AppImage/appimage.github.io#9676 ·
Maintainers usually reply within 1 day
-
Link Checker ReportOpenautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
a2aproject/A2A#2289 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
YunoHost-Apps/pixelfed_ynh#346 ·