mstinaff / PMS_Updater

Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin
MIT License
442 stars 90 forks source link

Can not update to version 1.15.3.876 on FreeNAS FreeNAS-11.2-U3 #38

Closed JkJ076 closed 1 year ago

JkJ076 commented 5 years ago

Hi;

Got notice that there is a new version out on Plex Media server on my FreeNAS. Trying to update it via PMS-Updater-script like many times before.

But this time; not so good.

Replay from the Command Promt

Skal [root@JkJ ~]# jexec 2 csh
root@plexmediaserver_1:/ #
root@plexmediaserver_1:/ # fetch -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh
PMS_Updater.sh 100% of 9447 B 54 MBps 00m00s
root@plexmediaserver_1:/ #
root@plexmediaserver_1:/ # chmod 755 PMS_Updater.sh
root@plexmediaserver_1:/ #
root@plexmediaserver_1:/ # ./PMS_Updater.sh -v -a -r -f
Removing .font-unix
Removing .ICE-unix
Removing .X11-unix
Removing .XIM-unix
Using URL https://plex.tv/api/downloads/5.json?channel=plexpass
Downloading https://plex.tv/api/downloads/5.json?channel=plexpass
--2019-04-22 20:09:04-- https://plex.tv/api/downloads/5.json?channel=plexpass
Resolving plex.tv (plex.tv)... 99.80.10.222, 99.80.242.182, 99.81.119.124
Connecting to plex.tv (plex.tv)|99.80.10.222|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘/tmp/5.json?channel=plexpass’

5.json?channel=plexpass [ <=> ] 17.47K --.-KB/s in 0s

Last-modified header missing -- time-stamps turned off.
2019-04-22 20:09:05 (117 MB/s) - ‘/tmp/5.json?channel=plexpass’ saved [17891]

Download Complete
Searching https://plex.tv/api/downloads/5.json?channel=plexpass for the FreeBSD download URL .....Done.
Downloading https://downloads.plex.tv/plex-media-server-new/1.15.3.876-ad6e39743/freebsd/PlexMediaServer-1.15.3.876-ad6e39743-FreeBS D-amd64.tar.bz2
--2019-04-22 20:09:05-- https://downloads.plex.tv/plex-media-server-new/1.15.3.876-ad6e39743/freebsd/PlexMediaServer-1.15.3.876-ad6 e39743-FreeBSD-amd64.tar.bz2
Resolving downloads.plex.tv (downloads.plex.tv)... 2606:4700::6812:9c29, 2606:4700::6812:9d29, 104.18.156.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.156.41|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 92277456 (88M) [application/x-tar]
Saving to: ‘/tmp/PlexMediaServer-1.15.3.876-ad6e39743-FreeBSD-amd64.tar.bz2’

PlexMediaServer-1.15.3.876-ad6e3 100%[==========================================================>] 88.00M 35.3MB/s in 2.5s

2019-04-22 20:09:07 (35.3 MB/s) - ‘/tmp/PlexMediaServer-1.15.3.876-ad6e39743-FreeBSD-amd64.tar.bz2’ saved [92277456/92277456]

Download CompleteVerifying /tmp/PlexMediaServer-1.15.3.876-ad6e39743-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 .....Done.
Extracting /tmp/PlexMediaServer-1.15.3.876-ad6e39743-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.
root@plexmediaserver_1:/ #

I have tried to stop the service manually and restart it again then tried update again. I have tried to shut down the FreeNAS and restart again then update again. No dice on both.

Anyone who knows what to do or am I to resintall the Plex Server or complete reinstall FreeNAS and start from scratch?

gsuave commented 5 years ago

I found others having this same issue in this thread on Plex: https://forums.plex.tv/t/plexmediaserver-plexpass-does-not-exist-in-etc-rc-d-or-the-local-startup/393981

f33rx commented 5 years ago

This script assumes FreeNAS and also which plugin train you choose. Would love for this to be a bit more standalone and agnostic.

If you're wanting to use this to update Plexpass train, you'll need to install the FreeNAS Plexpass Plugin.

JkJ076 commented 5 years ago

Is that only to set my PlexPass or is it a new setup of Plex Media server?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.