SOLVED Roku 4 wants Plex version 1.18.3

Matt_G

Explorer
Joined
Jan 24, 2016
Messages
65
Fired up the Roku last night and the Plex client wants version 1.18.3 or higher of Plex server.
(I love how this stuff jams updates down your throat with you having no say in the matter.)

Upgraded my jail/plugin but it seems the latest official release of the Plex Media Server plugin for FreeNAS is 1.18.2
Not high enough, the client still refuses to connect to the server.

Anyone have any idea when an upgrade could be coming?

Does anyone know of another way to get around this?
WAF factor went thru the floor. :frown:
Iocage jail is on 11.2-RELEASE-p8.
I am still running version 11.2-U7 of FreeNAS.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702

Matt_G

Explorer
Joined
Jan 24, 2016
Messages
65
Thanks for the link.
I'll check that out.

Another question:
If I upgrade to TrueNAS will I still have the same issue or will the jail/plugin update or be able to be updated?
I have been reluctant to upgrade, because until Roku jammed this down my throat, everything was working fine.
"If it's not broken, don't fix it" is my motto.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
"If it's not broken, don't fix it" is my motto.
If you took that approach with your car, you would spend a lot of time walking.

Staying current and/or supported has value and allowing yourself to drop out of support could be seen as allowing it to break.

If I upgrade to TrueNAS will I still have the same issue or will the jail/plugin update or be able to be updated?
That script works on the latest version, but you can also just do the pkg upgrade or use the GUI option if you're on the latest version.
 

Matt_G

Explorer
Joined
Jan 24, 2016
Messages
65
Another question.
I see that I should be copying the bash script to the root of the jail and then running it from the jail.
Correct?
So if my iocage jail is called plex, would the following path be the root of the jail?
/mnt/Poolname/iocage/jails/plex/root
or would it be
/mnt/Poolname/iocage/jails/plex

As you can see, I am not a BSD guy.
I have a lot to learn.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
/mnt/Poolname/iocage/jails/plex/root
This is where the files that your jail can see will live... put it somewhere in /usr/local under that (for the example below, I assume you put it in /usr/local/MPS_Updater.sh).

you can then execute it with a command like this (without needing to run it from the jail console):
iocage exec plexmediaserver "/usr/local/PMS_Updater.sh -a"
 

Matt_G

Explorer
Joined
Jan 24, 2016
Messages
65
OK, I got the script copied to the jail.
It's in /mnt/MainPool/iocage/jails/plex/root/usr/local/PMS_Updater.sh

When I run iocage exec plex "usr/local/PMS_Updater.sh -a"
I get this output: /bin/sh: /usr/local/PMS_Updater.sh: not found
If I run the ls command on that path the file is there.
It doesn't seem to matter where I put the file, it will tell me it's not there when I try and execute it.
Why?

So I then tried to run it from a shell inside the jail.
I did a cd to the /usr/local directory, verified the script was there with ls and tried to run it from there.
I get command not found.
WTH am I doing wrong?

BTW, here is how I got the script. (Thinking possible encoding issue?)
I opened a new blank bash script file in Context.
I then copied the raw code from the web and pasted it into that blank file.
Saved it as PMS_Updater.sh in my pool and then copied it where it needed to go using cp.
I don't think this is the issue but thought I should let you know how I acquired it.

Nevermind; I figured it out!

It was an encoding issue.
This thread was my issue and fix: https://forums.freebsd.org/threads/script-file-command-not-found.47259/
After fixing the script it ran perfectly and updated the Plex server painlessly.

Thanks for all your help sretalla.
I really appreciate it.
I have two weeks off coming up...I will probably upgrade to TrueNAS then.
 
Last edited:
Top