coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
34.47k stars 1.88k forks source link

[Bug]: PHP error when tried to download the dump file at Scheduled Backups #3595

Closed atistrcsn closed 2 days ago

atistrcsn commented 1 month ago

Error Message and Logs

{
  "message": "League\\Flysystem\\PhpseclibV3\\SftpConnectionProvider::__construct(): Argument #6 ($port) must be of type int, string given, called in /var/www/html/vendor/league/flysystem-sftp-v3/SftpConnectionProvider.php on line 158"
}

Steps to Reproduce

  1. setup a scheduled backup
  2. create a backup from pg database
  3. click Download button to download dump file
  4. above PHP error in new browser window

Example Repository URL

No response

Coolify Version

v4.0.0-beta.345

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22

Additional Information

No response

peaklabs-dev commented 2 days ago

I am unable to reproduce this issue, please upgrade to the latest version of Coolify v4 and try again, and if this is still an issue, feel free to reopen this issue or create a new one.