wnielson / Plex-Remote-Transcoder

A distributed transcoding backend for Plex
MIT License
640 stars 59 forks source link

Issue using versions after 1.3.2.3112 #51

Closed dhruvb14 closed 7 years ago

dhruvb14 commented 7 years ago

Hey @wnielson , I have been using this successfully for the last 2 months and was just attempting to upgrade to the latest plex plexmediaserver_1.3.4.3285-b46e0ea_amd64.deb. However when i look at the prt.log it does not explain to me why it fails. If I revert back to plexmediaserver_1.3.2.3112-1751929_amd64.deb then all is fine again. If you would let me know where I should be looking for errors I would gladly help out in fixing the issue. I really want to upgrade my plex version but can't maintain my user load without your plugin working.

prt.log `2017-02-08 22:14:34,632 - prt - INFO - Host with minimum load is '192.168.1.36'

2017-02-08 22:14:34,632 - prt - INFO - Using transcode host '192.168.1.36'

2017-02-08 22:14:34,632 - prt - INFO - Launching transcode_remote with args ['ssh', u'plex@192.168.1.36', '-p', u'22', u"export LANG=en_US.UTF-8;export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR='/var/lib/plexmediaserver/Library/Application Support';export SHELL=/bin/bash;export FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c9ea179-1157-linux-ubuntu-x86_64/';export XDG_DATA_HOME=/usr/lib/plexmediaserver/Resources/;export XDG_CACHE_HOME='/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/';export X_PLEX_TOKEN=myfakeplextoken;export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver;export PWD=/;export LOGNAME=plex;export USER=plex;export LIBVA_DRIVERS_PATH=/usr/lib/plexmediaserver/dri;export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;export HOME=/var/lib/plexmediaserver;export PLEX_MEDIA_SERVER_TMPDIR=/tmp;export LD_LIBRARY_PATH=/usr/lib/plexmediaserver;export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6;export PRT_ID=e1770ca8ee7511e6a424360f7ca6cdfc;cd /media/Transcode/plex-transcode-x78l9cac753b5rrmp6s3v7vi-c65e9d72-2976-4d26-b5ae-5772e84f747f;prt_local -codec:0 h264 -i '/media/Optimized/Staging Test Files/Movies/fake movie/fakemovie.mkv' -filter_complex '[0:0]scale=w=min(576\,iw):h=min(240\,ih):force_original_aspect_ratio=decrease,format=pix_fmts=yuv420p|nv12[0]' -map '[0]' -metadata:s:0 language=eng -codec:0 libx264 -crf:0 21 -maxrate:0 535k -bufsize:0 1070k -r:0 23.975999999999999 -preset:0 veryfast -x264opts:0 subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -map 0:1 -metadata:s:1 language=eng -codec:1 copy -copypriorss:1 0 -f matroska -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 - -start_at_zero -copyts -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://192.168.1.35:32400/video/:/transcode/session/fakesessionid/progress"]

2017-02-08 22:14:35,052 - prt - INFO - Transcode stopped on host '192.168.1.36'`

wnielson commented 7 years ago

I haven't upgraded myself yet, so I can't provide much help until I find some time to tackle this. Have you tried these steps?

dhruvb14 commented 7 years ago

Hey @wnielson yes I did try those steps after I saw it mentioned on gitter.im by @liviynz, do you mind telling me where the actually python file gets installed so I can attempt to debug myself? When I run a which prt it just shows me the starting point for prt but not the actual code...

dhruvb14 commented 7 years ago

@wnielson this can be closed... using the following command i was able to update successfully....

systemctl stop plexmediaserver.service && rm -rf /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ && rm -f /usr/lib/plexmediaserver/plex_transcoder && dpkg -i /home/USERNAME/plexOldVersions/plexmediaserver_1.3.4.3285-b46e0ea_amd64.deb && prt install