With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
The temporary files directory in Drupal is the location on your infrastructure where Drupal core and contributed modules upload files for processing.
Acquia’s require line in your website’s settings.php file configures the location of your temporary files directory to /mnt/tmp/[sitename].[env], where [sitename] is your application name and [env] is the environment. This location is available as an environment variable.
file_temp_path parameter to prevent issues with temporary files.file_temp_path parameter in Drupal's settings.php file, you might face issues. In such a case, ensure that you run Drupal cron to collect any old and garbage temporary files. In addition, you must set a low value for the file_temporary_max_age parameter in Drupal's settings.php file. This ensures that temporary garbage files are deleted sooner./tmp. The size of the /tmp directory is lesser than the size of the /mnt/tmp/[sitename].[env] directory. Therefore, it might run out of space in a short time, and might be purged quickly.file_temp_path parameter is /tmp.Drupal modules that write to temporary directories may require additional configuration to function properly in environments with multiple infrastructures, such as production environments for Cloud Platform Enterprise and Cloud Platform Site Factory. For more information, see Additional module issues and the following lists of modules:
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.