'Configuration directories - Not present' on fresh install of Drupal 8

'Configuration directories - Not present' on fresh install of Drupal 8

1 post / 0 new
kevin.colligan's picture
kevin.colligan
Points: 0
'Configuration directories - Not present' on fresh install of Drupal 8

I am following the Acquia Academy OS Training Course, "Building Websites with Drupal 8" and have run into a bug.

I installed Dev Desktop as instructed and got to the step about "Install modules and turn them on with Drush" -- this ran fine, but in the Status Report, I had the following error message:

Configuration directories - Not present
Your sites/plaind.dd/settings.php file must define the $config_directories variable as an array containing the names of directories in which configuration files can be found. It must contain a sync key.

I was able to fix this manually by going into settings.php and replacing the following code:

$config_directories = array();

With this:

$config_directories['sync'] = 'sites/default/files/config_acqTmp-2017-03-14T12.01.04-0772';

I found the name of the directory by looking in sites -> defaults -> files and looked for a directory that started with "config_" and a long hash (this will vary by user, of course.)

Seems to work OK, now, but this had me stuck for awhile

Status: 
Unresolved