Hello there, at Drupal I'm looking for a sync key which is missing, where do i get that key , Any hint where to find that key would be nice.

Configuration directories : Not present
Your sites/drupal-8-3-3.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.

Comments

sprite’s picture

The D8 installation script automatically creates the "sync" directory, something like:

sites/default/files/config_{longrandomlygeneratedname}/sync

The installation script does this, you should not be trying to edit that by hand.

--

To install base core D8, just place the code, setup an empty SQL database, and run the install.php which will prompt for SQL database credentials and so forth and complete the install. Afterward, setup the composer utility and run composer update to have it freshen the contents of the /vendor directory. Then add whatever modules you want with composer require drupal/{module-name} and composer will update the code configuration. Then enable the added modules on the admin extend page of the website.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

roland01’s picture

since I'm in the mood doing a blog with drupal 8, I installed all accordingly. but I could not locate this sync directory , and I just want to get rid of those error messages, so that I can proceed with developing my blog with drupal. If you are inclined to help me with fixing this error, I will compensate you accordingly. I hope you own a paypal account just like me, that makes things easy. thank you so far I will now try to find this thing on my mac.

sprite’s picture

What exactly is the error and where is it appearing?

Provide the exact text of the error.
Provide the exact admin UI location where you see the error.

-

Since you are just getting started, I recommend that you just try a re-install, which should only take a couple minutes. Since that directory is something created automatically by Drupal core during install, you should have be trying to change it after the install.php runs.

-

Also provide a more detailed description of your server environment.

-

Seriously ... this problem should go way with a clean re-install of core.

Then just find a theme you like and start blogging.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

roland01’s picture

the tutorials told me that there would be 1 error intentionally , so i do have the course from tom geller about how to get rid of it, but it is confusing.
in my drupal site i click on configuration and than i can see the error report:

Errors found
Configuration directories

Configuration directories
Not present
Your sites/rs-airporttransfer.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.

sprite’s picture

What procedure did you use to install Drupal 8?

The error you see, apparent only the "admin/reports/status" report (not the configuration admin page), should not occur immediately after a proper D8 core installation. You are doing something very wrong during the installation process. You must be over thinking something because a D8 core install should be brainlessly simply and problem free.

Furthermore, your settings.php should be in the sites/default directory, not elsewhere, which indicates yet further and deeper problems with the way you have installed Drupal 8. You didn't follow the correct procedure, which should be mindlessly simple.

To install D8:

1. make sure your server's DNS is setup correctly.

2. unarchive a copy of D8 core from:

https://ftp.drupal.org/files/projects/drupal-8.3.3.zip

into the appropriate directory using .../public_html/{sitecodedirectory}/

Then just run http://{mysite}/install.php

- Answers the questions

Boom - D8 installed corrected.

The only warning that should appear in the "status report" is about setting the "trusted_host_patterns", which isn't actually truly necessary, but only advisable with contents such as for example, where "www\.mysite\.tld" in the example below should be changed to the site's URL name:

$settings['trusted_host_patterns'] = array(
'^www\.mysite\.tld$',
);

---

Clearly, you haven't followed the crazy simply Drupal 8 core basic setup properly.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

roland01’s picture

I downloaded Acquia Dev Desktop , and the tutorial explains that therefore the Drupal 8 is downloaded with it, but i have no idea where the thing is hiding on my mac, the tutorial says that error is in-build with intention. so i got to figure out how to get rid of it, If this is such a mess with drupal , I will just dump it and switch over to joomla. i just need a simple blog, and Drupal is really appealing on first look.

roland01’s picture

i deleted all the files regarding acquia dev desctop, and now I will download the direct source for drupal 8.

roland01’s picture

my apache install is gone , my mysql is gone , my site is gone and have no idea how to get this started, I will contact tom geller and go back to my
aquia dev desktop, I just let the error messages in there. thank you for your help. I will come back later , maybe someone has an idea to get rid of that error , have a nice day , thank you.

sprite’s picture

You left out all sorts of relevant and important information !!!!!!!
You didn't say you were running local on MacOS on a local/personal machine!!!!!

It is impossible to provide accurate information in vacuum, over the web, which is why I asked for more details.

You said absolutely NOTHING about running on your local computer on MacOS, or that you had installed Acquia Dev Desktop, which adds another layer of complication and unnecessary confabulation that would be sure to leave your confused about where Drupal begins and ends and where the Acquia crap begins and ends.

-

Start over ...

Download and Install MAMP (Mac Apache MYSql PHP).
Use MAMP for the "LAMP" stack on your MacOS.

Then install your core Drupal 8 files in the directory you setup with the Apache virtual hosts file.
- - - You are going to have to learn about configuring an Apache web server as a prerequisite.
- - - You may also have to learn a bunch about modifying a php.ini and the my.ini config files so that they have adequate memory and timeout settings.

-

Once you have the base MAMP system up and running, and you can launch a raw index.html from the root directory for the web server, then and only then are you ready to Install Drupal 8. Then you can follow my instructions above and Drupal 8 will install correctly. Be sure you have tested your MAMP server with a simple index.html file (you really MUST and NEED to under at least some basic HTML).

----------------------

If you don't understand basic MAMP configuration, trying out Joomla or Wordpress or anything else NOT going to help you.

Also, you should consider Drupal 7 carefully before jumping into Drupal 8 without knowing why you might want to consider that version upgrade.

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

roland01’s picture

I had the false impression that it is clear what I did. I will start with the drupal 7 tutorials and look what I might learn from thnk you so much for your help