Customer bought a theme that has Commerce plugin installed with sample data.
Anxious to get running and try out the new configuration system, I did what I do prior to Drupal 8.6. Commit everything but sensitive info into git and cloned to my local, dumped the MySql db. After getting the index page, every page returns a 500 error. One is
Attempt to create a field commerce_remote_id that does not exist on entity type user despite the commerce_remote_id table in existence.
The entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() in another.
Drag copying all files from modules/commerce, modules/profile should get me past these errors.
drush updb returns no updates needed.
drush cr offers no relief.
OK, I wanted to start using the new configuration system. On customer site
drush cex and committed to git.
On my local after
drush cim returns:
This import is empty and if applied would delete all of your configuration, so has been rejected.
As I research this, it appears that drush will not import, but prefer to use
drush site:install with an existing configuration.
OK, the strong imperative within the community is to use composer to do a new site install.
Can drush 9.5.2 install a new site onto itself using the existing settings.php file? I would like to get the sync configuration files working so that I can remove that as a factor to resolve my local site being hosed.
I read in another tutorial that the UUID must be copied over because if the customer and my local are to have the configuration work together that the UUID in system.site.yml must match. I can confirm that they do match.
drush config.get system.site returns the UUID that the source Drupal install is using.