Odd behaviour with site-install drupal 7 on Ubuntu 10.04

Events happening in the community are now at Drupal community events on www.drupal.org.
tobias-'s picture

Before I add any bugs I need to ask you guys and gals if the results I'm getting are expected behaviour. I'm running Ubuntu 10.04 with PHP 5.3.2 and MySQL 5.1. Drush 3.3.

1st behaviour --sites-subdir:

drush dl drupal-7.x --drupal-project-rename=drupal

cd drupal && drush si standard --db-url=mysql://user:password@localhost:3306/drupal --sites-subdir=drupal.local

You are about to create a sites/drupa.local/files directory and create a sites/drupal.local/settings.php file and DROP your 'drupal' database and then CREATE a new one. Do you want to continue? (y/n): y
Could not find a Drupal settings.php file at ./sites/default/settings.php. [error]
An error occurred at function : drush_core_pre_site_install [error]

If I skip the --sites-subdir then it works.

2nd behaviour; login issues

The second behaviour is after the steps I showed you earlier. I can't login to the site with default credentials admin/admin. Enforcing it with adding --account-name=admin and --account-pass=admin will not work either.

Comments

You're right at least on the

jonhattan's picture

You're right at least on the first bug (I hit it the other day); site-install needs some improvements/fixes.

To be effective in bug reporting: use drush HEAD, use --debug flag, include the whole output in your report, and use <code> tags. Even better, include a patch :)

Just fixed the first bug.

moshe weitzman's picture

Just fixed the first bug. Thats nice sleuthing. You should feel confident posting in the issue queue from now on :)

I cannot reproduce the second bug. Perhaps it is gone now that the first one is gone.

Thanks guys. After that post

tobias-'s picture

Thanks guys. After that post i got pneumonia and was quite gone for some weeks. I totally forgot about the post! :)

If I can reproduce the second "bug" i'll issue a bug in the issue queue :)

drush

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: