Hi all,
PMS Version 1.20.4.3517
OS: Linux raspberrypi 5.4.51-v7+
Brand new PMS install.
I’m getting “Conversion failed. The transcoder exited due to an error” on every
single file.
I’ve verified permissions for the ~/Library branch as well as for the transcoder.
What logs to y’all need, and where can I send them so I don’t have to post them publicly?
For the benefit of the community, this turned out to be my fault.
The setup:
Since I’m running PMS on a raspberry pi, I have a very limited / partition.
To get around this, I remapped the ~Library to an external drive.
In the root partition:
/var/lib/plexmediaserver has a symbolic link to the Library:
lrwxrwxrwx 1 plex plex 16 Oct 22 13:43 Library → /mnt/usb/Library
This worked fine for some files, but not for others.
Thanks to @ChuckPa, we found the issue.
The telltale lines in the log look like this:
Nov 12, 2020 11:09:48.194 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/liblibx264_encoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.197 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libh264_decoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.202 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libmpeg4_decoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.205 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libaac_encoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.208 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libmp3_decoder.so: failed to map segment from shared object
And yep, turns out I didn’t have the ‘exec’ flag in my /etc/fstab. Some filesystems default to allowing exec, some don’t. Adding the exec flag fixed the issue: