Nextcloud Error on TrueNAS

Relax, he already gave you the solution, he made the changes and create a PR but until it will be merged you can just SSH to your TrueNAS and run this.

create nextcloud.json with this content:

{
    "name": "Nextcloud",
    "plugin_schema": "2",
    "release": "12.2-RELEASE",
    "artifact": "https://github.com/EliasGabrielsson/iocage-plugin-nextcloud.git",
    "official": false,
    "properties": {
        "nat": 1,
        "nat_forwards": "tcp(80:8282)"
    },
    "pkgs": [
        "ffmpeg",
        "nextcloud-php74",
        "php74-pecl-imagick-im7",
        "php74-bcmath",
        "php74-gmp",
        "php74-pcntl",
        "nginx",
        "mysql80-server"
    ],
    "packagesite": "http://pkg.FreeBSD.org/${ABI}/latest",
    "fingerprints": {
        "iocage-plugins": [
            {
                "function": "sha256",
                "fingerprint": "b0170035af3acc5f3f3ae1859dc717101b4e6c1d0a794ad554928ca0cbb2f438"
            }
        ]
    },
    "revision": "0"
}

run this command:

iocage fetch -P nextcloud.json

thanks @moddo