Omeka\File\Exception\RuntimeException: Failed to copy "/tmp/omekaa7fv3usg8c75bpzCjRd"

We are trying to upload media and add new sites but we get:
Omeka\File\Exception\RuntimeException: Failed to copy “/tmp/omekaa7fv3usg8c75bpzCjRd” to “/var/www/html/files/original/063a845789cb8c91a87d25aed1fff6f4a1c721bc.tif”. in /var/www/html/application/src/File/Store/Local.php:49

I was yesterday able to add some media to a site after an update to Version 4.11 and updating modules. We were having the problem previous which is why we did updates and upgrade.
I cleared the log which had over 3,000 entries cleared the cache on my browser but still get an error. It sends me to the Omeka S encountered an error page.
Even the one I put media into yesterday gives me the same error.
I also got after clearing logs this error:
Omeka\Service\FulltextSearchFactory::__invoke(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead

This is what the log shows for the failed to copy error:
Omeka\File\Exception\RuntimeException: Failed to copy “/tmp/omeka5huqr9ljfj8h0m0UylF” to “/var/www/html/files/original/0eda84cd4cc8a27a4418de1b77574817cceb247d.tif”. in /var/www/html/application/src/File/Store/Local.php:49
Stack trace:
#0 /var/www/html/application/src/File/TempFile.php(227): Omeka\File\Store\Local->put(‘/tmp/omeka5huqr…’, ‘original/0eda84…’)
#1 /var/www/html/application/src/File/TempFile.php(238): Omeka\File\TempFile->store(‘original’)
#2 /var/www/html/application/src/File/TempFile.php(435): Omeka\File\TempFile->storeOriginal()
#3 /var/www/html/modules/FileSideload/src/Media/Ingester/Sideload.php(123): Omeka\File\TempFile->mediaIngestFile(Object(Omeka\Entity\Media), Object(Omeka\Api\Request), Object(Omeka\Stdlib\ErrorStore), true, true, true, true)
#4 /var/www/html/application/src/Api/Adapter/MediaAdapter.php(170): FileSideload\Media\Ingester\Sideload->ingest(Object(Omeka\Entity\Media), Object(Omeka\Api\Request), Object(Omeka\Stdlib\ErrorStore))
#5 /var/www/html/application/src/Api/Adapter/AbstractEntityAdapter.php(643): Omeka\Api\Adapter\MediaAdapter->hydrate(Object(Omeka\Api\Request), Object(Omeka\Entity\Media), Object(Omeka\Stdlib\ErrorStore))
#6 /var/www/html/application/src/Api/Adapter/ItemAdapter.php(306): Omeka\Api\Adapter\AbstractEntityAdapter->hydrateEntity(Object(Omeka\Api\Request), Object(Omeka\Entity\Media), Object(Omeka\Stdlib\ErrorStore))
#7 /var/www/html/application/src/Api/Adapter/AbstractEntityAdapter.php(643): Omeka\Api\Adapter\ItemAdapter->hydrate(Object(Omeka\Api\Request), Object(Omeka\Entity\Item), Object(Omeka\Stdlib\ErrorStore))
#8 /var/www/html/application/src/Api/Adapter/AbstractEntityAdapter.php(453): Omeka\Api\Adapter\AbstractEntityAdapter->hydrateEntity(Object(Omeka\Api\Request), Object(Omeka\Entity\Item), Object(Omeka\Stdlib\ErrorStore))
#9 /var/www/html/application/src/Api/Manager.php(233): Omeka\Api\Adapter\AbstractEntityAdapter->update(Object(Omeka\Api\Request))
#10 /var/www/html/application/src/Api/Manager.php(136): Omeka\Api\Manager->execute(Object(Omeka\Api\Request))
#11 /var/www/html/application/src/Mvc/Controller/Plugin/Api.php(152): Omeka\Api\Manager->update(‘items’, ‘338’, Array, Array, Array)
#12 /var/www/html/application/src/Controller/Admin/ItemController.php(254): Omeka\Mvc\Controller\Plugin\Api->update(‘items’, ‘338’, Array, Array)
#13 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): Omeka\Controller\Admin\ItemController->editAction()
#14 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#15 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#16 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#17 /var/www/html/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#18 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#19 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#20 /var/www/html/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#21 /var/www/html/index.php(21): Laminas\Mvc\Application->run()
#22 {main}

I am not sure what to have checked out sue to the fact it worked then quit working the same day. Any guidance would be appriciated.

This error is saying there was an error when trying to move an uploaded file to the Omeka files folder.

Things I would check:

  • Are you out of space on your disk?
  • Have the permissions of the files folder or its subfolders been changed?