Following instructions on http://drupal.org/node/819398 i end up with a failure to create a new domain.
Is there something missing from the instructions?

drush quickstart-create all --domain=pathaccess.dev
                                                                              [ok]
Creating dns config (add pathaccess.dev to /etc/hosts) ...                    [ok]
sh: cannot create /etc/hosts: Permission denied
Command failed: Command returned unexpected result: echo '127.0.0.1           [error]
pathaccess.dev #quickstart' >> /etc/hosts

Comments

MichaelCole’s picture

Status: Active » Closed (cannot reproduce)

Hi, I can't reproduce this.

Either you're running an older version of quickstart, or something got munged. Download and reinstall the latest version.

I'm coming out with a version 0.9.1 to address the git migration. Check the project page tomorrow.

Cheers,

Mike

budda’s picture

Status: Closed (cannot reproduce) » Active

Downloaded quickstart last week form your torrent link. So assume it is the latest available?

MichaelCole’s picture

The latest version is 0.9.1.

The file you downloaded should be "Quickstart 0.9.1.ova"

The terminal should say "quickstart@qs091:~$"

Mike

druipol’s picture

Sorry, but wouldn't it be nicer to have an git repository for the relevant code, or an patch file? I've customized my quickstart VBox in an nice way. Downloading the Torrent-VBox is in my opinion a bit oversized and time consuming. And I would lost all the work done in the Quickstart-VBox.

I've now this error when trying to create an new site:

Downloading code to /home/quickstart/websites/test.dev (takes a     [ok]
minute, check network activity) ...
The external command could not be executed due to an application     [error]
error.
simplexml_load_string(): Entity: line 109: parser error : Opening and[warning]
ending tag mismatch: meta line 3 and head drush_make.drush.inc:273

.....

MichaelCole’s picture

Status: Active » Closed (cannot reproduce)

Hi druipol,

There is a git repository. Check the project page.

It appears your customizations are causing you errors that I cannot reproduce. I haven't experienced the simplexml_load_string() error in drush make. Likely this is caused by the contents of your make file.

There is no upgrade path for Quickstart prior to version 1.0. And after 1.0, it may or may not be 100%. I'm sorry if that is inconvenient for you. I do try hard :-)

I checked out the docs page and updated the 2nd and 3rd commands. The first should still work.

If you'd like to try out the future update process for version 1.0, try this (requires QS 0.9.1 for git):

cd ~/quickstart
git pull
bash update.sh

Best luck!

Mike

druipol’s picture

Hi Michael,
thanks for the quick answer.
Sorry for incommode you. It works again. It seems that the repository itself wasn't available for a couple of hours. Later on, after testing in QS 0.9.1 (first it didn't worked out of the box too), suddenly drush could connect and all worked fine. :)
Nevertheless I will put the Quickstart-Folder under git in my QS 0.9 too.
I think you have others and better things to too, than supporting us all. ;)
So, thanks again for trying help us and for all your nice work with quickstart. :)
It wasn't meant as criticism, more as suggestion.
If i can help you, feel free to ask! :)

May the force be with you ;)
Druipol

MichaelCole’s picture

Hi Druipol,

Great, I'm glad its working. I've been stressed the last two weeks, and took it personally without any good reason. Thanks for the feedback and for wanting to improve the project.

If you see any way to improve the docs in the handbook, go for it: http://drupal.org/node/788080. I don't have enough time to keep releases and documentation up to date sometimes.

Also, if you have a moment, try out that upgrade.sh script. That's what I'm thinking of using as the upgrade path between versions.

Cheers,

Mike

MichaelCole’s picture

Hi Druipol,

Great, I'm glad its working. I've been stressed the last two weeks, and took it personally without any good reason. Thanks for the feedback and for wanting to improve the project.

If you see any way to improve the docs in the handbook, go for it: http://drupal.org/node/788080. I don't have enough time to keep releases and documentation up to date sometimes.

Also, if you have a moment, try out that upgrade.sh script. That's what I'm thinking of using as the upgrade path between versions.

