Ixian
Patron
- Joined
- May 11, 2015
- Messages
- 218
Did you run
Also you're confusing the old Warden based jls commands with iocage. To console in to an iocage jail use
And if you are using the old Warden jails and running 11.x I highly recommend migrating Plex to iocage. There are instructions all over on how to do that, it isn't hard.
Edit: Wait, it looks like you are trying to run this script from Freenas root? You need to run it inside the Plex jail itself. Either by opening a console session or running
i.e.
pkg upgrade
in the jail? It looks like the pkg system isn't installed, which I believe is the default for new iocage jails.Also you're confusing the old Warden based jls commands with iocage. To console in to an iocage jail use
iocage console <jailname>
where <jailname> is the name of the iocage jail you installed Plex in. If it's an older Warden jail, the command is still jexec <jailnumber> csh
or replace csh with whatever shell you prefer.And if you are using the old Warden jails and running 11.x I highly recommend migrating Plex to iocage. There are instructions all over on how to do that, it isn't hard.
Edit: Wait, it looks like you are trying to run this script from Freenas root? You need to run it inside the Plex jail itself. Either by opening a console session or running
iocage exec <jailname> <commands to run in jail>
i.e.
iocage exec plex pkg upgrade
to update the pkg system in a jail named "Plex". Probably easier just to console in to the jail shell and do it there though.