New PLEX plugin Update Stuck @ 50%

Status
Not open for further replies.

mysticpete

Contributor
Joined
Nov 2, 2013
Messages
148
Hi All

Just trying to update the plugin from 0.9.8.18.290 to the 'new version' and it is sticking when it gets to 50%, is anyone else having the same issue?

MARK AS SOLVED
 

Magnus33

Patron
Joined
May 5, 2013
Messages
429
Yes unfortunately its not actually fixed yet so update doesn't work much of the time.
 

GaiusBaltar

Explorer
Joined
Jan 15, 2014
Messages
61
same issue here. cancelled the update. plex remained working at v. 0.9.8.18.290.

should also note that the updated pbi that they released is v. 0.9.9.2.374.
latest official public release is v, 0.9.9.5.411
 

Magnus33

Patron
Joined
May 5, 2013
Messages
429
I noticed its not turning off the jail function for the media server which would make updating hank i believe.
 

GaiusBaltar

Explorer
Joined
Jan 15, 2014
Messages
61
I noticed its not turning off the jail function for the media server which would make updating hank i believe.

that did help in furthering the process, but i then received the following errors in the syslog when attempting the update:
Code:
Feb 26 14:57:53 freeNAS manage.py: [common.pipesubr:58] Popen()ing: /sbin/umount -f '/mnt/ZFS_VOL00/jails/plexmediaserver_1/media'
Feb 26 14:57:53 freeNAS manage.py: [middleware.exceptions:38] [MiddlewareError: umount: /mnt/ZFS_VOL00/jails/plexmediaserver_1/media: not a file system root directory ]
 

Magnus33

Patron
Joined
May 5, 2013
Messages
429
Restart the nas and then go into the jail and stop it again and try updating.

Its trying to unmount the shares the update process that failed before already unmounted i believe.
 

GaiusBaltar

Explorer
Joined
Jan 15, 2014
Messages
61
Restart the nas and then go into the jail and stop it again and try updating.

Its trying to unmount the shares the update process that failed before already unmounted i believe.

did as you recommended. rebooted, stopped jail (which stops the plugin) attempted to update.
received error:
Code:
Feb 26 15:22:18 freeNAS manage.py: [middleware.exceptions:38] [MiddlewareError: Failed to update plugin
 

Magnus33

Patron
Joined
May 5, 2013
Messages
429
Seems it still needs major work.

I just stopped the jail and deleted the old one .
Yeah its a pain but i wanted to do a update to the nas anyway so the scanning time isn't a big deal at the moment.
 

GaiusBaltar

Explorer
Joined
Jan 15, 2014
Messages
61
got tired of futzing with it and just resorted to mstinaff's method mentioned here:
http://forums.freenas.org/index.php...le-plex-media-server.14826/page-7#post-102486
Code:
# jls
# jexec [plex jail ID# returned from jls cmd] tcsh
# cd /usr/pbi/plexmediaserver-amd64/share/
# wget http://downloads.plexapp.com/plex-media-server/0.9.9.5.411-da1d892/PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64.tar.bz2
# tar -xjvf ./PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64.tar.bz2
# service plexmediaserver stop
# mv ./plexmediaserver/ ./plexmediaserver.9.8.18.old/
# mv ./PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64/ ./plexmediaserver/
# service plexmediaserver start
# rm -f PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64.tar.bz2
# exit 


now running Plex v. 0.9.9.5.411 just fine. plugin in the freeNAS GUI shows the old 9.8.x version but now Plex web reports the correct version and is up to date and happy.
 

raidflex

Guru
Joined
Mar 14, 2012
Messages
531
The update does work it just takes a while depending on the database size. It did stop at 50%, not sure how long it takes I let it run overnight.

Edit: I noticed that while updating the plugin the system seemed to be creating a tar of the plexdata, which is actually what I did in the past to update Plex. This process can take a while, in my case it ended up being a 50GB tar.
 

mysticpete

Contributor
Joined
Nov 2, 2013
Messages
148
The update does work it just takes a while depending on the database size. It did stop at 50%, not sure how long it takes I let it run overnight.

Edit: I noticed that while updating the plugin the system seemed to be creating a tar of the plexdata, which is actually what I did in the past to update Plex. This process can take a while, in my case it ended up being a 50GB tar.

Thanks for that raidflex, it certainly sounds like the cause, I'll leave it running tonight and see what happens.
 

Krutet

Dabbler
Joined
Jul 19, 2013
Messages
37
Thanks for that raidflex, it certainly sounds like the cause, I'll leave it running tonight and see what happens.
Did it work? Does it update without problems? Or is the database wiped?

Sent from my Nexus 5 using Tapatalk
 

mysticpete

Contributor
Joined
Nov 2, 2013
Messages
148
Sorry got caught up doing other stuff, will run it tonight, thanks for the reminder :)
 

