Hi, this is essentially a repost of http://groups.drupal.org/node/133969 after I posted to the wrong place.

Basically is there something extra that I have to do to allow the drush quickstart-create command to be able to download the code?

Both quickstart 0.9 and 0.9.1 had the same issue for me in that nothing is being downloaded when executing the following command and there is no network activity during the attempt, even with the host's firewall well and truly off:
drush quickstart-create --domain=vale.dev --makefile=d7.make

Is there some workaround that I can put into place? Can I download the code myself directly? Since using 0.9.1, vale.dev is now being created as a folder, which is an improvement.

Since the original post, I've confirmed that I can FTP from the environment, through my host and out to the world (I'm assuming that "drush quickstart-create" and "drush make" are using FTP to get the code).

I'm not sure if Mike's original suggestion of a proxy server getting in the way now that I've confirmed the FTP access, as the setup is basically:

ISP->Wireless Router->Windows 7 (64bit)->Virtual Box->Ubuntu QuickStart.

Thanks
Andy

Comments

MichaelCole’s picture

Hi Andy,

Did you try drush make by itself?

Mad Dash’s picture

Hi, yes and I got the same issue in the same way.

If no one had any ideas then I was going to either get the code for drush make and have a look (I assume I can) or just jump straight to what make is trying to do and do it manually.

I did read somewhere that sometimes passive FTP (whatever that is) doesn't work without a little fiddling but I'd have thought that people using Quickstart would have spotted this.

I'll google in a moment (once the kids are sorted out) you might be able to short-cut this next question, assuming make is using FTP is there anyway to monitor how far the request got within Ubuntu? I.e. if I could see that it got a connection but just couldn't download then that is a different issue from not being able to get a connection because the VM host stopped it.

Andy

MichaelCole’s picture

Ok, great. Then you should look to the "drush make" project for help figuring this out. They'll be experts on what's what. Quickstart is just a wrapper around their work.

If you find a resolution, please post back in this bug, in case someone else has trouble.

Good luck!

Mad Dash’s picture

Thought it was going that way Mike :-)

Obviously the first thing they will say is "does drush make work outside of the Quickstart project?". Looks like I'll have to set up from scratch before I post.

I'll post back if I find anything.

Cheers
Andy

Mad Dash’s picture

Actually Mike before I go and annoy someone new, could I run a last thing past you?

Make fails when trying to download the code.
Drubuntu also fails when downloading, this time from cvs.drupal.org, which is where I assume drush make is trying to get to.

Could this be credentials? Do I need to register myself someway in the cvs system first and then configure Quickstart/make/anything else to use these credentials?

Actually, could these problems have anything to do with the recent port from cvs to git (http://drupal.org/documentation/cvs) or would you not know anything about that?

Cheers
Andy

MichaelCole’s picture

Hi Mad Dash,

If you are running QS 0.9.1, try this:

cd ~/quickstart
git pull
bash -x update.sh

This will get you to the most current versions of drush and drush make.

Likely they will not ask you to setup outside quickstart. Quickstart is a more stable config than many others. If they do, post back here and I'll come in and comment.

Cheers,

Mike

MichaelCole’s picture

Status: Active » Fixed

Drush '7.x-4.3'
Drush make '6.x-2.1'

serges9090’s picture

I had to deal with the same issue as reported and got drush to create a website by:

1. Switch to root (quickstart@qs091:~$ sudo -s) - this helps with some odd permission issue which doesn't allow drush OR git to download needed files

2. gedit /home/quickstart/quickstart/drush/quickstart.inc
- replace line 51
$homedir = "/home/" . exec('whoami');
with
$homedir = "/home/quickstart";

3. Save and exit gedit

4. Create a site e.g. example4.dev as advertized (make sure you are still logged in as root):
drush quickstart-create all --domain=example4.dev --codepath=/home/quickstart/websites/example4.dev --makefile=/home/quickstart/websites/d7.make --profile=standard

It would be nice to fix #1 one day; I suspect it is broke because I (and author) set the root password thus access is denied to hosts or resolv.conf

MichaelCole’s picture

Status: Fixed » Postponed (maintainer needs more info)

Hi Serges,

I also change the Unix and MySQL root passwords and don't have to do this.

I still think this is a drush make error, and related to a transient network problem. If you experience this issue, please paste in the full contents of the bash window. E.g.

quickstart@qs09:~/websites$ drush quickstart-create --domain=test.tst
                                                                                                                                                                 [ok]
Creating dns config (add test.tst to /etc/hosts) ...                                                                                                             [ok]
                                                ... done.                                                                                                        [ok]
Creating database: test_tst                                                                                                                                      [ok]
MichaelCole’s picture

Component: Miscellaneous » Image Build
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)