Update repository and install packages:
>pkg upgrade
>pkg install nano
Enable SSHD:
>sysrc sshd_enable=yes
Force a OwnCloud (plugin) full scan on a FreeNAS machine:
su -m www -c '/usr/pbi/owncloud-amd64/bin/php /usr/pbi/owncloud-amd64/www/owncloud/occ files:scan --all'