dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

`pg_dump` backup fails: `stdout maxBuffer length exceeded`

Open Macw07 opened this issue 1 year ago • 6 comments

To Reproduce

  1. Go to the backup area under WebServer and configure the backup information as required to ensure that the s3 configuration is correct.
Image
  1. When click the backup button, the following error message appears:
Image

Current vs. Expected behavior

Data should be saved completely in the s3 bucket in the form of a compressed package.

Provide environment information

Operating System: 
Ubuntu 20.04 
Arm64 

Dokploy Version: 0.22.3 
VPS Provider: AWS

Which area(s) are affected? (Select all that apply)

Databases

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Macw07 avatar May 10 '25 05:05 Macw07

I encountered the same problem. This should be fixed immediately.

ZigaoWang avatar May 10 '25 05:05 ZigaoWang

I'll push a try to fix this issue, since i cannot reproduce it, let me know if the issue persists

Siumauricio avatar May 17 '25 06:05 Siumauricio

I am also getting the same error now. First i was having issue mentioned in #1868 and then today i updated dokploy and now i am getting the following error while taking backups.

Image

Maybe using spawnAsync instead of execAsync could fix the issue ?

SparshKaushik avatar May 18 '25 04:05 SparshKaushik

@Siumauricio This problem still exists.

Macw07 avatar May 18 '25 06:05 Macw07

thank you so much! fixed!

jimhouserock avatar May 21 '25 03:05 jimhouserock

I had the same issue in version: 0.22.3 and updating to version: 0.22.6 allowed to to run the backup!

mvdschee avatar May 27 '25 14:05 mvdschee