Closed Nick-Hope closed 5 years ago
Hi @Nick-Hope, Thank you for reporting your issue. I will see if I can recreate. What version of Terminus are you using?
I'm trying to clone the site so I can play around with moving the docroot to /web without messing up the existing site
For what its worth I don't think you need the site clone plugin. The web docroot is defined in pantheon.yml
, which only applies to the environment it is committed to. This means you can enable the web docroot in a development environment, such as dev or multidev, without affecting the live site.
@Nick-Hope this seems to be a larger issue with Terminus and the underlying API request that database import makes. See this issue. Once that is resolved I expect this plugin will start working as expected.
Thank you @ataylorme. Sorry for missing those other issues.
For what it's worth, I'm running Terminus 1.9.0.
Re. my move to a /web docroot, I haven't pushed anything to the Test or Live environments yet; I only have a Dev environment. I'm just being super-careful because of the work that went into the site so far. Will do a bit of testing on a dummy test site before doing it on our main site.
For those following along the upstream fix in Terminus was part of the 2.0
release but the site clone plugin hasn't been updated for Terminus 2 yet, so databases will need to be migrated manually if you run into this.
I am trying to clone a site with the terminus-site-clone-plugin in Ubuntu 18.04 using the command
terminus site:clone see-life.dev see-life-web.dev
but each time I try it I get this error:I have tried both with Drupal 8 installed and not installed in the target site, and with the mode set to both SFTP and Git.
(p.s. I'm trying to clone the site so I can play around with moving the docroot to /web without messing up the existing site)