Offline upload path

14 views
Skip to first unread message

Andrew Wright (allrite)

unread,
May 28, 2023, 10:36:02 PM5/28/23
to ResourceSpace
Hi,

When I attempt to do an offline batch replacement of images where the resources were created via a CSV upload I get the following error:

PHP Fatal error:  Uncaught UnexpectedValueException: DirectoryIterator::__construct(/upload): failed to open dir: No such file or directory in /srv/www/html/resourcespace/include/job_handlers/replace_batch_local.php:57
Stack trace:
#0 /srv/www/html/resourcespace/include/job_handlers/replace_batch_local.php(57): DirectoryIterator->__construct('/upload')
#1 /srv/www/html/resourcespace/include/job_functions.php(322): include('/srv/www/html/r...')
#2 /srv/www/html/resourcespace/pages/tools/offline_jobs.php(134): job_queue_run_job(Array, false)
#3 {main}
  thrown in /srv/www/html/resourcespace/include/job_handlers/replace_batch_local.php on line 57
Running job #7
 - Looking for /srv/www/html/resourcespace/include/job_handlers/replace_batch_local.php
 - Attempting to run job #7 using handler replace_batch_local


I assume that the upload path is set incorrectly. How do I configure this? Where should files be stored for importation into RS?

Thanks!
Reply all
Reply to author
Forward
0 new messages