There are two methods to upgrade Plex Media Server in FreeNAS Jail.
- Method 1. Upgrading Plex Media Server to Latest FreeBSD Release. Using this method, you don't have to wait for FreeNAS developers to upgrade Plex Media Server in the plugin repository.
- Method 2. Upgrading Plex Media Server to Latest FreeNAS Plugin.
This post is about Method 2, and documents the steps to upgrade Plex Media Server on Command Line.
- Login or open FreeNAS shell
- List jails
$ jls
The output looks like the following
$ jls
JID IP Address Hostname Path
1 plex /mnt/Storage/iocage/jails/plex/root
$
- Open a shell inside the jail. The command is as follows,
jexec ${JID} csh
In the above, the jail ID (JID) is 1. Since we can only the csh as root, we open a shell inside the jail as follows
$ sudo jexec 1 csh
- Upgrading the
plexmediaserver
package. Inside the jail, we do
# pkg upgrade plexmediaserver
If the installed version is already latest, we should observe something similar to the following,
root@plex:/ # pkg upgrade plexmediaserver
Updating iocage-plugins repository catalogue...
iocage-plugins repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@plex:/ #
However, if there is a newer version, the upgrade will commerce.
- Restart Plex Media Server if it gets upgraded as follows inside the jail,
# service plexmediaserver restart
No comments:
Post a Comment