How can I fix site UUID does not match error during config import?
Site UUID in source storage does not match the target storage.


Make sure you've system.site.yml on your staging site, see: Site UUID in source storage does not match the target storage.

To check the current UUID, run:

drush config-get "system.site" uuid


to change it, run:

drush config-set "system.site" uuid "xyz"


See: How can I import the configuration on a different site?


  Entities exist of type Shortcut link and Shortcut set Default. These entities need to be deleted before importing.


Try removing these entities manually before the import as it says.


  The core.extension configuration does not exist.


Make sure you've core.extension.yml file in your config folder, otherwise generate one via config-export.


  Can not uninstall the Configuration module as part of a configuration synchronization through the user interface.


Most likely it's related to the missing core.extension.yml.



Few hints:


You can also try to import the config using Drupal Console using config:import.
For debugging purposes, try to import one file at a time. See: Import a single yml configuration file. For example:

drupal config:import:single --directory=$PWD/config/sync --file=file.yml

If you're using different config dirs per environment, consider using Config Split.