Have you changed the installation? I do not know “Freenas”. But perhaps there is a conflict between the php-version and the imagemagick-version. On normal linux systems (Debian or Ubuntu) you install “php-imagick” https://packages.debian.org/buster/php-imagick
Read another thread about php-imagick:
Imagick missing - version php 7.3