Repository navigation
Latest Version not working with Postgres #463
Description
Activity
- changed the title
[-]Latest Version not working with Postgers[/-][+]Latest Version not working with Postgres[/+]on Mar 12, 2026 same for me
I am running latest postgres v.18 and have the same issueA new
4.1.99orlatestwill fix - Didn't include the right binaries in this release. Should be ready within 2hrs.The version
4.1.99doesn't include the binaries.My workaround:
FROM public.ecr.aws/docker/library/postgres:18.3-alpine@sha256:4da1a4828be12604092fa55311276f08f9224a74a62dcb4708bd7439e2a03911 AS pgsql FROM ghcr.io/tiredofit/docker-db-backup:4.1.99@sha256:d547726ad13079fb1441b1d21f85f043a634cfeda1e013101ca8ba1fc3cf838e RUN set -ex; \ apk upgrade --no-cache COPY --from=pgsql /usr/local/bin/* /usr/local/bin/Reacted by Dave ConroyClever, repull
4.1.99orlatestand all should be well.Hmm, something is still wrong I think.
I pulled
ghcr.io/tiredofit/docker-db-backup:latestjust in case it was some weird caching with4.1.99since I had pulled that already, I also set theimagePullPolicy: Alwaysas well.in K8s:
ls -ls /usr/local/bin/ total 13960 40 -rwxr-xr-x 1 root root 38816 Mar 27 2024 envsubst 4 -rwxr-xr-x 1 root root 962 Mar 12 12:01 logrotate_dbbackup 40 -rwxr-xr-x 1 root root 38868 Mar 12 12:01 restore 13876 -rwxr-xr-x 1 root root 14206295 Jan 21 2025 yqlocally: (I never had the image locally, so no cache)
docker run -it --entrypoint /bin/bash --rm ghcr.io/tiredofit/docker-db-backup:latest find / -iname "psql" 5250e23f65bb:/# which mysql /usr/bin/mysql 5250e23f65bb:/# which psgql 5250e23f65bb:/# which psql
I would just cut a .100 tag personally, re-using tags causes all kinds of trouble but even if we ignore that I don't think this worked, or maybe I missed something?
Ok strange. Will look in AM have come down with an illness and that's not great for troubleshooting :)
The image on ghcr.io isn't updated, just the one from docker hub:
$ docker pull ghcr.io/tiredofit/docker-db-backup:4.1.99 4.1.99: Pulling from tiredofit/docker-db-backup Digest: sha256:d547726ad13079fb1441b1d21f85f043a634cfeda1e013101ca8ba1fc3cf838e Status: Image is up to date for ghcr.io/tiredofit/docker-db-backup:4.1.99 ghcr.io/tiredofit/docker-db-backup:4.1.99but
$ docker pull tiredofit/db-backup:4.1.99 4.1.99: Pulling from tiredofit/db-backup Digest: sha256:f58e73758ad83987d2d3696bb04edf2bb9e37af1f9d5d1ae95f60e58ae0b1512 Status: Image is up to date for tiredofit/db-backup:4.1.99 docker.io/tiredofit/db-backup:4.1.99 $Edit: indeed, the one from docker hub has the binaries:
$ docker run --rm -it --entrypoint "" tiredofit/db-backup:4.1.99 ls -lashi /usr/local/bin total 32M 32748916 0 drwxr-xr-x 1 root root 50 Mar 13 03:33 . 32748915 0 drwxr-xr-x 1 root root 6 Mar 13 03:33 .. 32727777 120K -rwxr-xr-x 1 root root 118K Mar 13 03:41 clusterdb 32727778 120K -rwxr-xr-x 1 root root 118K Mar 13 03:41 createdb 32727779 120K -rwxr-xr-x 1 root root 119K Mar 13 03:41 createuser 32727780 116K -rwxr-xr-x 1 root root 114K Mar 13 03:41 dropdb 32727781 116K -rwxr-xr-x 1 root root 114K Mar 13 03:41 dropuser 32727782 888K -rwxr-xr-x 1 root root 887K Mar 13 03:41 ecpg 32709532 40K -rwxr-xr-x 1 root root 38K Mar 27 2024 envsubst 32727783 216K -rwxr-xr-x 1 root root 215K Mar 13 03:41 initdb 32748917 4.0K -rwxr-xr-x 1 root root 962 Mar 13 03:33 logrotate_dbbackup 32727784 64K -rwxr-xr-x 1 root root 61K Mar 13 03:41 oid2name 32727785 152K -rwxr-xr-x 1 root root 149K Mar 13 03:41 pg_amcheck 32727786 60K -rwxr-xr-x 1 root root 58K Mar 13 03:41 pg_archivecleanup 32727787 216K -rwxr-xr-x 1 root root 215K Mar 13 03:41 pg_basebackup 32727788 96K -rwxr-xr-x 1 root root 96K Mar 13 03:41 pg_checksums 32727789 188K -rwxr-xr-x 1 root root 187K Mar 13 03:41 pg_combinebackup 32727790 60K -rwxr-xr-x 1 root root 60K Mar 13 03:41 pg_config 32727791 76K -rwxr-xr-x 1 root root 74K Mar 13 03:41 pg_controldata 32727792 152K -rwxr-xr-x 1 root root 152K Mar 13 03:41 pg_createsubscriber 32727793 92K -rwxr-xr-x 1 root root 89K Mar 13 03:41 pg_ctl 32727794 532K -rwxr-xr-x 1 root root 530K Mar 13 03:41 pg_dump 32727795 300K -rwxr-xr-x 1 root root 298K Mar 13 03:41 pg_dumpall 32727796 116K -rwxr-xr-x 1 root root 113K Mar 13 03:41 pg_isready 32727797 128K -rwxr-xr-x 1 root root 127K Mar 13 03:41 pg_receivewal 32727798 128K -rwxr-xr-x 1 root root 126K Mar 13 03:41 pg_recvlogical 32727799 92K -rwxr-xr-x 1 root root 89K Mar 13 03:41 pg_resetwal 32727800 284K -rwxr-xr-x 1 root root 281K Mar 13 03:41 pg_restore 32727801 216K -rwxr-xr-x 1 root root 214K Mar 13 03:41 pg_rewind 32727802 64K -rwxr-xr-x 1 root root 63K Mar 13 03:41 pg_test_fsync 32727803 56K -rwxr-xr-x 1 root root 56K Mar 13 03:41 pg_test_timing 32727804 248K -rwxr-xr-x 1 root root 246K Mar 13 03:41 pg_upgrade 32727805 160K -rwxr-xr-x 1 root root 160K Mar 13 03:41 pg_verifybackup 32727806 140K -rwxr-xr-x 1 root root 138K Mar 13 03:41 pg_waldump 32727807 84K -rwxr-xr-x 1 root root 84K Mar 13 03:41 pg_walsummary 32727808 252K -rwxr-xr-x 1 root root 250K Mar 13 03:41 pgbench 32727809 12M -rwxr-xr-x 1 root root 12M Mar 13 03:41 postgres 32727810 1.1M -rwxr-xr-x 1 root root 1.1M Mar 13 03:41 psql 32727811 124K -rwxr-xr-x 1 root root 123K Mar 13 03:41 reindexdb 32748918 40K -rwxr-xr-x 1 root root 38K Mar 13 03:33 restore 32727812 136K -rwxr-xr-x 1 root root 136K Mar 13 03:41 vacuumdb 32727813 60K -rwxr-xr-x 1 root root 58K Mar 13 03:41 vacuumlo 32709533 14M -rwxr-xr-x 1 root root 14M May 5 2025 yqLooks fine for me, except for this error that came up after the latest update last night
[databases-backup] 2026-03-14T01:17:49.710892821Z 2026-03-14.12:17:49 [INFO] ** [06-sonarr-postgres__sonarr] Next Backup at 2026-03-14 12:17:49 AEDT [databases-backup] 2026-03-14T01:17:49.916791996Z 2026-03-14.12:17:49 [NOTICE] ** [06-sonarr-postgres__sonarr] Dumping all PostgreSQL databases: 'sonarr' and compressing with 'zstd' [databases-backup] 2026-03-14T01:17:50.682399527Z 2026-03-14.12:17:50 [INFO] ** [07-seerr-postgres__seerr] Next Backup at 2026-03-15 00:25:00 AEDT [databases-backup] 2026-03-14T01:17:56.603805531Z 2026-03-14.12:17:56 [INFO] ** [06-sonarr-postgres__sonarr] DB Backup of 'pgsql_all_sonarr-postgres_20260314-121749.sql.zst' completed successfully [databases-backup] 2026-03-14T01:17:56.632213186Z 2026-03-14.12:17:56 [NOTICE] ** [06-sonarr-postgres__sonarr] Generating SHA1 sum for 'pgsql_all_sonarr-postgres_20260314-121749.sql.zst' [databases-backup] 2026-03-14T01:17:56.744041682Z 2026-03-14.12:17:56 [NOTICE] ** [06-sonarr-postgres__sonarr] Backup of 'pgsql_all_sonarr-postgres_20260314-121749.sql.zst' created with the size of 543824 bytes [databases-backup] 2026-03-14T01:17:56.873456459Z ln: failed to create symbolic link '/backup/postgres/sonaarr/latest-pgsql__sonarr-postgres': I/O error [databases-backup] 2026-03-14T01:17:56.960771999Z 2026-03-14.12:17:56 [NOTICE] ** [06-sonarr-postgres__sonarr] DB Backup for 'all' time taken: Hours: 0 Minutes: 00 Seconds: 07 [databases-backup] 2026-03-14T01:17:56.986145999Z 2026-03-14.12:17:56 [INFO] ** [06-sonarr-postgres__sonarr] Cleaning up old backups on filesystem [databases-backup] 2026-03-14T01:17:57.018279153Z 2026-03-14.12:17:57 [INFO] ** [06-sonarr-postgres__sonarr] Backup 06 routines finish time: 2026-03-14 12:17:57 AEDT with exit code 0- locked and limited conversation to collaborators
on Sep 4, 2026
Summary
Unable to take a postgres backup pushing to Google Storage using HMAC keys.
Steps to reproduce
backup-now
2026-03-12.17:31:18 [INFO] ** [db-backup01] Starting Manual Backup for db-backup01
sudo: pg_isready: command not found
2026-03-12.17:31:24 [WARN] ** [01-dashboard-v2-6-0-pgbouncer.postgres-operator.svc__dashboard] Postgres Host 'dashboard-v2-6-0-pgbouncer.postgres-operator.svc' is not accessible, retrying.. (5 seconds so far)
sudo: pg_isready: command not found
What is the expected correct behavior?
Working Backup pushed to GCS/S3.
Relevant logs and/or screenshots
Env below. Redacted some of the more noisy irrelevant entries
Environment
Kubernetes Cluster
I would also add the DB is up and running and supporting a live application so the connection logs are likely invalid or something changed and my config is wrong somehow. The last working version I had running was: 4.1.19.