This will often fail because the process starts on one server instance where a temp file is created, and that’s stored in the DB. The batch then passes the process to another instance. It reads the data from the DB, but can’t find the temp file.

A possible solution would be to allow the use of the private files directory instead of the temporary but that would also require some file cleanup.

I'm not sure of the best solution for this.

Comments

steven jones’s picture

Category: bug » support
Status: Active » Fixed

I'm fairly certain that there's quite a few places in Drupal that will fail like this unless you either:

  1. Make sessions sticky to your webservers.
  2. Share you temporary files folder via NFS (or similar) between your webservers.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.