-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot do site-install #76
Comments
The original issue was: https://drupal.org/node/1961648 Have you tried to reproduce this with the latest code in the master branch? I think site-install works with D8 now. |
Yeah, I tried a minute ago, and I got PHP Fatal error: Unsupported operand types in /usr/local/bin/drush8/includes/sitealias.inc on line 1517 PS: Did I clone the right thing? I did git clone https://github.com/drush-ops/drush drush8 |
Just make sure that you're using the master branch (git checkout master); if you weren't, though, then you should receive an error that Drupal 8 is not supported, so seems you've probably got the right branch. |
I just ran a drush site-install followed by a drush status, and both commands worked fine. I didn't do any further testing than this, though. |
Hi, I issued the command time drush8 si standard --account-mail=bilgi@webciniz.im --account-name=dev --db-su=root --db-su-pw=drakkar --db-url=mysql://d8testbeduser@d8testbedpass:localhost/d8testbed --site-name="dev env" and again I got This is my .git/config (did I get the right thing?) cat .git/config |
From your initial output, it looks like you're on
I think this is safe to close? If you have another issue on the correct branch, then I imagine it would make more sense to open another :) Cheers! EDIT: It's always good to start off a bug report with a sanity check like this -- for both you and the person trying to help you out:
|
I'm going to close as a duplicate of #123. |
It seems that the other dup lacked errors. I also see that your error involves To try to distinguish a little better @kartagis, perhaps you could temporarily remove your aliases (or rename the whole ~/.drush folder) to try to narrow down the error. If it goes away without your aliases, then that's incredibly useful. |
I don't use aliases for this particular folder. |
@patcon @greg-1-anderson I see that this issue references to a few issues, such as #123 but I highly doubt that's even similar, as I'm not on PHP 5.5. |
This happens if the --db-url is malformed: |
I was (wrongly) doing user@password:localhost/dbname instead of user:password@localhost/dbname. I found that out a bit late. Thanks though. |
Hi,
I was trying to re-install my drupal 8 testbed and I thought I'd give Drush a whirl with this. What I did was drush8 -y si standard --db-url=mysql://d8testbeduser:d8testbedpass@localhost/d8testbed --account-name=dev --account-mail=me@example.com --account-pass=pass
and I got
You are about to DROP all tables in your 'd8testbed' database. Do you want to continue? (y/n): y
PHP Fatal error: Uncaught exception 'Exception' with message 'The configuration directory type active does not exist.' in /var/www/drupal-8/core/includes/bootstrap.inc:491
Stack trace:
The text was updated successfully, but these errors were encountered: