- π¨π¦Canada Charlie ChX Negyesi πCanada
We confirm this issue on Amazee, changing
$settings['file_temp_path']
to a directory shared between pods (virtual machines) solved it. - π¨π¦Canada deviantintegral
I think there's a related bug as well for servers hosting multiple distinct Drupal sites, such as in multisite. In our case, we were running automated tests in parallel and file uploads were failing around 30% of the time for files with the same name. Adding a random string to each uploaded file like mktemp does would solve this, but we just moved to using the private files directory.
- πΊπΈUnited States khaldoon_masud
#22 worked for me on Pantheon, but I believe we should introduce a setting to create a subdirectory within the designated schema. For example, saving temporary files in the private directory can lead to overcrowding with unsuccessful bulk uploads. We need a solution to manage and clean up those files, which can be achieved by running a cron job.