banago / PHPloy

PHPloy - Incremental Git (S)FTP deployment tool that supports multiple servers, submodules and rollbacks.
http://wplancer.com/phploy/
1.42k stars 197 forks source link

Deploy crash silently on large files #376

Open gavrochelegnou opened 4 years ago

gavrochelegnou commented 4 years ago

Hello,

I have a project with large binary files managed by git lfs. When deploying a commit with a large file it crashes silently :

SERVER: demo

 ^  1 of 23 index.html
 ^  2 of 23 fr.js

# Back to prompt instead of file 3 etc ...

I managed to find that the issue comes from the memory_limit in PHP that is below the size of the file to upload.

A test or a specific message would be nice to help users facing this issue in the future.

Thanks a lot,

banago commented 3 years ago

This is a great catch. We need a check for this. Thank you @gavrochelegnou