I'm having trouble running drush qc --domain= as the drupal installation doesn't get installed. The folder for domain is created but it's empty. I'm not sure but this might be related to this issue as the created website folder has permissions set to drupalpro not www-data.

Comments

bhosmer’s picture

Try entering this on the terminal: httpproxy=

And then try updating the setup scripts:

cd ~/drupalpro/setup_scripts
git add .     # add any changes to index so we can stash everything
git stash save "stash my changes (probably just logs) before pulling in update"
git pull --rebase  # update drupalpro
./update.sh  # run update script

I grabbed this from the http://drupal.org/project/drupalpro home page.

This worked for me recently.

elvis2’s picture

Just to confirm #1 worked for me.

mike stewart’s picture

Status: Active » Closed (duplicate)

yes, why I created the update scripts. after running update script, everything should work as intended.

please re-open if that's not the case. also, please note irc support is available: #drupalpro

leewoodman’s picture

I downloaded beta 2 and ran all updates as suggested but still getting this problem. This is the out put after doing drush qc --domain=testing1.dev

11:01:58 ~$ drush qc --domain=testing1.dev
[ok]
Creating dns config (add testing1.dev to /etc/hosts) ... [ok]
... done. [ok]
Creating database: testing1_dev [ok]
... done. [ok]
Downloading code to /home/drupalpro/websites/testing1.dev (takes a [ok]
minute, check network activity) ...
Project drupal (7.23) could not be downloaded to [error]
/tmp/make_tmp_1383390141_5274dbbd92f36/__build__/sites/all/modules/drupal.
chmod(): No such file or directory make.utilities.inc:372 [warning]
DRUSH_BACKEND:{"error":"DRUSH_SOURCE_NOT_EXISTS","message":"Source directory \/tmp\/make_tmp_1383390141_5274dbbd92f36\/__build__\/sites\/default\/default.settings.php is not readable or does not exist.","packet":"set_error"}

DRUSH_BACKEND:{"type":"memory","message":"Peak memory usage was 8.62 MB","timestamp":1383390142.308,"memory":7861084,"error":null,"packet":"log"}Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Uncaught exception 'Exception' with message '
chown: cannot access `/home/drupalpro/websites/testing1.dev': No
such file or directory' in
/home/drupalpro/drupalpro/drush_addons/quickstart/quickstart.inc:30
Stack trace:
#0
/home/drupalpro/drupalpro/drush_addons/quickstart/quickstart.drush.inc(205):
quickstart_shell_exec('sudo chown -R :...')
#1 [internal function]: drush_quickstart_fixperms()
#2 /home/drupalpro/drush/includes/command.inc(334):
call_user_func_array('drush_quickstar...', Array)
#3 /home/drupalpro/drush/includes/command.inc(208):
_drush_invoke_hooks('quickstart-fixp...', Array, 'quickstart')
#4 [internal function]: drush_command()
#5 /home/drupalpro/drush/includes/command.inc(175):
call_user_func_array('drush_command', Array)
#6 /home/drupalpro/drush/drush.php(92): drush_dispatch(Array)
#7 /home/drupalpro/drush/drush.php(61):
_drush_bootstrap_and_dispatch()
#8 /home/drupalpro/drush/drush.php(16): drush_main()
#9 {main}
thrown in
/home/drupalpro/drupalpro/drush_addons/quickstart/quickstart.inc,
line 30
Fatal error: Uncaught exception 'Exception' with message ' in /home/drupalpro/drupalpro/drush_addons/quickstart/quickstart.inc on line 30

Exception:
chown: cannot access `/home/drupalpro/websites/testing1.dev': No such file or directory in /home/drupalpro/drupalpro/drush_addons/quickstart/quickstart.inc on line 30

Call Stack:
0.0003 373256 1. {main}() /home/drupalpro/drush/drush.php:0
0.0144 3203816 2. drush_main() /home/drupalpro/drush/drush.php:16
0.0618 7662400 3. _drush_bootstrap_and_dispatch() /home/drupalpro/drush/drush.php:61
0.0839 7668252 4. drush_dispatch() /home/drupalpro/drush/drush.php:92
0.1029 7676288 5. call_user_func_array() /home/drupalpro/drush/includes/command.inc:175
0.1029 7676480 6. drush_command() /home/drupalpro/drush/includes/command.inc:0
0.1030 7676644 7. _drush_invoke_hooks() /home/drupalpro/drush/includes/command.inc:208
0.1035 7713332 8. call_user_func_array() /home/drupalpro/drush/includes/command.inc:334
0.1035 7713524 9. drush_quickstart_fixperms() /home/drupalpro/drush/includes/command.inc:0
0.1078 7718224 10. quickstart_shell_exec() /home/drupalpro/drupalpro/drush_addons/quickstart/quickstart.drush.inc:205 ... done. [ok]
Creating apache config (/etc/apache2/sites-enabled/testing1.dev) [ok]
... done. [ok]
Running installer (takes a minute, check cpu activity) ... [ok]
file_get_contents(/home/drupalpro/websites/testing1.dev/CHANGELOG.txt):[warning]
failed to open stream: No such file or directory quickstart.inc:285
Command site-install needs a higher bootstrap level to run - you will[error]
need to invoke drush from a more functional Drupal environment to run
this command.
The drush command 'site-install standard' could not be executed. [error]
The directory /home/drupalpro/websites/testing1.dev does not contain [error]
a valid Drupal installation
[ok]
URL: http://testing1.dev
Admin user: admin
Admin password: admin
... done. [ok]
Command completed successfully. [success]

leewoodman’s picture

Issue summary: View changes
Status: Closed (duplicate) » Active
leewoodman’s picture

This is a known issue since the upgrade to D7 on Drupal.org. https://github.com/drush-ops/drush/issues/234

mike stewart’s picture

@leewoodman, thanks for the links, but not directly related to this issue... and also appears to be fixed. #2126123-41: Drupal core release history making drush pm-download fail

Also note, you may need/want to update drush in drupalpro manually:
#2114603-2: Directions to update to drush 7.x to use with drupal 8

EddieN120’s picture

Just to confirm #1 worked for me as well. (Running DrupalPro on Win 7 Home Premium.)