I have PMS running on Raspberry PI 2!

@francegue said:

Also, I wanted to check the logs to see what is going on, but it seems as my logs are not written.
I installed the server following the Method 1 of the guide (Install Plex Media Server on Raspberry Pi 2 •) and then I changed the user as pi: PLEX_MEDIA_SERVER_USER=pi
Since then, the logs are not more written. I checked the permissions and changed them (for the plexmediaserver folder and all the subfolders and files) to be pi instead of plex:

pi@raspberrypi:/var/lib $ ls -l plexmediaserver/
total 4
drwxr-xr-x 3 pi pi 4096 Jan 23 16:48 Library

What’s the home of your pi user? I suppose it is not /var/lib/plexmediaserver :slight_smile: You will find your logs in pi’s home if you did not set PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver

@uglymagoo said:
Ah. Did you test with LD_LIBRARY_PATH=/usr/lib/plexmediaserver ./Plex\ New\ Transcoder when you performed your tests in the terminal? If not, this error is quite normal.

You were absolutely right. So the problem doesn’t seem to be related to a missing library. Do you know by any chance why else the Transcoding process could die? Do you still have the deb of the previous version by any chance? Just curious to see if downgrading fixes the problem.

@lukele said:
Do you still have the deb of the previous version by any chance? Just curious to see if downgrading fixes the problem.

https://dev2day.de/plexmediaserver_0.9.14.6.1620-e0b7243-1~jessie_armhf.deb

@uglymagoo : you are right, i found the logs in my home directory, thanks!

@uglymagoo / lukele : it seems as i have the same problem with the transcoding when playing avi files:
[…]
Feb 01, 2016 19:56:10 [0x6ecff400] DEBUG - Request: [192.168.1.80:54823] GET /video/:/transcode/universal/session/C010E3A5-0C8F-40C5-9E70-FF2EA0A082C6/base/00091.ts (11 live) TLS
Feb 01, 2016 19:56:10 [0x6ecff400] DEBUG - Asked for segment 91 from session.
Feb 01, 2016 19:56:10 [0x6ecff400] WARN - Transcode runner appears to have died.
Feb 01, 2016 19:56:10 [0x6ecff400] WARN - Timed out waiting for segment.
Feb 01, 2016 19:56:10 [0x721ff400] DEBUG - Completed: [192.168.1.80:54823] GET /video/:/transcode/universal/session/C010E3A5-0C8F-40C5-9E70-FF2EA0A082C6/base/00091.ts (11 live) TLS 106ms 251 bytes 404
Feb 01, 2016 19:56:11 [0x657ff400] DEBUG - Request: [192.168.1.80:54824] GET /video/:/transcode/universal/session/C010E3A5-0C8F-40C5-9E70-FF2EA0A082C6/base/00092.ts (12 live) TLS
Feb 01, 2016 19:56:11 [0x657ff400] DEBUG - Asked for segment 92 from session.
Feb 01, 2016 19:56:11 [0x657ff400] WARN - Transcode runner appears to have died.
Feb 01, 2016 19:56:11 [0x657ff400] WARN - Timed out waiting for segment.
Feb 01, 2016 19:56:11 [0x721ff400] DEBUG - Completed: [192.168.1.80:54824] GET /video/:/transcode/universal/session/C010E3A5-0C8F-40C5-9E70-FF2EA0A082C6/base/00092.ts (12 live) TLS 111ms 251 bytes 404
[…]

The result is that the device stays blocked loading the video.

Thanks for your help!

@francegue and @lukele : I can confirm that at least iOS playback is broken in PMS 0.9.15.2 on RPi2 :confused: Nothing I can do. I also tried my neonless package (containing a different PMS ARMv7 build) with the same result.

@lukele Does 0.9.14.6 fix your problems? I do not want to revert, as I do not really use the iOS and Chromecast support :slight_smile:

@uglymagoo: Thanks for the older version! Will install it and let you know if it solves the issues. Since I mainly use plex on iOS, I really need the transcoding to work there.
Also thank you very much for your packaging work! Highly appreciated!

@uglymagoo / @francegue : Can confirm, an episode of The Wire which wouldn’t previously be transcoded on iOS now plays like a charm again.
With the latest version of plexmediaserver I was seeing the “Transcoder runner appears to have died.” message. With the previous version linked by uglymagoo however, everything works as expected again.

I think I’ll try mixing it up, using the Transcoder from the old version and everything else from the new version, to narrow down what the culprit is.

@uglymagoo: Thanks so much again!

@uglymagoo: As it turns out, Plex New Transcoder is the culprit. Installing the newest version and then symlinking the Plex New Transcoder from 0.9.14.6 fixes the problem.

Have you ever tried reporting issues with this unofficial version of PMS on RPI2 to the Plex developers?

@lukele : great, thanks for trying this out!
Would you please tell me the exact steps you did so I can replicate on my RPI2?
I would like to keep the newest version and then symlinking the Plex New Transcoder from 0.9.14.6.
I am not so techie as you I guess, so if you can explain me what you did it will be much appreciated :slight_smile:

Thanks guys!

Good news @lukele and @francegue

Apparently, it is not a PMS bug but a bug in the iOS app :confused: At least I could fix my 0.9.15.2 PMS and iOS problems. I just cleared the cache in the Plex app (settings → advanced → clear cache), restarted the app and everything worked perfectly again.

The only “errors” I could find in my logs were like this one:

WARN - Got a request to stop a transcode session without a session GUID (or with an invalid one).

@uglymagoo : I tried as you suggest but it didn’t work for me :frowning:
I still have the same error in the log and the video doesn’t play.

I think I will try over the weekend with the lukele solution, if you can give me any hint I will appreciate it :slight_smile:

Thanks!

@francegue If you want to try @lukele 's suggestion just download the above 0.9.14.6 debian package and use e.g. file-roller to extract the Plex New Transcoder binary from this package (open *.deb with file-roller, than data.tar.gz and extract ./usr/lib/plexmediaserver/Resources/Plex New Transcoder). Copy this binary over your existing /usr/lib/plexmediaserver/Resources/Plex New Transcoder. I am however surprised this works :slight_smile:

@francegue As it turns out, the problem returned for me as well. The solution was apparently not to clear the cache, but to “disable direct play” in the iOS app settings. I just toggled that option and restarted the iOS app to get iOS Plex to work. Let’s see if this is now a stable solution ^^

@uglymagoo: Are you saying you did revert to the 14.6 transcoder and just toggled that switch?

Does not seem to work for me. With the 14.6 Plex new transcoder I am fine, however.

@eckarth said:
@uglymagoo: Are you saying you did revert to the 14.6 transcoder and just toggled that switch?

Does not seem to work for me. With the 14.6 Plex new transcoder I am fine, however.

I did not revert to the 0.9.14.6 transcoder. However, I still do not know the real culprit. This time “direct play” was disabled and playback did not work. So I cleared the app cache, killed the app and restarted the Plex app. Everything worked fine afterwards. Keep your running configuration. I hope this “behaviour” is fixed soon.

@uglymagoo : thanks for your help, I tried both your suggestions on the iOS app (clear the cache and disable the direct play) but none of them worked for me.
But I can confirm using the old (0.9.14.6) transcoder fixes the issue! :slight_smile:

Thanks a lot for your help and for your great work!

Yeah he is kinda a Great Guy that way!

@francegue Sorry I only just saw your post. Glad you figured out how to get it working. Curious if the next release will fix this.

@uglymagoo I was trying to re-install my PMS (it had some issues with the scanner) and now I noticed your repository is down… Any help?

And it’s back up, thank you @uglymagoo !