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
Comment #1
steven jones commentedI'm fairly certain that there's quite a few places in Drupal that will fail like this unless you either: