Fix error: The config sync directory is not defined in $settings["config_sync_directory"]

This error occurs when installing a drupal 9 installation. Drupal requires you to provide a folder to put in your configuration yml files. Add the following to your settings.php file:

$settings["config_sync_directory"] = '../config';

This fixes the issue.

Make sure the folder exists!

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!