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?

Received 100 so far from 4 kind contributors.