mstinaff / PMS_Updater

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

Cannot find release file. #32

Closed nx6 closed 1 year ago

nx6 commented 5 years ago

Currently on PMS version 1.14.0.5470

I've used your scripts several times to update Plex on my FreeNAS, but I seem to be unable to now. The script indicates it can't find the file for the current stable (non-Plex Pass) release. Not sure if this is a case of Plex relocating the file in the path your script uses?

root@plexmediaserver_1:/ # ./PMS_Updater.sh -n -v -a
Using URL https://plex.tv/api/downloads/5.json
Downloading https://plex.tv/api/downloads/5.json
--2019-02-23 02:51:25-- https://plex.tv/api/downloads/5.json
Resolving plex.tv (plex.tv)... 52.18.254.79, 54.171.147.115, 52.16.101.236, ... Connecting to plex.tv (plex.tv)|52.18.254.79|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Last-modified header missing -- time-stamps turned off.
--2019-02-23 02:51:26-- https://plex.tv/api/downloads/5.json
Reusing existing connection to plex.tv:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘/tmp/5.json’

[ <=>                                   ] 24          --.-K/s   in 0s       

2019-02-23 02:51:26 (1.01 MB/s) - ‘/tmp/5.json’ saved [24]

Download Complete
Searching https://plex.tv/api/downloads/5.json for the FreeBSD download URL .... .Could not find a FreeBSD download link on page https://plex.tv/api/downloads/5. json

The current version is certainly available on the normal download site.

statik1983 commented 5 years ago

I was having the same problem. You need to download his latest PMS_Updater.sh that he just recently updated.

statik1983 commented 5 years ago

fetch -o PMS_Updater.sh https://raw.githubusercontent.com/mstinaff/PMS_Updater/master/PMS_Updater.sh

chmod 777 PMS_Updater.sh

./PMS_Updater.sh -u [your plexpas email address] -a -v

statik1983 commented 5 years ago

Hold on doing that... Now plex is not starting for me....

nx6 commented 5 years ago

I was going to say, I download a fresh copy of the script whenever I run an update. Also, changing permissions to 755 is enough.

statik1983 commented 5 years ago

I had to download and install the 1.14 version to get it working again.

./PMS_Updater.sh -l PlexMediaServer-1.14.1.5488-cc260c476-freebsd-amd64.tar.bz2 -v -a -f

are you having the same issue with Plex not starting after updating to 1.15?

nx6 commented 5 years ago

I'm not updating to 1.15. I'd rather wait for them to iron out the bugs with the new build system. I'm just trying to update to the current stable release, from December.

Note: I should also mention I'm on FreeNAS 9.2.1.9 still.

statik1983 commented 5 years ago

I see. why not update your freenas to 11.1 ? I think the new script is the issue. I just ran the new script with the same commands ./PMS_Updater.sh -n -v -a that you used and get the same result.

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.