I had already done it before, but got the same error. I am posting my commands, hope this will be clearer.
Code:
root@truenas[/mnt/Miror2x500Julien/nextcloud/install]# git clone https://github.com/danb35/freenas-iocage-nextcloud Cloning into 'freenas-iocage-nextcloud'... … Resolving deltas: 100% (485/485), done. root@truenas[...loud/install/freenas-iocage-nextcloud]# cd freenas-iocage-nextcloud/.git root@truenas[...install/freenas-iocage-nextcloud/.git]# nano nextcloud-config GNU nano 4.8 nextcloud-config JAIL_IP="192.168.1.17" DEFAULT_GW_IP="192.168.1.1" POOL_PATH="/mnt/Miror2x500Julien/nextcloud" TIME_ZONE="__________" HOST_NAME="___________" STANDALONE_CERT=1 root@truenas[...install/freenas-iocage-nextcloud/.git]# script nextcloud.log ./nextcloud-jail.sh Script started, output file is nextcloud.log script: ./nextcloud-jail.sh: No such file or directory Script done, output file is nextcloud.log root@truenas[...install/freenas-iocage-nextcloud/.git]# ls branches HEAD info nextcloud.log refs config hooks logs objects description index nextcloud-config packed-refs