Closed acollien closed 1 year ago
You can edit the script and set "PLEXPASS=0" in Line 17.
You can use "./PMS_Updater.sh -v -a -n" also to use normal public build instead of plexpass build.
Open and update the script fix the Plex Media Server: not found
error.
PMSLIVEFOLDER="plexmediaserver"
PMSBAKFOLDER="plexmediaserver.bak"
Install perl.
pkg install perl5
As @madhub0815 said, run with -n
to use the regular (e.g. non-premium) updates.
Step 1
Open and update the script fix the
Plex Media Server: not found
error.PMSLIVEFOLDER="plexmediaserver" PMSBAKFOLDER="plexmediaserver.bak"
Step 2
Install perl.
pkg install perl5
Step 3
As @madhub0815 said, run with
-n
to use the regular (e.g. non-premium) updates.
You, sir, are a scholar and a gent. Fixed, thank you. Can close.
Actually! something screwy happened. The update went fine, but now Plex isn't quite working like it should. E.g. I had a few plugins installed, but they're not showing now. I can't access (or at least it says "Server settings are unavailable" for every section under the 'SETTINGS' and 'MANAGE' headings.... I can still play my and add new things to the library, but it won't match or download metadata anymore. Any idea what's happened?
@ariejan @madhub0815 Same result when I tried both your methods.
root@plex:/ # ./PMS_Updater.sh -v -a -n
./PMS_Updater.sh: /usr/local/share/plexmediaserver-plexpass/Plex Media Server: not found
Using URL https://plex.tv/api/downloads/5.json
Downloading https://plex.tv/api/downloads/5.json
--2019-03-31 10:44:04-- https://plex.tv/api/downloads/5.json
Resolving plex.tv (plex.tv)... 63.32.177.143, 52.16.101.236, 52.31.211.151, ...
Connecting to plex.tv (plex.tv)|63.32.177.143|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘/tmp/5.json’
5.json [ <=> ] 19.16K --.-KB/s in 0s
Last-modified header missing -- time-stamps turned off.
2019-03-31 10:44:06 (44.5 MB/s) - ‘/tmp/5.json’ saved [19619]
Download Complete
Searching https://plex.tv/api/downloads/5.json for the FreeBSD download URL .....Done.
Downloading https://downloads.plex.tv/plex-media-server-new/1.15.2.793-782228f99/freebsd/PlexMediaServer-1.15.2.793-782228f99-FreeBSD-amd64.tar.bz2
--2019-03-31 10:44:06-- https://downloads.plex.tv/plex-media-server-new/1.15.2.793-782228f99/freebsd/PlexMediaServer-1.15.2.793-782228f99-FreeBSD-amd64.tar.bz2
Resolving downloads.plex.tv (downloads.plex.tv)... 2606:4700::6812:9c29, 2606:4700::6812:9d29, 104.18.157.41, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|2606:4700::6812:9c29|:443... failed: No route to host.
Connecting to downloads.plex.tv (downloads.plex.tv)|2606:4700::6812:9d29|:443... failed: No route to host.
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.157.41|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘/tmp/PlexMediaServer-1.15.2.793-782228f99-FreeBSD-amd64.tar.bz2’ not modified on server. Omitting download.
Download Complete
Verifying /tmp/PlexMediaServer-1.15.2.793-782228f99-FreeBSD-amd64.tar.bz2 .....Done
Removing previous PMS Backup .....Done.
Stopping Plex Media Server .....plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Done.
Moving current Plex Media Server to backup location .....mv: rename /usr/local/share/plexmediaserver-plexpass/ to /usr/local/share/plexmediaserver-plexpass.bak/: No such file or directory
Done.
Extracting /tmp/PlexMediaServer-1.15.2.793-782228f99-FreeBSD-amd64.tar.bz2 .....Done.
Starting Plex Media Server .....plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Done.
OK - solved. Looks like plex changed something again, so maybe the PMS_Updater script needs a tweak?
Solution here: Manually updating plex
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Ran below code as root user. Running most recent stable version of FreeNAS (11.2-U2.1?)
Also, not sure if relevant, but I don't have/use plexpass - just want to update to newest stable.