Unable to transcode x265 HEVC after moving PLEX data to another drive

Server Version#: 1.21.1.3842
Player Version#:4.473
I’m using a Kubuntu 20.04 workstation.

everything worked fine before I moved the data.
I just followed this tutorial for moving my PLEX data:

PMS runs just fine for anything that plays x264 encoded files, but doesn’t work on x265 encoded files. This is a 52TB server I share with several people remotely, so you can imagine what a pain it would be to start over!

I get an error in the PLEX console:
Got a request to stop a transcode session without a session GUID (or with an invalid one).[Plex Media Server Logs_2021-01-05_01-04-51.zip|attachment].

So I decided to try TV show instead of the above movie, and got other errors, so I’ve attached the current logs.
(upload://oAawaDysvTOlY8DmyrOgTTsLbcZ.zip) (4.3 MB)

What am I missing?

Linux skill set: MEDIUM

@geekydude

Can you capture and attach your Log files ZIP (Settings - Server - Troubleshooting - Download Logs) which capture this happening?

(DEBUG logging ON ; VERBOSE logging OFF )

movies / screenshots don’t help as much as logs in most cases.

Here are the logs after running one movie and one TV show while debug is enabled:

(File removed)

Please note: I just performed a PLEX server update just prior to enabling debug and playing two items. No change to the problem, and the logs should reflect the problem still exists.

Thanks for your reply!

@geekydude

You forgot to add exec to the mount options.

Shared libraries (.so files) , which the codecs are, need exec privilege extended to the file system.

exec is granted by default to the root file system

Jan 05, 2021 15:20:40.431 [0x7fc43601e100] DEBUG - Running migrations. (EPG 0)
Jan 05, 2021 15:20:40.432 [0x7fc43601e100] WARN - [FFMPEG] - Error loading external lib: /media/PLEX-DATABASE/plexdata/Library/Application Support/Plex Media Server/Codecs/367b3d4-3654-linux-x86_64/libmpeg1video_decoder.so: failed to map segment from shared object
Jan 05, 2021 15:20:40.432 [0x7fc43601e100] WARN - [FFMPEG] - Error loading external lib: /media/PLEX-DATABASE/plexdata/Library/Application Support/Plex Media Server/Codecs/367b3d4-3654-linux-x86_64/libwmav2_decoder.so: failed to map segment from shared object
Jan 05, 2021 15:20:40.432 [0x7fc43601e100] WARN - [FFMPEG] - Error loading external lib: /media/PLEX-DATABASE/plexdata/Library/Application Support/Plex Media Server/Codecs/367b3d4-3654-linux-x86_64/libmp3_decoder.so: failed to map segment from shared object
Jan 05, 2021 15:20:40.432 [0x7fc43601e100] WARN - [FFMPE

Are we talking about in fstab?

Yes. /etc/fstab.

So on the permissions in fstab, it should look like this?

UUID=83090833-274b-45cc-96de-3abb4b7b85b4 /media/PLEX-DATABASE ext4 user,rwx,auto 0 0

Nope.

Column 4 (see man 5 fstab for mntops)

You want to add the exec option

Like this then?

UUID=83090833-274b-45cc-96de-3abb4b7b85b4 /media/PLEX-DATABASE ext4 user,rw,exec,auto 0 0

Now you got it !

I know I made you work for it but now you know :slight_smile:

1 Like

Rebooting… brb with results of testing. :grin:

No need to reboot. :slight_smile:

(Lesson #2 )

sudo systemctl stop plexmediaserver
sudo umount /media/PLEX-DATABASE
sudo mount /media/PLEX-DATABASE
sudo systemctl start plexmediaserver

I hate rebooting all the time.

hint: Linux isn’t like Windows :wink:
hint2: we tend to use lowercase a lot more :smiley:

Success!

I know about lower case in Linux, but I wanted it to stand out in Dolphin so that I didn’t do something stupid with it by accident. LOL! I like to use proper capitalization, punctuation, grammar, etc… I think it’s a habit I never could break. LOL!

Thanks!

Welcome!

I grew up in the days when 30 CPS dot matrix terminals (aka 300 baud) were the norm.
I owned a fully mechanical 110 baud teletype with paper tape reader & punch for the longest time. :smiling_imp:

This “High Speed” stuff and touch typing is too easy AHAHAHA

Yeah, I understand that one… I grew up using Commodore 64 with 300 baud modem. I later learned on The Tandy Models 1-4, then IBM PC. I then went to college and learned to do jobs on an HP3000 running HPUX. I ditched Windows years ago! However I used to do technical support for HP (corporate network printers), Dell, and Earthlink. Earthlink literally supported everything (even BEOS!). So I am pretty familiar with most OSes out there, but I began my Linux journey on slackware. I hated it! Later I gave it another try with SuSe 9.3 and decided Linux was worth learning. I hated RPM hell, and tried Madrake (later Mandriva), and hated it, but it was better than the others. The one that got me hooked for good was Xandros. When they died, I’ve been using Kubuntu ever since.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.