Error uploading images, video

please advise what we can do – error is not readily understood

2021-02-10T20:04:52+00:00 ERR (3): Omeka\File\Exception\InvalidThumbnailerException: ImageMagick error: invalid ImageMagick command. in /home/st7030/domains/legacywinchester.org/public_html/application/src/File/Thumbnailer/ImageMagick.php:112
Stack trace:
#0 /home/stx/domains/legacywinchester.org/public_html/application/src/File/Thumbnailer/ImageMagick.php(41): Omeka\File\Thumbnailer\ImageMagick->setConvertPath(NAN)
#1 /home/stx/domains/legacywinchester.org/public_html/application/src/File/TempFile.php(264): Omeka\File\Thumbnailer\ImageMagick->setOptions(Array)
#2 /home/stx/domains/legacywinchester.org/public_html/application/src/File/TempFile.php(439): Omeka\File\TempFile->storeThumbnails()
#3 /home/stx/domains/legacywinchester.org/public_html/application/src/Media/Ingester/Upload.php(62): Omeka\File\TempFile->mediaIngestFile(Object(Omeka\Entity\Media), Object(Omeka\Api\Request), Object(Omeka\Stdlib\ErrorStore))
#4 /home/stx/domains/legacywinchester.org/public_html/application/src/Api/Adapter/MediaAdapter.php(159): Omeka\Media\Ingester\Upload->ingest(Object(Omeka\Entity\Media), Object(Omeka\Api\Request), Object(Omeka\Stdlib\ErrorStore))
#5 /home/stx/domains/legacywinchester.org/public_html/application/src/Api/Adapter/AbstractEntityAdapter.php(590): Omeka\Api\Adapter\MediaAdapter->hydrate(Object(Omeka\Api\Request), Object(Omeka\Entity\Media), Object(Omeka\Stdlib\ErrorStore))
#6 /home/stx/domains/legacywinchester.org/public_html/application/src/Api/Adapter/ItemAdapter.php(240): Omeka\Api\Adapter\AbstractEntityAdapter->hydrateEntity(Object(Omeka\Api\Request), Object(Omeka\Entity\Media), Object(Omeka\Stdlib\ErrorStore))
#7 /home/stx/domains/legacywinchester.org/public_html/application/src/Api/Adapter/AbstractEntityAdapter.php(590): Omeka\Api\Adapter\ItemAdapter->hydrate(Object(Omeka\Api\Request), Object(Omeka\Entity\Item), Object(Omeka\Stdlib\ErrorStore))
#8 /home/stx/domains/legacywinchester.org/public_html/application/src/Api/Adapter/AbstractEntityAdapter.php(318): Omeka\Api\Adapter\AbstractEntityAdapter->hydrateEntity(Object(Omeka\Api\Request), Object(Omeka\Entity\Item), Object(Omeka\Stdlib\ErrorStore))
#9 /home/stx/domains/legacywinchester.org/public_html/application/src/Api/Manager.php(224): Omeka\Api\Adapter\AbstractEntityAdapter->create(Object(Omeka\Api\Request))
#10 /home/stx/domains/legacywinchester.org/public_html/application/src/Api/Manager.php(78): Omeka\Api\Manager->execute(Object(Omeka\Api\Request))
#11 /home/stx/domains/legacywinchester.org/public_html/application/src/Mvc/Controller/Plugin/Api.php(99): Omeka\Api\Manager->create(‘items’, Array, Array, Array)
#12 /home/stx/domains/legacywinchester.org/public_html/modules/Collecting/src/Controller/Site/IndexController.php(54): Omeka\Mvc\Controller\Plugin\Api->create(‘items’, Array, Array)
#13 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(77): Collecting\Controller\Site\IndexController->submitAction()
#14 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#15 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#16 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#17 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-mvc/src/DispatchListener.php(139): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#18 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#19 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#20 /home/stx/domains/legacywinchester.org/public_html/vendor/laminas/laminas-mvc/src/Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#21 /home/stx/domains/legacywinchester.org/public_html/index.php(21): Laminas\Mvc\Application->run()
#22 {main}

Invalid ImageMagick command seems to be due to missing “convert” program. Where does /usr/sbin/convert come from (what source is it installed from)?

ImageMagick is typically installed from the distribution’s package manager, though it’s available independently as well.

/usr/bin/convert would be a more common location for it than /usr/sbin, though.