Plex wont update

johnism

Dabbler
Joined
Jul 17, 2012
Messages
15
I was following this thread and trying some the cmd to upgrade Plex ..

Below is my output -
FreeBSD 13.1-RELEASE-p9 n245429-296d095698e TRUENAS
TrueNAS (c) 2009-2023, iXsystems, Inc. All rights reserved.
TrueNAS code is released under the modified BSD license with some
files copyrighted by (c) iXsystems, Inc.
For more information, documentation, help or support, go here:
Welcome to TrueNAS
Warning: the supported mechanisms for making configuration changes

are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE

NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY

RESULT IN SYSTEM FAILURE.

root@truenas[~]# iocage list

+-----+----------+-------+--------------+------+

| JID | NAME | STATE | RELEASE | IP4 |

+=====+==========+=======+==============+======+

| 1 | plexjail | up | 13.0-RELEASE | DHCP |

+-----+----------+-------+--------------+------+

root@truenas[~]# iocage pkg plex upgrade

Updating iocage-plugins repository catalogue...

[plexjail] Fetching packagesite.pkg: .......... done

Processing entries:

Newer FreeBSD version for package zziplib:

To ignore this error set IGNORE_OSVERSION=yes

- package: 1302001

- running kernel: 1300139

Ignore the mismatch and continue? [y/N]: Processing entries... done


pkg: repository iocage-plugins contains packages for wrong OS version: FreeBSD:13:amd64


Unable to update repository iocage-plugins


pkg: repository iocage-plugins contains packages for wrong OS version: FreeBSD:13:amd64


Error updating repositories!


pkg: repository iocage-plugins contains packages for wrong OS version: FreeBSD:13:amd64


pkg: repository iocage-plugins contains packages foor wrong OS version: FreeBSD:13:amd64


Any idea what the CMD would be for my updated version ?
Thanks for any help,
John
 
Joined
Oct 22, 2019
Messages
3,641
You should "enter" the jail, first, before trying to update via the "pkg" command.
Code:
iocage console plexjail
 

johnism

Dabbler
Joined
Jul 17, 2012
Messages
15
now I get this ..
To change this login announcement, see motd(5).

root@plexjail:~ # iocage pkg plex upgrade

iocage: Command not found.

root@plexjail:~ #
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
The command given in that thread was wrong. Inside the jail (which you are in your last post), you'd run pkg upgrade. But it'd be better to first upgrade the jail to the current FreeBSD release. To do that, from the TrueNAS shell (i.e., not inside the jail), run iocage upgrade -r 13.2-RELEASE plexjail.
 

johnism

Dabbler
Joined
Jul 17, 2012
Messages
15
Looks like I am at 13.0 see output below ..

root@truenas[~]# iocage upgrade -r 13.2-RELEASE plexjail
Snapshotting plexjail...
Updating plugin INDEX...
Updating plugin artifact...
Cloning git repository

Branch 13.1-RELEASE does not exist at https://github.com/freenas/iocage-plugin-plexmediaserver.git!
Using "master" branch for plugin, this may not work with your RELEASE

Host: 13.1-RELEASE is not greater than target: 13.2-RELEASE
This is unsupported.
root@truenas[~]# iocage list
+-----+----------+-------+--------------+------+
| JID | NAME | STATE | RELEASE | IP4 |
+=====+==========+=======+==============+======+
| 1 | plexjail | up | 13.0-RELEASE | DHCP |
+-----+----------+-------+--------------+------+
root@truenas[~]#

Do I need to do a "iocage upgrade -r 13.1-RELEASE plexjail" and then "iocage upgrade -r 13.2-RELEASE plexjail"?
Thanks for the help!!!!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
If you're using the plugin (you didn't mention that in your OP), forget it. Leave it be until there's an upgrade available through the TrueNAS GUI, and come up with a plan to move away from the deprecated plugin.
 

johnism

Dabbler
Joined
Jul 17, 2012
Messages
15
I am assuming to move away from the plugin I would create a new jail / configure . Then export my Plex config and import that under the new setup ?
Are you aware of an documents on how to setup Plex with up the plugin ?
Thanks again
 

johnism

Dabbler
Joined
Jul 17, 2012
Messages
15
Check my signature for a list of scripts. Plex is there also.
AH very cool I will check it out . Now I am assuming this is setting a new configuration and everything or once the new jail is built can I export an Plex config of my current ?
Thanks again ...
 
Top