Cheers,

Mike

druipol’s picture

Hi Mike,

i'm not shure if it is a good idea to post my experiences with your update.sh script here. Please tell me otherwise, the "correct" or better way. :)
I renamed in my "old" QS 0.9 VBox the ~/drush, ~/.drush/drush_make and ~/quickstart folders and i had to kill the ~/.drush/d6_site_install folder. Rename it didn't worked, cause it was found and used anyway. I put it first in an archiv and killed it later.
After correcting squid as you meant here http://drupal.org/node/1090560:

echo "ignore_expect_100 on" | sudo tee -a /etc/squid3/squid.conf
sudo /etc/init.d/squid3 restart

I cloned drush, drush make and quickstart from the Git repositories without any problems. Your update.sh script worked after all fine too, but it found nothing new to update, as I had pulled the newest versions right a moment before. :)
I deleted the renamed folders after some testing, when all worked fine for me.

In the next days I will try to install Aegir. My first try with your install script didn't worked. I had problem with "drupal bootstrap" and didn't found an "drupal-provision" or something similar (it was late yesterday when I tried it ;) ). But this is an other story. I will try to document the installation way under QS, when I get it to work.

Hope it helps.
Cheers,
Druipol

MichaelCole’s picture

Hi Druipol,

Here is fine. The update script would only work on 0.9.1 or better. 0.9 was CVS. 0.9.1 is git. As I move through projects, I either leave a project in the old version or bring it forward to a new version of Quickstart. It's a real test of how good my version control and build process discipline is. You may have done alot of the hard work of updating manually. Good experience in understanding your dev env though.

The Aegir script is broken. It worked for an older version of Aegir, but that version is long gone. I'll get into Aegir in a month or so for the project I'm working on.

If you try it and have any suggestions to fix the script, I'd be super excited to get updates/documentation/feedback. Go ahead and update the Aegir bug here

Cheers,

Mike

hobbsb’s picture

[EDIT] All I can say for this, is that it worked for me. Please use your best judgement here. And if anyone would like to correct me below, that would be great. Using Quickstart V0.9

I've received the same issue - a quick search took me here. Can't speak for the original poster - but I think my issue arose after setting up a Bridged Network and following the steps to securing my Quickstart environment.

It was an easy fix, so I hesitate to even post :) but I am going to anyway for those that are even less experienced than I am using Linux/Drush.

The file drush is trying to write to is /etc/hosts. Checking the permissions of that file showed it was owned by Root, and readonly by anyone else. Which would make sense that the user Quickstart was getting access denied. Running the command:

$sudo -s

will let you run commands as root.

Three notes:
1) You will need to specify the makefile path now also, since it will default to the wrong place as well.

2) Drush quickstart seems to create the site in the root user's home, instead of quickstart. You will need to specify the --codepath param of the new folder you would like to create (ex. "/home/quickstart/websites/example2")

3) It looks like to me (am I just missing something?) that the file "/home/quickstart/quickstart/drush/quickstart.inc" is missing a small piece of code. Around ~line 284 there is the command:

*drush_backend_invoke("quickstart-fixperms --domain=$domain");

Which I believe (with a possibly limited understanding) should be:

*drush_backend_invoke("quickstart-fixperms --domain=$domain --codepath=$codepath");

After all of that, it allowed me to run the build script in the terminal w/o error. )

$drush quickstart-create --domain=example1.dev --codepath=/home/quickstart/websites/example1 --makefile=./default.make

Not really sure if the permissions of /etc/hosts changed at some point, or what. But either way - goodluck.

budda’s picture

@hobbsb - thanks for your detailed analysis. Following your suggestions that got me sorted in QS 0.9 whilst the updated torrent is downloading still. Cheers!

philosurfer’s picture

This is happening more and more often after some 11.10 updates....

using the : sudo /etc/init.d/squid3 restart
command works to resolve... is there something that is interfering with the proxy server? because a reset of the VM does not resolve the issue... i have to force restart squid3.... which does not make sense.....

confused.....