Unable to install Plex

DancingShinryu

Dabbler
Joined
Jan 17, 2022
Messages
24
I have been trying for a few days to install the Plex plugin, but it always fails in 1 form of another. I have attempted to read more than several topics about the same issues I am having, but cannot find a solution to the problem. If I install with all default values (not altering anything) I always end up with the following error

Error: newplay had a failure Exception: RuntimeError Message: + Acquiring DHCP address: FAILED, address received: 0.0.0.0/8 Stopped newplay due to DHCP failure Partial plugin destroyed

If I follow what some people have stated to do, which was selecting advanced options, uncheck DHCP type into the IP address, then select DHCP again, then I get the following the same error (but I had doubts that would work anyway)

If I select all top boxes (Inclu NAT) then I get it installed, but the WebUI doesn't work "http://192.168.0.241:32400/web". I get the

This site can’t be reached​

192.168.0.241 refused to connect.
ERR_CONNECTION_REFUSED

I have also tried to install via the script and it fail. I do not know what to do. If anyone could please offer some suggestions. Here is the current settings of my network interface:

I also cannot start the plugin again after I stop it to add the mount points. I do not understand what is going on.

Edit. I am currently trying to get the system logs to post here, but I'm new to this system and I thought there would be an easy download option for this, so I learning how to download them via ssh.
 

Attachments

  • 2022-01-28 (5).png
    2022-01-28 (5).png
    136.4 KB · Views: 375
  • 2022-01-28 (4).png
    2022-01-28 (4).png
    137.5 KB · Views: 233
  • 2022-01-28 (3).png
    2022-01-28 (3).png
    145.3 KB · Views: 362
Last edited:
Joined
Jan 7, 2015
Messages
1,155
This is a single command i use to spin up a plex server. You can open a shell from the TN GUI paste in this command and press enter.

echo '{"pkgs":["multimedia/plexmediaserver-plexpass","ca_root_nss"]}' > /tmp/pkgs.json && iocage create -r 12.2-RELEASE -p /tmp/pkgs.json -n plex ip4_addr="vnet0|192.168.0.222/24" defaultrouter=192.168.0.1 vnet=on boot=on allow_raw_sockets=1 host_hostname="PLEX" && iocage exec plex sysrc plexmediaserver_plexpass_enable=YES && iocage exec plex service plexmediaserver_plexpass start


As this code is written will install plex to its own jail named plex to 192.168.0.222. If youd like to change the jail name (already have plex jail)s name, feel free including the IP. If im reading your ip info correct from your screenshots, my bet says this code will work as written. Much better than using the plugin. But certainly change if you want to or have to.

Then you can access your working plex at http://192.168.0.222:32400/web and be met with a wizard of some form. Or whatever IP you decide to use.
 
Last edited:
Joined
Jan 7, 2015
Messages
1,155
Also remove the plex plugin its just not good apparently with the issues everyone has. When and if this works out for you.
 

DancingShinryu

Dabbler
Joined
Jan 17, 2022
Messages
24
This is a single command i use to spin up a plex server. You can open a shell from the TN GUI paste in this command and press enter.

echo '{"pkgs":["multimedia/plexmediaserver-plexpass","ca_root_nss"]}' > /tmp/pkgs.json && iocage create -r 12.2-RELEASE -p /tmp/pkgs.json -n plex ip4_addr="vnet0|192.168.0.222/24" defaultrouter=192.168.0.1 vnet=on boot=on allow_raw_sockets=1 host_hostname="PLEX" && iocage exec plex sysrc plexmediaserver_plexpass_enable=YES && iocage exec plex service plexmediaserver_plexpass start


As this code is written will install plex to its own jail named plex to 192.168.0.222. If youd like to change the jail name (already have plex jail)s name, feel free including the IP. If im reading your ip info correct from your screenshots, my bet says this code will work as written. Much better than using the plugin. But certainly change if you want to or have to.

Then you can access your working plex at http://192.168.0.222:32400/web and be met with a wizard of some form. Or whatever IP you decide to use.
Thank you for your reply, I have now got this error
 

Attachments

  • 2022-01-28 (8).png
    2022-01-28 (8).png
    151.2 KB · Views: 380

DancingShinryu

Dabbler
Joined
Jan 17, 2022
Messages
24
Code:
root@truenas[~]# iocage exec plex ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=0<> metric 0 mtu 33160
        groups: pflog
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:d7:a1:14:fa:0a
 
Top