Hie,

I have create one site :
qc --domain= testmulti.org
I want to create other site testmultisite2.org .... I try :
qc --domain=testmulti2.org --codepath=~/websites/testmulti.org
I got one error in the running installer step :

The external command could not be executed due to an application error. [error]
require_once(~/websites/testmulti.org/includes/bootstrap.inc): failed to open[warning]
stream: No such file or directory environment.inc:724
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required
'~/websites/testmulti.org/includes/bootstrap.inc'
(include_path='.:/usr/share/php:/usr/share/pear') in
/home/quickstart/drush/includes/environment.inc, line 724
Output from failed command : [error]

Fatal error: require_once(): Failed opening required
'~/websites/testmulti.org/includes/bootstrap.inc'
(include_path='.:/usr/share/php:/usr/share/pear') in
/home/quickstart/drush/includes/environment.inc on line 724

Call Stack:
0.0004 748728 1. {main}() /home/quickstart/drush/drush.php:0
0.0090 3654992 2. drush_main() /home/quickstart/drush/drush.php:41
0.0649 10078880 3. drush_bootstrap_to_phase()
/home/quickstart/drush/drush.php:90
0.0656 10082760 4. drush_bootstrap()
/home/quickstart/drush/includes/environment.inc:310
0.0657 10084432 5. _drush_bootstrap_drupal_root()
/home/quickstart/drush/includes/environment.inc:194
/blockquote>

thank you

Comments

chrisschaub’s picture

Any help with this?

mike stewart’s picture

Status: Active » Postponed (maintainer needs more info)

hmm, what you call the site locally doesn't matter in regards to what the real domain ultimately end up.

I didn't write the original drush scripts, but I think there's a limitation of 8 characters... due to how it automatically creates a mysql user & password. so either try a smaller domain name, or POSSIBLY try providing an existing mysql user & password.

chrisschaub’s picture

But I don't think this works. It just copies the codebase again?

firfin’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Cschaub, copying the codebase is one of the few things that command doesn't do.
It does create almost all the other important stuff. ;-)

See #1109488: restarting apache2 fails for a more elaborate explanation of how you can do multisite with QS.