How to show plex (or other) plugin after warden to iocage migration?

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
Hello,

I don't update my plex and freenas version for a while. I just migrate Freenas from 9.10 to 11.2 U3 and do the migration of the Warden to iocage for plex. Now I need to show the plugin in the new UI and I don't know what to do. I have an old plex version (1.7.5) and I need to upgrade to the latest version because of my TV plex app.

there is no problem withe the iocage migration, the jail is running and I can access all my media through the local url but I need to show the plugin in the "plugin" section to be able to update Plex.

Thx
 

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
I'm still looking through the web but nothing... perhaps it's not possible and the only way to get my plugin in "plugins" section is to get a fresh install of plex from the new gui?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Now I need to show the plugin in the new UI and I don't know what to do.
I don't believe it will show as an installed plugin, but you should see it as an installed jail. To update it, then, you'd probably need to go into the jail itself and run pkg upgrade.
 

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
hello,

thanks for the reply. with FN9.10 I was able to update my plex version with the "update" button in the plugin section. Today I reached to migrate the plex jail to iocage but I don't have the plugin plex's icon in the list.
here is the result of pkg update

Code:
pkg update

root@plexmediaserver_1:~ # pkg update
Updating repository catalogue
root@plexmediaserver_1:~ #



here with -f

Code:
root@plexmediaserver_1:~ # pkg update -f
Updating repository catalogue
digests.txz                                                              100% 2131KB 710.5KB/s   1.1MB/s   00:03
packagesite.txz                                                          100% 5580KB   1.1MB/s   1.2MB/s   00:05
pkg: package field incomplete: comment
Incremental update completed, 25079 packages processed:
20555 packages updated, 2967 removed and 4524 added.
pkg: Unable to find catalogs


Thx
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
oh sorry, I made a misstake and there is not the entire message. I said I tried pkg update and ugrade

here is the result for pkg upgrade

Code:
root@plexmediaserver_1:~ # pkg upgrade
Updating repository catalogue
Nothing to do


and here is the result with -f option

Code:
root@plexmediaserver_1:~ # pkg upgrade -f
Updating repository catalogue
Upgrades have been requested for the following 31 packages:

        Reinstalling base64-1.5_1
        Reinstalling ca_root_nss-3.16
        Reinstalling db42-4.2.52_5
        Reinstalling db48-4.8.30.0_1
        Reinstalling expat-2.1.0
        Reinstalling gcc-ecj-4.5
        Reinstalling gmp-5.1.3_2
        Reinstalling libiconv-1.14_3
        Reinstalling libtool-2.4.2_3
        Reinstalling libxml2-2.9.1_1
        Reinstalling lzo2-2.06_3
        Reinstalling mpfr-3.1.2_2
        Reinstalling pcre-8.34_1
        Reinstalling perl5-5.16.3_11
        Reinstalling pkg-1.2.7_2
        Reinstalling pkgconf-0.9.6
        Reinstalling sqlite3-3.8.4.3
        Reinstalling gettext-0.18.3.1_1
        Reinstalling iconv-2.0_4
        Reinstalling libidn-1.28_1
        Reinstalling mpc-1.0.2
        Reinstalling neon29-0.29.6_6
        Reinstalling python27-2.7.6_4
        Reinstalling wget-1.15
        Reinstalling binutils-2.24
        Reinstalling gcc-4.7.3_1
        Reinstalling gdbm-1.11
        Reinstalling apr-1.5.1.1.5.3
        Reinstalling aria2-1.18.5_1
        Reinstalling serf-1.3.6
        Reinstalling subversion-1.8.9

1 MB to be downloaded

Proceed with upgrading packages [y/N]: y
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/All/pkg-1.2.7_2.txz: Not Found
 

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
Code:
# iocage list
+-----+-------------------+-------+-------------+--------------+
| JID |       NAME        | STATE |   RELEASE   |     IP4      |
+=====+===================+=======+=============+==============+
| 10  | plexmediaserver_1 | up    | 9.2-RELEASE | 192.168.1.25 |
+-----+-------------------+-------+-------------+--------------+
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
OK, FreeBSD 9.2 is long since EOL, but you should be able to upgrade the jail to current. Take a snapshot of the jail first, though, in case it breaks. Then try iocage upgrade plexmediaserver_1 -r 11.2-RELEASE.
 

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
Ok it tell me to press enter to enter "vi" to manually merge /etc/hosts file. I know "vi" but I never merge any file with! I press enter and here is the result:

Code:
<<<<<<< current version
# : src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $
=======
# $FreeBSD: releng/11.2/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $
>>>>>>> 11.2-RELEASE
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
::1                     localhost localhost.localdomain
127.0.0.1               localhost localhost.localdomain plexmediaserver_1
192.168.1.25                    plexmediaserver_1


just have to do a :wq ?
 

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
I erased the text before # Host database line and save the file. The migration continued and I pressed "y" for each question about the changes into my group and permissions.

I got the following message : plexmediaserver_1 successfully upgraded from 9.2-RELEASE to 11.2-RELEASE-p9!

and now #iocage list say:

Code:
+-----+-------------------+-------+--------------+--------------+
| JID |       NAME        | STATE |   RELEASE    |     IP4      |
+=====+===================+=======+==============+==============+
| 11  | plexmediaserver_1 | up    | 11.2-RELEASE | 192.168.1.25 |
+-----+-------------------+-------+--------------+--------------+


Now when I enter in the jail and try to do pkg upgrade I have this:

Code:
root@plexmediaserver_1:~ # pkg upgrade
Shared object "libarchive.so.5" not found, required by "pkg"
 

Azdimi

Dabbler
Joined
Jun 24, 2014
Messages
27
It's ok for the previous problem. I "rebuild" pkg with
#pkg-static install pkg

After that I got the error of ABI version.So I have to edit the /usr/local/etc/pkg/repos/FreeBSD.conf and change the URL from pkg+http://pkg.FreeBSD.org/freebsd:9:x86:64/latest to pkg+http://pkg.FreeBSD.org/freebsd:11:x86:64/latest to be able to do pkg update and upgrade.

the pkg upgrade has succefully finish but now my plex is no longer accessible through the web ERR_CONNECTION_REFUSED
 
Last edited:
Top