A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
How to set a unique hash_salt for an individual site | Cloud Platform | Acquia Product Documentation
Cloud Platform
How to set a unique hash_salt for an individual site
How to set a unique hash_salt for an individual site
Date Published: January 12, 2024
Environment
Multi-site
Acquia Cloud Site Factory
Objective
In certain scenarios, if your application is using a multisite setup (like Acquia Site Factory), non-specific "PluginNotFound" or "Module not found" errors can show up in the logs.
Drupal\Component\Plugin\Exception\PluginNotFoundException: "The {...} plugin does not exist. Valid plugin IDs...
Drupal\Core\Extension\Exception\UnknownExtensionException: The module {...} does not exist. in {...}/core/lib/Drupal/Core/Extension/ExtensionList.php {...}
This happens because Drupal keeps track of available resources (modules, plugins, etc.) in shared cache backends (like memcache or APCu) that use the hash_salt value to identify the multisite instance. If this hash_salt isn't unique for each site, it can cause one multisite's settings to "bleed" into the other site(s).