raidflex

Guru
Joined
Mar 14, 2012
Messages
531
I have successfully update the plugin a couple of times now. I did notice it keeps the old plexdata which adds up quick, I had 300GB of data at one point. You can clear the old data from /plexmediaserver_1/.plugins directory and also the /plexmediaserver_1/tmp directory.
 

mysticpete

Contributor
Joined
Nov 2, 2013
Messages
148

sully

Explorer
Joined
Aug 23, 2012
Messages
60
got tired of futzing with it and just resorted to mstinaff's method mentioned here:
http://forums.freenas.org/index.php...le-plex-media-server.14826/page-7#post-102486
Code:
# jls
# jexec [plex jail ID# returned from jls cmd] tcsh
# cd /usr/pbi/plexmediaserver-amd64/share/
# wget http://downloads.plexapp.com/plex-media-server/0.9.9.5.411-da1d892/PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64.tar.bz2
# tar -xjvf ./PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64.tar.bz2
# service plexmediaserver stop
# mv ./plexmediaserver/ ./plexmediaserver.9.8.18.old/
# mv ./PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64/ ./plexmediaserver/
# service plexmediaserver start
# rm -f PlexMediaServer-0.9.9.5.411-da1d892-freebsd-amd64.tar.bz2
# exit 


now running Plex v. 0.9.9.5.411 just fine. plugin in the freeNAS GUI shows the old 9.8.x version but now Plex web reports the correct version and is up to date and happy.


Did this affect the Plex DB at all?

If not, this is awesome and I thank you!
 

GaiusBaltar

Explorer
Joined
Jan 15, 2014
Messages
61

sully

Explorer
Joined
Aug 23, 2012
Messages
60
Since upgrading via the above method, I'm having an issue where Plex is not updating the Library when new content (movies) has been add to the share directory. Anyone else see this issue? I've tried a couple PMS restarts as well as FreeNAS restart. I've also tried manual Turbo Scan and Deep Scan, neither find the new movie.

This wasn't an issue prior to upgrading so I'm not sure if its a bug with the latest version of Plex or a an issue with the plugin.
 

Durandal

Explorer
Joined
Nov 18, 2013
Messages
54
Since upgrading via the above method, I'm having an issue where Plex is not updating the Library when new content (movies) has been add to the share directory. Anyone else see this issue? I've tried a couple PMS restarts as well as FreeNAS restart. I've also tried manual Turbo Scan and Deep Scan, neither find the new movie.

This wasn't an issue prior to upgrading so I'm not sure if its a bug with the latest version of Plex or a an issue with the plugin.

I have had the same problems a couple of times when using PMS, and it usually is rights that is the problem. Go into the jail shell and chmod (i use 777) the media librarys and see if it helps.
 

sully

Explorer
Joined
Aug 23, 2012
Messages
60
Unfortunately, I wasn't able to resolve this by updating permissions (which were set correctly). In addition to not being able to add new content, PMS did not update deleted content, changed content and I was also unable to add channels any longer. I ended up reinstalling the jail and pbi. I do appreciate the help provided.
 
Status
Not open for further replies.
Top