This guide gives you the requirements and procedure for staging down syndication websites in Site Factory.
Configuration must be done in code or the equivalent. Generally, this means that all the settings found in the configuration acquia_contenthub.admin_settings should be stored in settings.php or a post-settings-php factory hook.
To check this using drush, run the following command on each site in each environment:
drush cget acquia_contenthub.admin_settings --include-overriddenThe following conditions must be true while looking at all the responses holistically:
This process assumes the following:
Queues should be paused while staging down a site. Check the Scheduled Jobs in Site Factory.
All content stored in the Content Hub service associated with the target environment must be removed before staging sites down.
Filters may have changed in the source environment, and you will need to recreate them after staging down.
This can be done from the Site Factory user interface. Stage down the entire fleet of websites instead of staging down a single site.
Look at all the filters in the source environment’s Content Hub account and add them to the target environment’s Content Hub account.
Look at the entities exported stored in the acquia_contenthub_publisher_export_tracking table. Loop through the entities and add them to the queue again for export in the target environment.
The publisher will export all the entities that were queued in step 6. These exports must be completed before moving on to the next step.
Interests cannot be built until the entities exist in the service; therefore, don’t perform this step until the exports have completed. Add each site’s interests to the Content Hub service in the target environment by running the drush ach-wi-sync command. This must be done for each subscribing site.
Add each site’s interests to the Content Hub service in the target environment. All imported entities are stored in the acquia_contenthub_subscriber_import_tracking table. At this point, you should be able to syndicate content based on the filters you created in step 5 and/or manually import content from the Discovery interface.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
This guide gives you the requirements and procedure for staging down syndication websites in Site Factory.
Configuration must be done in code or the equivalent. Generally, this means that all the settings found in the configuration acquia_contenthub.admin_settings should be stored in settings.php or a post-settings-php factory hook.
To check this using drush, run the following command on each site in each environment:
drush cget acquia_contenthub.admin_settings --include-overriddenThe following conditions must be true while looking at all the responses holistically:
This process assumes the following:
Queues should be paused while staging down a site. Check the Scheduled Jobs in Site Factory.
All content stored in the Content Hub service associated with the target environment must be removed before staging sites down.
Filters may have changed in the source environment, and you will need to recreate them after staging down.
This can be done from the Site Factory user interface. Stage down the entire fleet of websites instead of staging down a single site.
Look at all the filters in the source environment’s Content Hub account and add them to the target environment’s Content Hub account.
Look at the entities exported stored in the acquia_contenthub_publisher_export_tracking table. Loop through the entities and add them to the queue again for export in the target environment.
The publisher will export all the entities that were queued in step 6. These exports must be completed before moving on to the next step.
Interests cannot be built until the entities exist in the service; therefore, don’t perform this step until the exports have completed. Add each site’s interests to the Content Hub service in the target environment by running the drush ach-wi-sync command. This must be done for each subscribing site.
Add each site’s interests to the Content Hub service in the target environment. All imported entities are stored in the acquia_contenthub_subscriber_import_tracking table. At this point, you should be able to syndicate content based on the filters you created in step 5 and/or manually import content from the Discovery interface.
If this content did not answer your questions, try searching or contacting our support team for further assistance.