-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terra e:enable: Unable to clone repository. Check app settings and try again. #79
Comments
might be timing out? |
yeah, i think maybe the php script is timing out or something? the full repo does get cloned. I've had similar issues with other smaller repos on my localhost. |
Hmm... Since we use https://github.com/cpliakas/git-wrapper it is really in their code... We call "clone" at https://github.com/terra-ops/terra-cli/blob/master/src/terra/Factory/EnvironmentFactory.php#L85 That error is from our code and is really dumb... we need better exceptions thrown there. Let's dig in and figure out what is really causing the problem. Can you post additional error messages right before that one? We can also look into if the git-wrapper uses symfony Process and setTimeout(null). |
GitWrapper has a timeout of 60 seconds if not specified otherwise. For example:
|
Just wanted to share I ran into this where cloning was taking too long for whatever reason. I thought I might just clone it myself somewhere and let
As a workaround I ended up just manually adding the environment to the ~/.terra/terra file and it was fine. |
I have been trying to enable an app with a large repo (1gb) and I am getting this error:
Oddly enough, it looks like the repo is getting cloned properly (and completely). If I run
terra e:enable
again the env gets enabled and all is well.The text was updated successfully, but these errors were encountered: