Update Plex in jail for FreeNAS 11.1 install manually...failing

Status
Not open for further replies.

Guinea

Explorer
Joined
Aug 1, 2017
Messages
84
So I followed the popular "Install Plex in a jail for FreeNAS 11.1" instructions to clear up some permissions issues I was having. Everything worked great, including my camera sync functionality. In doing so, I blew away my original PMS_Updater.sh script. So I went back to follow the instructions and run the script again to manually update Plex to the current version. I am getting a ton of errors and have gotten as far as I can go with my own level of troubleshooting. Here is what it says...

./PMS_Updater.sh: wget: not found
Error downloading https://plex.tv/api/downloads/1.json?channel=plexpass
root@Plex:/ # ./PMS_Updater.sh -vv -a
Using URL https://plex.tv/api/downloads/1.json?channel=plexpass
Downloading https://plex.tv/api/downloads/1.json?channel=plexpass
./PMS_Updater.sh: wget: not found
Error downloading https://plex.tv/api/downloads/1.json?channel=plexpass

I modified the PMS_Updater.sh script to have the updated locations as follows:

PMSPARENTPATH="/usr/local/share"
PMSLIVEFOLDER="plexmediaserver"

My Plex jail is called "Plex" FYI. I am not sure what is going wrong with this script. It doesn't seem capable of pulling down the right binaries. Is the script pulled from the github repo updated and requires different parameters? I was originally running it like this: ./PMS_Updater.sh -vv -a, but that doesn't seem to do anything more.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
./PMS_Updater.sh: wget: not found
wget isn't installed in your jail. Easy fix: pkg install wget.

But why bother with that script? Install the package and be on your way. Or if you're concerned about being more up-to-date, use ports instead. Either will be better integrated into the OS, and won't require you to manually install other tools to execute.
 

Guinea

Explorer
Joined
Aug 1, 2017
Messages
84
wget isn't installed in your jail. Easy fix: pkg install wget.

But why bother with that script? Install the package and be on your way. Or if you're concerned about being more up-to-date, use ports instead. Either will be better integrated into the OS, and won't require you to manually install other tools to execute.

Is there a tutorial on how to set that up? From what I read, the script was the only way to get the latest version. My server is telling me a new version is available, but when I go to do a pkg upgrade on it, it says it is already up to date. Is there a way to do this automatically and reliably?
 
Status
Not open for further replies.
Top