upload basebackup: upload failed with status 500: #30

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

Originally created by @onlymadmax on 3/26/2026

Databasus version (screenshot)

It is displayed in the bottom left corner of the Databasus UI. Please attach screenshot, not just version text

Image

Operating system and architecture

Debian 12 (bookworm), x86_64

Postgres Pro Enterprise 18

Describe the bug (please write manually, do not ask AI to summarize)

What happened:
When attempting to perform a backup using the Databasus agent, the base backup fails with the following error:

upload basebackup: upload failed with status 500: (pg_basebackup stderr: pg_basebackup: initiating base backup, waiting for checkpoint to complete pg_basebackup: checkpoint completed pg_basebackup: write-ahead log start point: 644/CEF3AA08 on timeline 37 pg_basebackup: error: can only write single tablespace to stdout, database has 3 )

Steps to reproduce

  1. curl -L -o databasus-agent "http://172.16.88.45:4005/api/v1/system/agent?arch=amd64" && chmod +x databasus-agent
  2. Configure postgresql.conf ( wal_level = replica, archive_mode = on, archive_command = 'cp %p /opt/databasus/wal-queue/%f.tmp && mv /opt/databasus/wal-queue/%f.tmp /opt/databasus/wal-queue/%f'
  3. Configure pg_hba.conf (host replication all 127.0.0.1/32 md5)
  4. run "pg_ctl reload -D /var/lib/pgpro/ent-18/data/"
  5. run ./databasus-agent start --databasus-host=http://172.16.88.45:4005 --db-id=aa2e6c20-4698-4729-9f59-66807e9666e2 --token=5d8dc2d6c827423db2856cc1c7234cf4 --pg-host=localhost --pg-port=5432 --pg-user=MyUserHere --pg-password=MyPasswordHere --pg-type=host --pg-host-bin-dir=/opt/pgpro/ent-18/bin --pg-wal-dir=/opt/databasus/wal-queue
  6. The backup starts automatically according to the schedule configured in Databasus UI. Within 5-10 minutes after the scheduled start, the following error appears in the agent logs
*Originally created by @onlymadmax on 3/26/2026* ## Databasus version (screenshot) It is displayed in the bottom left corner of the Databasus UI. Please attach screenshot, not just version text <img width="70" height="62" alt="Image" src="https://github.com/user-attachments/assets/cd1b8016-e4c6-42a3-8f60-5dd58e1c75e6" /> ## Operating system and architecture Debian 12 (bookworm), x86_64 ## Database type and version (optional, for DB-related bugs) Postgres Pro Enterprise 18 ## Describe the bug (please write manually, do not ask AI to summarize) **What happened:** When attempting to perform a backup using the Databasus agent, the base backup fails with the following error: upload basebackup: upload failed with status 500: (pg_basebackup stderr: pg_basebackup: initiating base backup, waiting for checkpoint to complete pg_basebackup: checkpoint completed pg_basebackup: write-ahead log start point: 644/CEF3AA08 on timeline 37 pg_basebackup: error: can only write single tablespace to stdout, database has 3 ) ## Steps to reproduce 1. curl -L -o databasus-agent "http://172.16.88.45:4005/api/v1/system/agent?arch=amd64" && chmod +x databasus-agent 2. Configure postgresql.conf ( wal_level = replica, archive_mode = on, archive_command = 'cp %p /opt/databasus/wal-queue/%f.tmp && mv /opt/databasus/wal-queue/%f.tmp /opt/databasus/wal-queue/%f' 3. Configure pg_hba.conf (host replication all 127.0.0.1/32 md5) 4. run "pg_ctl reload -D /var/lib/pgpro/ent-18/data/" 5. run ./databasus-agent start --databasus-host=http://172.16.88.45:4005 --db-id=aa2e6c20-4698-4729-9f59-66807e9666e2 --token=5d8dc2d6c827423db2856cc1c7234cf4 --pg-host=localhost --pg-port=5432 --pg-user=MyUserHere --pg-password=MyPasswordHere --pg-type=host --pg-host-bin-dir=/opt/pgpro/ent-18/bin --pg-wal-dir=/opt/databasus/wal-queue 6. The backup starts automatically according to the schedule configured in Databasus UI. Within 5-10 minutes after the scheduled start, the following error appears in the agent logs
MrUnknownDE added the bugbugbugbug labels 2026-04-05 16:15:37 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/databasus#30