[BUG][DOCKER] после апдейта не стартует #461

Closed
opened 2026-04-05 16:16:31 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @zdv1g on 9/27/2025

Перекатывался с 1.13 версии на свежую

как повторить:
ставим через докер 1.13 стартуем далее пул docker-compose pull на последнюю (1.21) версию и кусь

2025-09-27 11:25:53.090 UTC [9] LOG:  starting PostgreSQL 17.6 (Debian 17.6-2.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit
2025-09-27 11:25:53.090 UTC [9] LOG:  listening on IPv4 address "127.0.0.1", port 5437
2025-09-27 11:25:53.090 UTC [9] LOG:  could not bind IPv6 address "::1": Cannot assign requested address
2025-09-27 11:25:53.091 UTC [9] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5437"
2025-09-27 11:25:53.093 UTC [24] LOG:  database system was interrupted; last known up at 2025-09-27 11:25:27 UTC
2025-09-27 11:25:53.954 UTC [24] LOG:  database system was not properly shut down; automatic recovery in progress
2025-09-27 11:25:53.955 UTC [24] LOG:  redo starts at 0/72A45570
2025-09-27 11:25:53.955 UTC [24] LOG:  invalid record length at 0/72A46060: expected at least 24, got 0
2025-09-27 11:25:53.955 UTC [24] LOG:  redo done at 0/72A45FF0 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
2025-09-27 11:25:53.955 UTC [22] LOG:  checkpoint starting: end-of-recovery immediate wait
2025-09-27 11:25:53.959 UTC [22] LOG:  checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.002 s, total=0.004 s; sync files=3, longest=0.001 s, average=0.001 s; distance=2 kB, estimate=2 kB; lsn=0/72A46060, redo lsn=0/72A46060
2025-09-27 11:25:53.961 UTC [9] LOG:  database system is ready to accept connections
PostgreSQL is ready!
Setting up database and user...
ALTER ROLE
Starting Postgresus application...
time="2025/09/27 11:25:54" msg="Text structured logger initialized"
time="2025/09/27 11:25:54" msg="Running database migrations..."
time="2025/09/27 11:25:54" msg="Trying to load .env" path=/app/.env
time="2025/09/27 11:25:54" msg="Successfully loaded .env" path=/app/.env
time="2025/09/27 11:25:54" msg="ENV_MODE loaded" mode=production
time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=13 path=/usr/lib/postgresql/13/bin
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=13 path=/usr/lib/postgresql/13/bin/pg_dump
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=13
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=13 path=/usr/lib/postgresql/13/bin/psql
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=13
time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=13 path=/usr/lib/postgresql/13/bin
time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=14 path=/usr/lib/postgresql/14/bin
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=14 path=/usr/lib/postgresql/14/bin/pg_dump
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=14
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=14 path=/usr/lib/postgresql/14/bin/psql
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=14
time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=14 path=/usr/lib/postgresql/14/bin
time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=15 path=/usr/lib/postgresql/15/bin
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=15 path=/usr/lib/postgresql/15/bin/pg_dump
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=15
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=15 path=/usr/lib/postgresql/15/bin/psql
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=15
time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=15 path=/usr/lib/postgresql/15/bin
time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=16 path=/usr/lib/postgresql/16/bin
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=16 path=/usr/lib/postgresql/16/bin/pg_dump
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=16
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=16 path=/usr/lib/postgresql/16/bin/psql
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=16
time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=16 path=/usr/lib/postgresql/16/bin
time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=17 path=/usr/lib/postgresql/17/bin
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=17 path=/usr/lib/postgresql/17/bin/pg_dump
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=17
time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=17 path=/usr/lib/postgresql/17/bin/psql
time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=17
time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=17 path=/usr/lib/postgresql/17/bin
time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=18 path=/usr/lib/postgresql/18/bin
time="2025/09/27 11:25:54" msg="PostgreSQL bin directory not found. Please ensure PostgreSQL client tools are installed." version=18 path=/usr/lib/postgresql/18/bin

Компос файлик

version: "3"

services:
  postgresus:
    container_name: postgresus
    image: rostislavdugin/postgresus:latest
    ports:
      - "4005:4005"
    volumes:
      - ./postgresus-data:/postgresus-data
    restart: unless-stopped
*Originally created by @zdv1g on 9/27/2025* Перекатывался с 1.13 версии на свежую как повторить: ставим через докер 1.13 стартуем далее пул ```docker-compose pull``` на последнюю (1.21) версию и кусь ``` 2025-09-27 11:25:53.090 UTC [9] LOG: starting PostgreSQL 17.6 (Debian 17.6-2.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit 2025-09-27 11:25:53.090 UTC [9] LOG: listening on IPv4 address "127.0.0.1", port 5437 2025-09-27 11:25:53.090 UTC [9] LOG: could not bind IPv6 address "::1": Cannot assign requested address 2025-09-27 11:25:53.091 UTC [9] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5437" 2025-09-27 11:25:53.093 UTC [24] LOG: database system was interrupted; last known up at 2025-09-27 11:25:27 UTC 2025-09-27 11:25:53.954 UTC [24] LOG: database system was not properly shut down; automatic recovery in progress 2025-09-27 11:25:53.955 UTC [24] LOG: redo starts at 0/72A45570 2025-09-27 11:25:53.955 UTC [24] LOG: invalid record length at 0/72A46060: expected at least 24, got 0 2025-09-27 11:25:53.955 UTC [24] LOG: redo done at 0/72A45FF0 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s 2025-09-27 11:25:53.955 UTC [22] LOG: checkpoint starting: end-of-recovery immediate wait 2025-09-27 11:25:53.959 UTC [22] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.002 s, total=0.004 s; sync files=3, longest=0.001 s, average=0.001 s; distance=2 kB, estimate=2 kB; lsn=0/72A46060, redo lsn=0/72A46060 2025-09-27 11:25:53.961 UTC [9] LOG: database system is ready to accept connections PostgreSQL is ready! Setting up database and user... ALTER ROLE Starting Postgresus application... time="2025/09/27 11:25:54" msg="Text structured logger initialized" time="2025/09/27 11:25:54" msg="Running database migrations..." time="2025/09/27 11:25:54" msg="Trying to load .env" path=/app/.env time="2025/09/27 11:25:54" msg="Successfully loaded .env" path=/app/.env time="2025/09/27 11:25:54" msg="ENV_MODE loaded" mode=production time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=13 path=/usr/lib/postgresql/13/bin time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=13 path=/usr/lib/postgresql/13/bin/pg_dump time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=13 time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=13 path=/usr/lib/postgresql/13/bin/psql time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=13 time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=13 path=/usr/lib/postgresql/13/bin time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=14 path=/usr/lib/postgresql/14/bin time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=14 path=/usr/lib/postgresql/14/bin/pg_dump time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=14 time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=14 path=/usr/lib/postgresql/14/bin/psql time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=14 time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=14 path=/usr/lib/postgresql/14/bin time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=15 path=/usr/lib/postgresql/15/bin time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=15 path=/usr/lib/postgresql/15/bin/pg_dump time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=15 time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=15 path=/usr/lib/postgresql/15/bin/psql time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=15 time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=15 path=/usr/lib/postgresql/15/bin time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=16 path=/usr/lib/postgresql/16/bin time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=16 path=/usr/lib/postgresql/16/bin/pg_dump time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=16 time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=16 path=/usr/lib/postgresql/16/bin/psql time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=16 time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=16 path=/usr/lib/postgresql/16/bin time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=17 path=/usr/lib/postgresql/17/bin time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=pg_dump version=17 path=/usr/lib/postgresql/17/bin/pg_dump time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=pg_dump version=17 time="2025/09/27 11:25:54" msg="Checking for PostgreSQL command" command=psql version=17 path=/usr/lib/postgresql/17/bin/psql time="2025/09/27 11:25:54" msg="PostgreSQL command found" command=psql version=17 time="2025/09/27 11:25:54" msg="Installation of PostgreSQL verified" version=17 path=/usr/lib/postgresql/17/bin time="2025/09/27 11:25:54" msg="Verifying PostgreSQL installation" version=18 path=/usr/lib/postgresql/18/bin time="2025/09/27 11:25:54" msg="PostgreSQL bin directory not found. Please ensure PostgreSQL client tools are installed." version=18 path=/usr/lib/postgresql/18/bin ``` Компос файлик ``` version: "3" services: postgresus: container_name: postgresus image: rostislavdugin/postgresus:latest ports: - "4005:4005" volumes: - ./postgresus-data:/postgresus-data restart: unless-stopped ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#461