User Tools

Site Tools


freenas:update_plex_plugin

This is an old revision of the document!


FreeNAS - Update Plex Plugin

Backup

Before updating the plugin, its a good idea to make a backup of the jail containing the plugin in case something goes wrong.

Go to the Jails menu option in the FreeNAS console and look for the name of the plugin you are to upgrade, the name will be listed in the jail column.

In this case, the jail is called PlexServer.

Navigate to the Shell menu in the FreeNAS console and run the command:

iocage snapshot -n snapname jailname

Change snapname to whatever you want to call the backup of the jail and change jailname to the name of your plugin listed in the jail.

So I will be running the command:

iocage snapshot -n PlexServer_backup PlexServer

If everything works correctly, you should get the message:

Snapshot: /Storage/iocage/jails/PlexServer@PlexServer_backup created

NOTE: The message will be slightly different depending on how you name your backup.


Update

Now you are ready to update your plugin to the latest version

Navigate to the Plugins → Installed menu in FreeNAS and get the name of name of the plugin, once again the name can be found in the Jails column.

Again, the name of my Plex jail is PlexServer.

Go back to the Shell menu in FreeNAS and run the command:

iocage update jailname
  • where jail_name is the name of the jail

So I will be running the command:

iocage update PlexServer

If everything works correctly, your shell should show the following:


Restart Plex

The last step in the process is to start the jail again.

Navigate to the Jails menu in FreeNAS, click on the three vertical dots and select the start option in the menu.

NOTE: Your Plex plugin is now updated to the latest version available from ixsystems.


Restore from Backup (Optional; If needed)

If the upgrade fails for some reason and you need to back to the old version, run the commands in order:

iocage stop jailname 
iocage snaplist jailname 
iocage rollback -n snapname jailname 

where:

  • jailname is the name of your jail.
  • snapname is the name of the jail backup we originally created.

References

freenas/update_plex_plugin.1592845528.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki