mstinaff / PMS_Updater

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

FreeNAS 9.3 #3

Closed archerne closed 9 years ago

archerne commented 9 years ago

Is this script working with the 9.3 version of the Plex Media Server pbi? I have run it a couple times now, and the plugin fails to restart after the script has been run.

mstinaff commented 9 years ago

I'll be updating to FreeNAS 9.3 in the next few days and will update the script. What output do you get when you run # service plexmediaserver start

# service plexmediaserver status

archerne commented 9 years ago

I have included both the console output when i run the script and the service commands. As well as copied the log file below. image

2014-12-15 13:48.51  Downloading https://plex.tv/downloads?channel=plexpass
2014-12-15 13:48.53  Download Complete
2014-12-15 13:48.53  Searching https://plex.tv/downloads?channel=plexpass for PlexMediaServer-[0-9]*.[0-9]*.[0-9]*.[0-9]*.[0-9]*-[0-9,a-f]*-freebsd-amd64.tar.bz2 .....
2014-12-15 13:48.53  Done.
2014-12-15 13:48.53  Downloading https://downloads.plex.tv/plex-media-server/0.9.11.5.774-760cb52/PlexMediaServer-0.9.11.5.774-760cb52-freebsd-amd64.tar.bz2
2014-12-15 13:48.53  Download Complete
2014-12-15 13:48.53  Verifying /tmp/PlexMediaServer-0.9.11.5.774-760cb52-freebsd-amd64.tar.bz2 .....
2014-12-15 13:49.02  Done
2014-12-15 13:49.02  Removing previous PMS Backup .....
2014-12-15 13:49.02  Done.
2014-12-15 13:49.02  Stopping Plex Media Server .....
2014-12-15 13:49.02  Stopping plexmediaserver.
2014-12-15 13:49.03  Waiting for PIDS: 20745, 20745.
2014-12-15 13:49.03  Done.
2014-12-15 13:49.03  Moving current Plex Media Server to backup location .....
2014-12-15 13:49.03  Done.
2014-12-15 13:49.03  Extracting /tmp/PlexMediaServer-0.9.11.5.774-760cb52-freebsd-amd64.tar.bz2 .....
2014-12-15 13:49.12  Done.
2014-12-15 13:49.12  Starting Plex Media Server .....
2014-12-15 13:49.12  Starting plexmediaserver.
2014-12-15 13:49.12  Done.
archerne commented 9 years ago

Just tried the newest version and it works perfectly. Thank you!