I am using Drush 5.4 on my ubuntu system. Drush works fine for D6 and D7. But whenever I run any drush command or simlpy run drush, I always get following PHP fatal error in D8,
PHP Fatal error: Uncaught exception 'Exception' with message 'The configuration directory type active does not exist.' in /var/www/d8/core/includes/bootstrap.inc:535
Stack trace:
#0 /var/www/d8/core/includes/bootstrap.inc(2442): config_get_config_directory('active')
#1 /var/www/d8/core/includes/bootstrap.inc(2713): drupal_container()
#2 /var/www/d8/core/includes/bootstrap.inc(1494): language('language_interf...')
#3 /usr/share/php/drush/includes/output.inc(142): t('Initialized Dru...', Array)
#4 /usr/share/php/drush/includes/bootstrap.inc(696): dt('Initialized Dru...', Array)
#5 /usr/share/php/drush/includes/bootstrap.inc(185): _drush_bootstrap_drupal_root()
#6 /usr/share/php/drush/includes/bootstrap.inc(345): drush_bootstrap(1, 3)
#7 /usr/share/php/drush/commands/core/help.drush.inc(260): drush_bootstrap_max(3)
#8 [internal function]: drush_core_help()
#9 /usr/share/php/drush/includes/command.inc(324): call_user_func_array('drush_core_help', Array)
#10 /usr/share/php/drush/includes/command.inc(19 in /var/www/d8/core/includes/bootstrap.inc on line 535
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Uncaught exception 'Exception' with message 'The configuration directory type active does not exist.' in
/var/www/d8/core/includes/bootstrap.inc:535
Stack trace:
#0 /var/www/d8/core/includes/bootstrap.inc(2442): config_get_config_directory('active')
#1 /var/www/d8/core/includes/bootstrap.inc(2713): drupal_container()
#2 /var/www/d8/core/includes/bootstrap.inc(1494): language('language_interf...')
#3 /usr/share/php/drush/includes/output.inc(142): t('Initialized Dru...', Array)
#4 /usr/share/php/drush/includes/bootstrap.inc(696): dt('Initialized Dru...', Array)
#5 /usr/share/php/drush/includes/bootstrap.inc(185): _drush_bootstrap_drupal_root()
#6 /usr/share/php/drush/includes/bootstrap.inc(345): drush_bootstrap(1, 3)
#7 /usr/share/php/drush/commands/core/help.drush.inc(260): drush_bootstrap_max(3)
#8 [internal function]: drush_core_help()
#9 /usr/share/php/drush/includes/command.inc(324): call_user_func_array('drush_core_help', Array)
#10 /usr/share/php/drush/includes/command.inc(19 in /var/www/d8/core/includes/bootstrap.inc, line 535
This is happening from last couple of weeks. I keep updating my system using git pull so that I always have latest code. Not sure whether Drush is compatible with D8 or not.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drush-1822722.patch | 1.16 KB | jonhattan |
Comments
Comment #1
marcingy commentedComment #2
jonhattanThe compatibility with drupal 8 is being worked in the master branch of drush.
I think we should explicitly drop any drupal 8 support in drush 5.x. Here's a start
Comment #3
greg.1.anderson commentedLooks like a good idea to me.
Comment #4
jonhattanCommitted along with other changes.
http://drupalcode.org/project/drush.git/commitdiff/c03d16f?hp=e6d3a32e7c...
http://drupalcode.org/project/drush.git/commitdiff/d19345279a152ea4117ef...
Comment #6
Chris CharltonCan someone update the README and/or project page to point out D8 is dropped from Drush 5.x, please.
Comment #7
moshe weitzman commentedI updated the project page. The README files are already correct for drush5 and drush6
Comment #8
greg.1.anderson commentedI added a link to the git instructions for cloning the master branch, to guide folks to the development branch for Drush6.