If you setup a new site from a database dump it's important that you reset the local state of Content Sync on that site. Otherwise your new site will be mistaken for your previous site which can have many unwanted consequences.
To reset your local Content Sync state:
- Manually edit the "CMS Content Sync" user and set a new password that consists of 60 random alphanumerical characters.
- Run this drush command in your CLI: drush ev '$state = Drupal::state(); $state->delete("cms_content_sync.base_url"); $state->delete("cms_content_sync.site_id"); $state->delete("cms_content_sync.site_uuid");'.
- Open the Settings tab of Content Sync and enter the new base URL.
- Register your site again at the Site tab of Content Sync.
- Open the Pools tab of Content Sync and for every Pool, use "Reset status entities".
- If this site will use different Flow configurations, delete all Flows that this site will not use but that the previous (dumped) site used.
- Do this even if you are importing them again later with Drupal's config-import and have them inactive. This will delete the status entities associated with your push and pull operations on the previous (dumped) site that may otherwise interfere with your new configuration.
- Create or activate all the Flows you need on this site and export them all to the Sync Core.