If I try to create a new site using this drush command, I get a "No such file or directory" error for the directory I'm trying to create. This happens whether I create the directory ahead of time, or not. I've tried a few variations of the command, changing the paths, using "sudo," with the same result:
drush quickstart-create all --domain=example7bjp.dev --codepath=~/Desktop/websites/example7bjp.dev --makefile=~/Desktop/websites/d7.make --profile=basic
and here's the error:
mv: cannot stat `/home/quickstart/Desktop/websites/example7bjp.dev': No such file or directory
Version:
Ver: Quickstart 0.9.1
Cmd prompt: quickstart@qs091:~$
Comments
Comment #1
MichaelCole commentedHi Ben, thanks for moving the conversation.
There are 3 things I noticed about this:
1) don't use ~ in the command line with Druah and Quickstart. They don't automatically expand this. I created a bug for this and should fix it in v1.0. In the meantime, use /home/quickstart
2) don't use /home/quickstart/Desktop/websites, try /home/quickstart/websites instead (no Desktop). This may or may not cause problems. In the fix for 1) I'll try to dereference this shortcut as well, but no promises.
3) I had a problem with --profile=basic
$ ls ~/websites/example.dev/profilesto get a list of available profiles:minimal provider standard testingSo, my version of this that works is:
Note that this is equivalent to:
You could remove the --makefile parameter as default.make is a copy of d7.make.
Whew! Hope that helps,
Mike
Comment #2
MichaelCole commentedComment #3
chriscalip commentedComment #4
chriscalip commentedGot an empty install with that run.
default d6.make
Also googled that code.. it seems other folks are also experiencing the same thing:
http://pastebin.com/BQTgyb7H
Comment #5
MichaelCole commentedI'm not seeing this error. See below.
I want you to do 3 things:
1) Re-import a fresh copy of quickstart 0.9.1. Something is wonky in your current setup.
2) Run these commands:
3) Run this command:
4) If it works, close this bug. If it doesn't work, paste all the output into this bug and we'll go from there.
This works for me.
Comment #6
MichaelCole commentedI'm not seeing this error. See below.
I want you to do 3 things:
1) Re-import a fresh copy of quickstart 0.9.1. Something is wonky in your current setup.
2) Run these commands:
3) Run this command:
4) If it works, close this bug. If it doesn't work, paste all the output into this bug and we'll go from there.
This works for me.
Comment #7
chriscalip commentedComment #8
chriscalip commentedI've noticed a few things with the install...
It hangs on git pull, wget and drush dl ... i think thats what's going on..
you can't su to root. the pwd quickstart doesnt seem to work.
I had to manually copy an updated git directory..
Comment #9
MichaelCole commentedChris,
You shouldn't have to do that.
I think you've changed something in your dev env to wedge it. Follow the steps I outlined above and paste the results if you'd like more help.
It's frustrating to be asked for help and advice, to take the time to give it, and then not have it followed... Waaaaaah :-)
Mike
Comment #10
chriscalip commentedMichael,
Yeah i tried to follow your advice; but git pull hanged...
*** Found what's wonky:
/etc/resolve.conf does not have the proper values; double whammy is that .. I cannot seem to su to root. with the password: quickstart
Comment #11
MichaelCole commentedOk, great! Good to know.
Thanks for tracking that down Chris.
I'm guessing the root cause is a networking issue. If you find a reproducible bug, submit it to Ubuntu.
https://help.ubuntu.com/community/ReportingBugs
Comment #12
MichaelCole commented$ sudo gedit /etc/resolv.conf
Works on QS 0.9.1 without a password.
Comment #13
MichaelCole commentedAlso, could you report the bug to "drush make" so as to get a better error message.
Comment #14
chriscalip commentedThanks confirmed it was the resolv.conf in my case.
Comment #15
MichaelCole commentedI experienced this "simplexml" issue and was able to work around it with:
sudo /etc/init.d/squid3 stop
Comment #16
MichaelCole commentedTry: sudo /etc/init.d/squid3 restart
Comment #17
BenPoole commentedI wanted to report back on the original solution from comment #1 was a big help - it worked for me, and it's what I needed. I had tried a few variations of the path, but must not have had it right. @MichaelCole, thanks for the explanation of the alias commands, as well. These commands are a huge efficiency within quickstart, thanks again.
Comment #18
MichaelCole commentedAwesome! Glad it worked :-)
Comment #20
jelle_sjust wanted to say I had the same problem and #16 worked for me! thx ;-)
Comment #21
danlanglois commentedI also had the same problem and #16 worked for me. I'm on qs10. Easy fix, but I think this might count as a bug report (I've changed the category), as there is a fair amount involved in Squid configuration, there's http_access configuration, all kinds of directives, swap directories, & it appears to me that, out of the box, Quickstart doesn't quite get Squick ready to serve requests. For me, everything was not working okay, until I did a Squid restart.
Before that, I couldn't to this:
drush quickstart-create --domain=test.dev
And, I also experienced the problem mentioned in the comments above, w/git pull hanging.
Comment #22
danlanglois commentedhmm..cross-reference https://drupal.org/node/1249404
'Alot of Drush Make users, who are introduced to it with Quickstart, have this trouble.'
Comment #23
mortona2k commentedI had the error in #3 (and #7). First part in #5 fixed it.
Comment #24
mike stewart commentedDoesnt seem to be a problem with quickstart in and of itself, except possibly networking. And one of major recurring problems seems related to squid. seems all of the fixes are here.
after Quickstart 2.x is released ... we'll keep an eye out for this problem. squid will be going away due to problems (search issue queue or see: http://drupal.org/node/1298560#comment-5070852 as one example)
If I seem to be missing something, please let me know by adding to this issue. (or post a new issue if using Quickstart v2.x+
Comment #26
vacho commentedI have a mesaage "Command site-install needs a higher bootstrap level to run - you will need invoke drush from a more functional Drupal environment to run this [error]"
I tried to install Drupal with druhs but being located outside a folder with files downloaded drupal. I have resorted to this running drush commands within the drupal folder.
Comment #27
drupalreggie commented#16 worked for me as well!