When I try installing openoutreach locally with Drush I get what looks like a 'strange output' (?).

DRUSH_BACKEND:{"type":"command","message":"Backend invoke: \/Applications\/MAMP\/bin\/php5.3\/bin\/php \/Applications\/MAMP\/bin\/php5.3\/share\/pear\/drush\/drush.php --php=\/Applications\/MAMP\/bin\/php5.3\/bin\/php  --reserve-margin=4 make-process \/tmp\/make_tmp_1343266431_50109e7f9a9e4 --backend=2 2>&1","timestamp":1343266443.16,"memory":5530324,"error":null,"packet":"log"}
DRUSH_BACKEND:{"type":"command","message":"Backend invoke: \/Applications\/MAMP\/bin\/php5.3\/bin\/php \/Applications\/MAMP\/bin\/php5.3\/share\/pear\/drush\/drush.php --php=\/Applications\/MAMP\/bin\/php5.3\/bin\/php  --reserve-margin=4 make-process \/tmp\/make_tmp_1343266431_50109e7f9a9e4 --backend=2 2>&1","timestamp":1343266443.16,"memory":5541364,"error":null,"packet":"log"}
DRUSH_BACKEND:{"type":"command","message":"Backend invoke: \/Applications\/MAMP\/bin\/php5.3\/bin\/php \/Applications\/MAMP\/bin\/php5.3\/share\/pear\/drush\/drush.php --php=\/Applications\/MAMP\/bin\/php5.3\/bin\/php  --reserve-margin=4 make-process \/tmp\/make_tmp_1343266431_50109e7f9a9e4 --backend=2 2>&1","timestamp":1343266443.16,"memory":5551468,"error":null,"packet":"log"}
DRUSH_BACKEND:{"type":"command","message":"Backend invoke: \/Applications\/MAMP\/bin\/php5.3\/bin\/php \/Applications\/MAMP\/bin\/php5.3\/share\/pear\/drush\/drush.php --php=\/Applications\/MAMP\/bin\/php5.3\/bin\/php  --reserve-margin=4 make-process \/tmp\/make_tmp_1343266431_50109e7f9a9e4 --backend=2 2>&1","timestamp":1343266443.16,"memory":5562796,"error":null,"packet":"log"}
DRUSH_BACKEND:{"type":"command","message":"Backend invoke: \/Applications\/MAMP\/bin\/php5.3\/bin\/php \/Applications\/MAMP\/bin\/php5.3\/share\/pear\/drush\/drush.php --php=\/Applications\/MAMP\/bin\/php5.3\/bin\/php  --reserve-margin=4 make-process \/tmp\/make_tmp_1343266431_50109e7f9a9e4 --backend=2 2>&1","timestamp":1343266443.16,"memory":5574052,"error":null,"packet":"log"}subprofiles-7.x-1.0 downloaded.                                                                                                                                             [ok]

When I try to open the website, I get a PDOException error (attached). When I add install.php to the URL I don't see an openoutreach profile (should I ?). When I choose to install the Standard profile, I'm told the openoutreach module is missing.

CommentFileSizeAuthor
pdoexception-error.png45.92 KBbisonbleu

Comments

nedjo’s picture

Can't immediately see what's going wrong here.

Things to try:

  • Maybe try rc2 instead of rd1. Or else try the dev release.
  • If you manually download, how does it go?
  • Could be a file permission issue. What are the perms on profiles/openoutreach and files within?
bisonbleu’s picture

Directory structures for the Drush installation (as per the suggested command published here: http://openoutreach.org/section/develop-open-outreach) and the project download (distribution) are very different.

Drush installation
- profiles
-- minimal
-- standard
-- testing
- sites
-- all
--- modules
---- contrib
---- openoutreach (version = "7.x-1.0-beta8")

Project installation (http://drupal.org/project/openoutreach)
- profiles
-- minimal
-- openoutreach (version = "7.x-1.0-rc2")
-- standard
-- testing
- sites
-- all
-- modules
--- * (empty)

I suspect the suggested command "drush make "http://drupalcode.org/project/openoutreach.git/blob_plain/refs/heads/7.x..." sitename" is incorrect and needs to be updated.

The manual installation works nicely - user-friendly too! :-)

nedjo’s picture

If you want to download Open Outreach with drush, use:

drush dl openoutreach

I'll have a look at the documentation.

bisonbleu’s picture

... ?

Of course, one could just download openoutreach the old-fashion way. What I was looking for (and hoping for) was the ability to drush-make it, as it is suggested on openoutreach.org. I understand that that's not possible right now.

Thanks for your help.

nedjo’s picture

Title: Local Drush installation fails (MAMP) » Drush make instructions on openoutreach.org need updating
Category: bug » task

k, wasn't sure what you were trying to do, clarifying title.

nedjo’s picture

Status: Active » Postponed (maintainer needs more info)

I udpated the .make file, tried a build, and it worked for me. Could you retry? Thanks.

bisonbleu’s picture

I was unsuccessful with both commands listed on page http://openoutreach.org/section/develop-open-outreach. See full terminal output for both.

  • "Stable release" installs just Drupal 7.15 under 'sitename'; the Openoutreach profile is not installed.
  • "Development version" installs nothing; the 'sitename' directory is not created.

"To make a stable release version of Open Outreach:"

renimac:htdocs ren$ drush make "http://drupalcode.org/project/openoutreach.git/blob_plain/refs/heads/7.x-1.x:/openoutreach_stub_stable.make" sitename
drupal-7.15 downloaded.			[ok]
openoutreach-7.x-1.0-rc2 downloaded.	[ok]
openoutreach-7.x-1.0-rc2 downloaded.	[ok]

"To make a development version of Open Outreach:"

renimac:htdocs ren$ drush make "http://drupalcode.org/project/openoutreach.git/blob_plain/refs/heads/7.x-1.x:/openoutreach_stub_dev.make" sitename
drupal-7.15 downloaded.					[ok]
File openoutreach-7.x-1.x-dev-core.tar.gz is corrupt (wrong md5 checksum).       
nedjo’s picture

Hmm. What version of Drush are you using? I'm using 5.3 (latest is 5.5).

bisonbleu’s picture

I was using drush version 5.0-dev. I've just updated to 6.0-dev and 'Stable release' installs - ye! :-) Well done @nedjo. The dev-make still encounters the same checksum error. See below.

ren$ drush make "http://drupalcode.org/project/openoutreach.git/blob_plain/refs/heads/7.x-1.x:/openoutreach_stub_dev.make" sitename
drupal-7.15 downloaded.		[ok]
File openoutreach-7.x-1.x-dev.tar.gz?date=1344300116 is corrupt (wrong md5 checksum).	[error]

ren$ drush make "http://drupalcode.org/project/openoutreach.git/blob_plain/refs/heads/7.x-1.x:/openoutreach_stub_stable.make" sitename
drupal-7.15 downloaded.	[ok]
openoutreach-7.x-1.0-rc2 downloaded.	[ok]
Found makefile: drupal-org.make	[ok]
...
nedjo’s picture

Title: Drush make instructions on openoutreach.org need updating » Drush make fails on older versions of Drush, plus checksum issue
Status: Postponed (maintainer needs more info) » Closed (duplicate)

Thx for the update.

The rest of this issue is probably covered by #1630220: Cache inconsistency lead to "wrong md5 checksum" on dev releases.