Pantheon Mercury install stops at drush install

Bug #729111 reported by Leandro Lima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DEPRECATED Pantheon
New
Undecided
Unassigned

Bug Description

Stack script gets stuck at the "drush_install" function.

A prompt stops the whole process.

Prompt: Would you like to back up your current drush version 5.0-dev to /root/drush-backups/unknown/20110304010024 and replace it with drush 4.2? (y/n):

Please advise.

Revision history for this message
Leandro Lima (leandro-inetpropulsion) wrote :
Revision history for this message
Leandro Lima (leandro-inetpropulsion) wrote :

It seems the prompt mentioned above comes after line 035 is executed in the bash script

035 cd /usr/local && /tmp/drush/drush dl drush

In case it isn't know, the script is here: http://www.linode.com/stackscripts/view/?StackScriptID=353

Revision history for this message
Leandro Lima (leandro-inetpropulsion) wrote :

For anyone having this issue on Linode, or anywhere, this is the work around I successfully executed.

I built an Ubunto 9.10 distribution and ran the Stackscript manually...

Before doing this, I altered the StackScript to include the necessary variables needed.

- before the first function "function logit {" I added

DB_PASSWORD="..."
DB_NAME="..."
DB_USER="..."
DB_USER_PASSWORD="..."
FQDN="..."
ADMIN_USER=""
ADMIN_PUBKEY=""
NOTIFY_EMAIL="..."
SOLR_TGZ="http://mirror.atlanticmetro.net/apache/lucene/solr/1.4.0/apache-solr-1.4.0.tgz"
PANTHEON_BRANCH="..."

source /root/ssinclude-1

--------------------------

Filling in the correct values in the place of the ellipse (...)

Good luck.

Revision history for this message
Leandro Lima (leandro-inetpropulsion) wrote :

F*ck,

I forgot to mention. I ran it manually in one SSH session, while running > tail -f stackscript.log in another.

When the script got stuck with a few prompts, I answered the prompt in the SSH session where I was running the script. Worked like a charm.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.