- π¨π¦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.