pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
291 stars 45 forks source link

PharException: manifest cannot be larger than 100 MB in phar #82

Closed ftechhelp closed 6 years ago

ftechhelp commented 6 years ago

We have been using git-deploy to deploy to our production server and absolutely love it! However, we have a few commits that have changed thousands of files to be pushed over to our production server, but every time we try and use git-deploy, we get the following error:

[03-Jan-2018 08:49:29 America/New_York] PHP Fatal error: Uncaught PharException: manifest cannot be larger than 100 MB in phar "C:\inetpub\wwwroot\MRS_MAIN\git-deploy" in C:\inetpub\wwwroot\MRS_MAIN\git-deploy:16 Stack trace:

0 C:\inetpub\wwwroot\MRS_MAIN\git-deploy(16): Phar::mapPhar('git-deploy')

1 {main}

thrown in C:\inetpub\wwwroot\MRS_MAIN\git-deploy on line 16

Is there a way to fix/bypass that? We have tried everything that we know of.

Thanks.

pocketarc commented 6 years ago

I’ll have to look at it. I’m not sure why the “manifest” is an issue. You haven’t changed git-deploy itself, right?

On 3 Jan 2018, at 13:59, Vincent Fontaine notifications@github.com wrote:

We have been using git-deploy to deploy to our production server and absolutely love it! However, we have a few commits that have changed thousands of files to be pushed over to our production server, but every time we try and use git-deploy, we get the following error:

[03-Jan-2018 08:49:29 America/New_York] PHP Fatal error: Uncaught PharException: manifest cannot be larger than 100 MB in phar "C:\inetpub\wwwroot\MRS_MAIN\git-deploy" in C:\inetpub\wwwroot\MRS_MAIN\git-deploy:16 Stack trace:

0 C:\inetpub\wwwroot\MRS_MAIN\git-deploy(16): Phar::mapPhar('git-deploy')

1 {main}

thrown in C:\inetpub\wwwroot\MRS_MAIN\git-deploy on line 16

Is there a way to fix/bypass that? We have tried everything that we know of.

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ftechhelp commented 6 years ago

I had but also removed the changes. I re-copied git-deploy to my repository and it works now. Sorry for wasting your time!