jbeez
Dabbler
- Joined
- Feb 9, 2015
- Messages
- 48
I was running into some issues with this script so I made some tweaks.
Quick notes
Edit: revised a little and merge with another pull request I saw that fixes the normal vs plexpass option. Find the updated version HERE. If your jail name is plex you shouldn't even need to change anything.
Remove is acting weird for me, need to look at that. it echos out that it's removing a bunch of directories in that /usr/local/share/ but it fails in the backend because they are directories and not normal files. When I look at the script its trying to reference a variable I don't see get set at all called PMSPATTERN. Not sure if that's a bug with how I'm working this or if that is also existent in the original.
Quick notes
- I run it as root in an ssh session on my main freenas box, not inside of a jail.
- Edit the variable up top to match your jail name
- I run it with the following command switches myself, ./newPMS_Updater.sh -a -v -c credentialfile
Edit: revised a little and merge with another pull request I saw that fixes the normal vs plexpass option. Find the updated version HERE. If your jail name is plex you shouldn't even need to change anything.
Remove is acting weird for me, need to look at that. it echos out that it's removing a bunch of directories in that /usr/local/share/ but it fails in the backend because they are directories and not normal files. When I look at the script its trying to reference a variable I don't see get set at all called PMSPATTERN. Not sure if that's a bug with how I'm working this or if that is also existent in the original.
Last edited: