Unable to play items after recent PlexPass Update

@vincent-geannin said:
So, My plex user Home directory is : “/media/5c4d0750-5db4-426b-acbb-9fd836d1a129/plexmediaserver
the codec Directory is “/media/5c4d0750-5db4-426b-acbb-9fd836d1a129/plexmediaserver/Library/Application Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64

And If I do an ls :
# ls -la total 4416 drwxr-xr-x 2 plex plex 4096 Jun 18 18:33 . drwxr-xr-x 3 plex plex 4096 Jun 17 11:47 .. -rw-r--r-- 1 plex plex 297488 Jun 18 18:24 libaac_encoder.so -rw-r--r-- 1 plex plex 238872 Jun 18 18:24 libac3_decoder.so -rw-r--r-- 1 plex plex 1309976 Jun 17 11:54 libh264_decoder.so -rw-r--r-- 1 plex plex 1208728 Jun 17 18:12 liblibx264_encoder.so -rw-r--r-- 1 plex plex 263480 Jun 18 18:33 libmp3_decoder.so -rw-r--r-- 1 plex plex 618008 Jun 17 11:52 libmpeg4_decoder.so -rw-r--r-- 1 plex plex 565032 Jun 17 11:55 libmsmpeg4v3_decoder.so

I attach the server log

Vincent

The permissions I was thinking of were ones that would stop the Codecs directory being created.

Your error is this

Jun 21, 2016 10:38:12.676 [0x7fd3e8ff4700] ERROR - [Transcoder] Unrecognized option 'crf:0'.
Jun 21, 2016 10:38:12.680 [0x7fd3f13fd700] ? - [Transcoder] Error splitting the argument list: Option not found
Jun 21, 2016 10:38:12.681 [0x7fd3f1bfe700] ERROR - Failed to start session successfully.

which is the same as an error seen in this topic http://forums.plex.tv/discussion/222048/transcoding-doesnt-work-after-upgrading-to-0-9-17-2/p1 by user @theyouri and was resolved by enabling the exec option in the Docker mount. Is your installation using a Docker?

Just to note: ‘exec’ does not solve the issue.

Running a debug command I was provided I saw messages like this:

FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/' LD_LIBRARY_PATH=/usr/lib/plexmediaserver '/usr/lib/plexmediaserver/Resources/Plex Transcoder' -v debug
Rescanning for external libs: '/config/Library/Application\ Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/'
Loading external lib /config/Library/Application Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/libh264_decoder.so
Error loading external lib: /config/Library/Application Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/libh264_decoder.so: failed to map segment from shared object: Operation not permitted
Loading external lib /config/Library/Application Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/libac3_decoder.so

So I made sure the mount where plex was now trying to execute stuff from had an ‘exec’ option (not as a docker option, or inside docker, just regular old fstab).

Options in /etc/fstab before
defaults,noatime,auto,user

Options in /etc/fstab after
defaults,noatime,auto,user,exec

Which made those ‘operation not permitted’ messages go away, but not the cannot play this video thing. Error in the log seems the same too.

Si I use openmediavault, so I don’t use docker

Vincent

on my installation on debian jessie I don’t have the /etc/systemd/system/plexmediaserver.service to modify in the first place and only /etc/init.d/plexmediaserver… What do I do?

I found the PB, you are right, it was the exec right that was disable.

I remove the “noexec” option on the fstab file for drive were the plex home was and remount the drive
Then When I try to play a Film, it’work.

Vincent

@theyouri said:
Just to note: ‘exec’ does not solve the issue.

Running a debug command I was provided I saw messages like this:

FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/' LD_LIBRARY_PATH=/usr/lib/plexmediaserver '/usr/lib/plexmediaserver/Resources/Plex Transcoder' -v debug
Rescanning for external libs: '/config/Library/Application\ Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/'
Loading external lib /config/Library/Application Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/libh264_decoder.so
Error loading external lib: /config/Library/Application Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/libh264_decoder.so: failed to map segment from shared object: Operation not permitted
Loading external lib /config/Library/Application Support/Plex/Codecs/416836c-1053-linux-ubuntu-x86_64/libac3_decoder.so

So I made sure the mount where plex was now trying to execute stuff from had an ‘exec’ option (not as a docker option, or inside docker, just regular old fstab).

Options in /etc/fstab before
defaults,noatime,auto,user

Options in /etc/fstab after
defaults,noatime,auto,user,exec

Which made those ‘operation not permitted’ messages go away, but not the cannot play this video thing. Error in the log seems the same too.

Thanks for the feedback. So are you still getting these in the log and failing to stream ?

ERROR - [Transcoder] Unrecognized option 'crf:0'.
? - [Transcoder] Error splitting the argument list: Option not found
ERROR - Failed to start session successfully.

@sandmarq said:
on my installation on debian jessie I don’t have the /etc/systemd/system/plexmediaserver.service to modify in the first place and only /etc/init.d/plexmediaserver… What do I do?

I don’t know which error messages you are getting in the server log - so cannot advise.

Please see advice previously given here
https://forums.plex.tv/discussion/comment/1201257/#Comment_1201257

@vincent-geannin said:
I found the PB, you are right, it was the exec right that was disable.

I remove the “noexec” option on the fstab file for drive were the plex home was and remount the drive
Then When I try to play a Film, it’work.

Vincent

That is good. Thanks for the feedback

@vincent-geannin said:
I found the PB, you are right, it was the exec right that was disable.

I remove the “noexec” option on the fstab file for drive were the plex home was and remount the drive
Then When I try to play a Film, it’work.

Vincent

Could you get me the log file using the same media file as before with it working. just want to see what the transcoder logs now that you permitted execution

I also change the right on the files in the Codec directory : I add the execution right :
-rwxr-xr-x 1 plex plex 297488 Jun 18 18:24 libaac_encoder.so -rwxr-xr-x 1 plex plex 238872 Jun 18 18:24 libac3_decoder.so -rwxr-xr-x 1 plex plex 1309976 Jun 17 11:54 libh264_decoder.so -rwxr-xr-x 1 plex plex 1208728 Jun 17 18:12 liblibx264_encoder.so -rwxr-xr-x 1 plex plex 263480 Jun 18 18:33 libmp3_decoder.so -rwxr-xr-x 1 plex plex 618008 Jun 17 11:52 libmpeg4_decoder.so -rwxr-xr-x 1 plex plex 565032 Jun 17 11:55 libmsmpeg4v3_decoder.so

@sa2000 I had similar issue @vincent-geannin had.

To correct my problem I also had to change my fstab and change noexec on my mount point to exec and change the permissions on the Codecs.

Everything seem in order now.

Thank you and continue your good work.

@sandmarq said:
@sa2000 I had similar issue @vincent-geannin had.

To correct my problem I also had to change my fstab and change noexec on my mount point to exec and change the permissions on the Codecs.

Everything seem in order now.

Thank you and continue your good work.

Is that with openmediavault ?

@sa2000 said:

@sandmarq said:
@sa2000 I had similar issue @vincent-geannin had.

To correct my problem I also had to change my fstab and change noexec on my mount point to exec and change the permissions on the Codecs.

Everything seem in order now.

Thank you and continue your good work.

Is that with openmediavault ?

No, I’m on debian testing using the repository for jessie for my paypass subcription.

~~My Local was set correctly however when i went to my application support folder and noticed the new “Plex” folder as mentioned here i noticed that the .so files were missing correct exec permissions. A simple

chmod a+x *.so inside that folder and i was back up and running.~~

That actually did not work. Some reason the video switched back to direct play so i thought it did.

I have checked permissions, local and restarted and it seems like its time to roll back i guess.

@dhruvb14 said:
~~My Local was set correctly however when i went to my application support folder and noticed the new “Plex” folder as mentioned here i noticed that the .so files were missing correct exec permissions. A simple

chmod a+x *.so inside that folder and i was back up and running.~~

That actually did not work. Some reason the video switched back to direct play so i thought it did.

I have checked permissions, local and restarted and it seems like its time to roll back i guess.

would need to see what errors you are getting. The issues discussed in these posts would stop it streaming.

Please have a look at this post earlier in this thread
https://forums.plex.tv/discussion/comment/1201257/#Comment_1201257

Maybe people try this works for me and solve alod:

Update for me its works debian wheezy

For now i updated to 0.9.17.3

  1. Kill plex media server
  2. nano /etc/fstab
  3. Search your hdd where plex is running : /media/*************************
  4. Delete noexec
  5. Install the latest version of plex for me it was 0.9.17.3
  6. When i did service plexmediaserver start linux reteurns no service found so did the follow staps
  7. mv /etc/init.d/plexmediaserver.dpkg.bak /etc/init.d/plexmediaserver
  8. update-rc.d plexmediaserver defaults
  9. nano /etc/init.d/plexmediaserver
  10. Change: test -f “/usr/lib/plexmediaserver/start.sh” || exit 0 to : test -f “/usr/lib/plexmediaserver/Resources/start.sh” || exit 0
  11. nano /etc/systemd/system/plexmediaserver.service
  12. In my config there isn’t the follow command so i past :
    Environment=LC_ALL=en_US:en
    Environment=LANG=en_US:en
  13. I can’t umount my disk of plex server says in use so i reboot my server

I’m running now 0.9.17.3 before i try it with 0.9.17.2 but i can’t play any media file’s i get dirrecly a error for now after editing this and reboot mij server i can play : Music , Video ( mkv ) only have , pictures

Sofare no transcode erro’s

@aSystemOverload, @KE55ARD, @“vincent-geannin”, @theyouri, @sandmarq, @dbbdark, @dhruvb14

PlexPASS release 0.9.17.3 which was released earlier today has changes to address the locale issue for the plexmediaserver.service and also the location of the Codecs directory has changed
Codecs are now under the Plex Media Server directory instead of the separate Plex/Codecs directory

Any changes to /etc/fstab will apply as before and for those of you that added execute permissions to the Codecs directory contents, could you first try 0.9.17.3 as is and see if you get an error Operation not permitted in the log. Add the execute permissions if you find they are necessary.

New codecs will be downloaded when you stream media needing it.

I already try that @sa2000 i have first installed 0.9.7.2 and problems with start because of the wrong location of start.sh in my eyes. later 0.9.7.3 same problem start.sh wrong directory so changed the init.d script start plex get error’s :

This messages i get with both versions:

ERROR - [Transcoder] Unrecognized option ‘crf:0’.
Jun 13, 2016 11:37:50.872 [0x7fc6e7fff700] ? - [Transcoder] Error splitting the argument list: Option not found
Jun 13, 2016 11:37:50.872 [0x7fc6ebbff700] ERROR - Failed to start session successfully.
Jun 13, 2016 11:37:50.873 [0x7fc6f4bff700] ERROR - JobManager: child process returned: Operation not permitted (1)
Jun 13, 2016 11:37:52.497 [0x7fc6e2bff700] WARN - Got a request to stop a transcode session without a session GUID (or with an invalid one).
Jun 13, 2016 11:37:53.775 [0x7fc6eb3fe700] ERROR - [Transcoder] Unrecognized option ‘crf:0’.
Jun 13, 2016 11:37:53.776 [0x7fc6edbff700] ? - [Transcoder] Error splitting the argument list: Option not found
Jun 13, 2016 11:37:53.776 [0x7fc6ebbff700] ERROR - Failed to start session successfully.
Jun 13, 2016 11:37:53.776 [0x7fc6f4bff700] ERROR - JobManager: child process returned: Operation not permitted (1)

Its a log from before but messages on 0.9.17.3 are the same so i read on the forum someone remove the noexec option of fstab and

I didn;t get awnsers on this messages so i downgrade to 0.9.16.6 and i have no errors when i upgrade i can;t play any media… so for now i run 1 day without problems with the newest version

This log is from June 13
I need to see a full log file (attached - not pasted ) of 0.9.17.3 - the directory changed in this version

If Plex media server is on a mount then the feedback is that you need to remove the ‘noexec’ and have ‘exec’ option on the mount in /etc/fstab

for now its running fine for me and i don;t have the from 13 june anymore sorry