Is this a bug that you can reproduce or anything else you need me to try here?
If you want to try 1.24.5.5246, there is no harm.
1.24.5.5246 does contain transcoder and other work so be cautious
- VC-1 has some HW transcoding problems – which are already solved
- Might be other little transcode quirks
Be advised .
If you install , Monitor CPU usage. Let PMS finish the database work (cleanups) which this package also performs. CPU can jump up to about 50% which leaves PMS non-responsive due to the database being locked.
Wait for the CPU load to drop back to zero,.
I’ve updated to 1.25.0.5282 but this doesn’t appear to make any difference, the required bandwidth’s are still higher than the bitrate of the video files. I forced a full analysis on all files again and left it for a few days.
Also not sure if it was this one or stopped earlier but it will not transcode a video’s with SRT subtitles, just gives a transcoder error straight away.
Lastly seeing this in the logs:
Dec 05, 2021 13:16:39.503 [0x7f99cf299b38] ERROR - IntroDetector: Failed to transcode file (1): /share/CACHEDEV3_DATA/tv/TV/Marvel's Luke Cage/Season 02/Marvel's Luke Cage - S02E02 - Straighten It Out - WEBDL-1080p.mkv
Dec 05, 2021 13:16:39.529 [0x7f99cf299b38] WARN - MDE: unable to find a working transcode profile for video stream
Dec 05, 2021 13:16:39.530 [0x7f99cf299b38] WARN - MDE: unable to find a working transcode profile for video stream
So looks like the IntroDetector isn’t working either because of transcoder problems 
Plex Media Server Logs_2021-12-05_13-51-43.zip (6.3 MB)
May I see the XML of (<madia> → </media> section from “Get Info → View XML” ?
I’m looking at your logs and PMS scans over and over trying to find the english audio track but there seems to be everything except English in it.
Hi Chuck,
Not sure which one you mean but this is one where the transcoder fails on subtitles but also was one we were looking at before where the requiredBandwidth’s are higher than the bitrate of the media:
<Media id="473602" duration="9803808" bitrate="2798" width="3832" height="1596" aspectRatio="2.35" audioChannels="6" audioCodec="eac3" videoCodec="hevc" videoResolution="4k" container="mkv" videoFrameRate="24p" videoProfile="main 10">
<Part accessible="1" exists="1" id="545248" key="/library/parts/545248/1636469630/file.mkv" duration="9803808" file="/share/CACHEDEV3_DATA/videos/Movies/No Time to Die (2020)/No Time to Die (2021) tt2382320 WEBDL-2160p.mkv" size="3429315362" container="mkv" deepAnalysisVersion="6" indexes="sd" requiredBandwidths="8387,7271,4714,4006,4006,4006,4006,4006" videoProfile="main 10">
<Stream id="1286543" streamType="1" default="1" codec="hevc" index="0" bitrate="2798" bitDepth="10" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1600" codedWidth="3840" colorPrimaries="bt2020" colorRange="tv" colorSpace="bt2020nc" colorTrc="smpte2084" frameRate="23.976" height="1596" level="150" profile="main 10" refFrames="1" requiredBandwidths="8131,7015,4458,3772,3772,3772,3772,3772" scanType="progressive" width="3832" displayTitle="4K (HEVC Main 10 HDR)" extendedDisplayTitle=" (4K HEVC Main 10 HDR)"> </Stream>
<Stream id="1286544" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="256,256,256,256,256,256,256,256" samplingRate="48000" displayTitle="English (EAC3 5.1)" extendedDisplayTitle=" (English EAC3 5.1)"> </Stream>
<Stream id="1327398" key="/library/streams/1327398" streamType="3" selected="1" forced="1" codec="srt" language="English" languageTag="en" languageCode="eng" format="srt" displayTitle="English Forced (SRT External)" extendedDisplayTitle="English Forced (SRT External)"> </Stream>
</Part>
</Media>
And this is the media related to the IntroDetector transcoder error. You can see it has a lot of different subtitles but the audio track is in English:
<Media id="480129" duration="3301714" bitrate="4026" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="eac3" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" videoProfile="main">
<Part accessible="1" exists="1" id="551934" key="/library/parts/551934/1529634060/file.mkv" duration="3301714" file="/share/CACHEDEV3_DATA/tv/TV/Marvel's Luke Cage/Season 02/Marvel's Luke Cage - S02E02 - Straighten It Out - WEBDL-1080p.mkv" size="1662869841" container="mkv" deepAnalysisVersion="6" indexes="sd" requiredBandwidths="5580,5237,4333,4152,4152,4152,4152,4152" videoProfile="main">
<Stream id="1327960" streamType="1" default="1" codec="h264" index="0" bitrate="3584" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1088" codedWidth="1920" frameRate="23.976" hasScalingMatrix="0" height="1080" level="40" profile="main" refFrames="3" requiredBandwidths="5132,4789,3885,3706,3706,3706,3706,3706" scanType="progressive" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>
<Stream id="1327961" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" bitrate="440" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="448,448,448,448,448,448,448,448" samplingRate="48000" title="English" displayTitle="English (EAC3 5.1)" extendedDisplayTitle="English (EAC3 5.1)"> </Stream>
<Stream id="1327962" streamType="3" default="1" codec="srt" index="2" bitrate="0" language="English" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="SDH" displayTitle="English (SRT)" extendedDisplayTitle="SDH (English SRT)"> </Stream>
<Stream id="1327963" streamType="3" codec="srt" index="3" bitrate="0" language="Arabic" languageTag="ar" languageCode="ara" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Arabic (SRT)" extendedDisplayTitle="Arabic (SRT)"> </Stream>
<Stream id="1327964" streamType="3" codec="srt" index="4" bitrate="0" language="Bulgarian" languageTag="bg" languageCode="bul" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Bulgarian (SRT)" extendedDisplayTitle="Bulgarian (SRT)"> </Stream>
<Stream id="1327965" streamType="3" codec="srt" index="5" bitrate="0" language="Danish" languageTag="da" languageCode="dan" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Danish (SRT)" extendedDisplayTitle="Danish (SRT)"> </Stream>
<Stream id="1327966" streamType="3" codec="srt" index="6" bitrate="0" language="German" languageTag="de" languageCode="deu" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="German (SRT)" extendedDisplayTitle="German (SRT)"> </Stream>
<Stream id="1327967" streamType="3" codec="srt" index="7" bitrate="0" language="Greek" languageTag="el" languageCode="ell" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Greek (SRT)" extendedDisplayTitle="Greek (SRT)"> </Stream>
<Stream id="1327968" streamType="3" codec="srt" index="8" bitrate="0" language="Spanish" languageTag="es" languageCode="spa" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Spanish (SRT)" extendedDisplayTitle="Spanish (SRT)"> </Stream>
<Stream id="1327969" streamType="3" codec="srt" index="9" bitrate="0" language="Spanish" languageTag="es" languageCode="spa" requiredBandwidths="1,1,1,1,1,1,1,1" title="European" displayTitle="Spanish (SRT)" extendedDisplayTitle="European (Spanish SRT)"> </Stream>
<Stream id="1327970" streamType="3" codec="srt" index="10" bitrate="0" language="Finnish" languageTag="fi" languageCode="fin" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Finnish (SRT)" extendedDisplayTitle="Finnish (SRT)"> </Stream>
<Stream id="1327971" streamType="3" codec="srt" index="11" bitrate="0" language="French" languageTag="fr" languageCode="fra" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="French (SRT)" extendedDisplayTitle="French (SRT)"> </Stream>
<Stream id="1327972" streamType="3" codec="srt" index="12" bitrate="0" language="Hebrew" languageTag="he" languageCode="heb" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Hebrew (SRT)" extendedDisplayTitle="Hebrew (SRT)"> </Stream>
<Stream id="1327973" streamType="3" codec="srt" index="13" bitrate="0" language="Italian" languageTag="it" languageCode="ita" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Italian (SRT)" extendedDisplayTitle="Italian (SRT)"> </Stream>
<Stream id="1327974" streamType="3" codec="srt" index="14" bitrate="0" language="Japanese" languageTag="ja" languageCode="jpn" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Japanese (SRT)" extendedDisplayTitle="Japanese (SRT)"> </Stream>
<Stream id="1327975" streamType="3" codec="srt" index="15" bitrate="0" language="Korean" languageTag="ko" languageCode="kor" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Korean (SRT)" extendedDisplayTitle="Korean (SRT)"> </Stream>
<Stream id="1327976" streamType="3" codec="srt" index="16" bitrate="0" language="Norwegian Bokmål" languageTag="nb" languageCode="■■■" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Norwegian Bokmål (SRT)" extendedDisplayTitle="Norwegian Bokmål (SRT)"> </Stream>
<Stream id="1327977" streamType="3" codec="srt" index="17" bitrate="0" language="Dutch" languageTag="nl" languageCode="nld" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Dutch (SRT)" extendedDisplayTitle="Dutch (SRT)"> </Stream>
<Stream id="1327978" streamType="3" codec="srt" index="18" bitrate="0" language="Polish" languageTag="pl" languageCode="pol" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Polish (SRT)" extendedDisplayTitle="Polish (SRT)"> </Stream>
<Stream id="1327979" streamType="3" codec="srt" index="19" bitrate="0" language="Portuguese" languageTag="pt" languageCode="por" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Portuguese (SRT)" extendedDisplayTitle="Portuguese (SRT)"> </Stream>
<Stream id="1327980" streamType="3" codec="srt" index="20" bitrate="0" language="Portuguese" languageTag="pt" languageCode="por" requiredBandwidths="1,1,1,1,1,1,1,1" title="Brazilian" displayTitle="Portuguese (SRT)" extendedDisplayTitle="Brazilian (Portuguese SRT)"> </Stream>
<Stream id="1327981" streamType="3" codec="srt" index="21" bitrate="0" language="Romanian" languageTag="ro" languageCode="ron" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Romanian (SRT)" extendedDisplayTitle="Romanian (SRT)"> </Stream>
<Stream id="1327982" streamType="3" codec="srt" index="22" bitrate="0" language="Swedish" languageTag="sv" languageCode="swe" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Swedish (SRT)" extendedDisplayTitle="Swedish (SRT)"> </Stream>
<Stream id="1327983" streamType="3" codec="srt" index="23" bitrate="0" language="Thai" languageTag="th" languageCode="tha" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Thai (SRT)" extendedDisplayTitle="Thai (SRT)"> </Stream>
<Stream id="1327984" streamType="3" codec="srt" index="24" bitrate="0" language="Turkish" languageTag="tr" languageCode="tur" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Turkish (SRT)" extendedDisplayTitle="Turkish (SRT)"> </Stream>
<Stream id="1327985" streamType="3" codec="srt" index="25" bitrate="0" language="Vietnamese" languageTag="vi" languageCode="vie" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="Vietnamese (SRT)" extendedDisplayTitle="Vietnamese (SRT)"> </Stream>
<Stream id="1327986" streamType="3" codec="srt" index="26" bitrate="0" language="Chinese" languageTag="zh" languageCode="zho" requiredBandwidths="1,1,1,1,1,1,1,1" title="Simplified" displayTitle="Chinese (SRT)" extendedDisplayTitle="Simplified (Chinese SRT)"> </Stream>
<Stream id="1327987" streamType="3" codec="srt" index="27" bitrate="0" language="Chinese" languageTag="zh" languageCode="zho" requiredBandwidths="1,1,1,1,1,1,1,1" title="Traditional" displayTitle="Chinese (SRT)" extendedDisplayTitle="Traditional (Chinese SRT)"> </Stream>
</Part>
</Media>
If you look at the RequiredBandwidth (first value)
5580 = 5132 (bandwidth of the video) + 448 (bandwidth of the audio track).
That’s how that works. (It’s calculating Video + Audio bandwidth required in total)
Did you set the transcoder temp directory by hand?
[Transcoder] tmp/Transcode/Detection/bd7cb51e-8053-4e4a-b714-e376a3521f1f: No such file or directory
That should be /tmp/ , not tmp/.
Invalid temp directory will make all kinds of things fail.
Yeah I think I understand how the RequiredBandwidth works from before, it’s fine on the H264 file which isn’t HDR but on the one before that which is 4K HDR10 it looks to be wrong.
requiredBandwidths="**8387**,7271,4714,4006,4006,4006,4006,4006"
<Stream id="1286543" streamType="1" default="1" codec="hevc" index="0" bitrate="**2798**"...
<Stream id="1286544" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="**256**
I make that 2798+256 = 3054 to be able to DirectPlay this but it’s saying 8387. Something weird goes on with HDR or HEVC, not sure which it is unless I am still misunderstanding this.
In terms of the tmp directory that’s likely a hangover of when I moved it from a docker container on Linux actually and I wanted it stored inside the Plex directory. I’ve got 128GB RAM on my QNAP and don’t want transcodes taking up a lot of RAM but looking on the QNAP the /tmp tmpfs is up to 61.3M so should be plenty of space. So I’ll give this a whirl and change it to /tmp instead.
Though the transcoder using a Nvidia GPU with HW for other things has been working fine as long as there’s no subtitles (Think that’s player dependant. Chrome doesn’t seem to work, Apple TV does). Just seems it’s complaining here on the IntroDetector. Let me change this though. Is it Analysis that does the intro detection? Can I force it to run again?
You’re forgetting one thing (which isn’t obvious)
HEVC when converted to H.264, 
The multiplier is about 3.5x (on average). PMS does the calculation as it analyzes the video.
Ahhhh, OK that makes sense. Does it use those calculations though to know if it can direct play the media though or it needs to transcode it?
So say someone has 6Mbit on their Internet or that’s all they get to their TV because their WiFi sucks. Say the media needs 3Mbit to DirectPlay then all would be good but if it thinks you need a minimum of 8Mbit then it’ll force it to Transcode instead?
EDIT: Doesn’t work with /tmp by the way ChuckPa. I see it’s reporting the following on a file. It’s not big enough on the QNAP as it’s using a RAM disk for /tmp:
Dec 06, 2021 19:40:30.724 [0x7f99ed2deb38] WARN - Low disk space: 90.35MB source file, 64MB capacity, 61.29MB available on "/tmp/Transcode/Sessions"
Dec 06, 2021 19:40:30.724 [0x7f99ed2deb38] WARN - TranscodeSession: inadequate disk space for transcode
What’s the default location for this on a clean install on a QNAP?
Tell me about your hardware.
- How much memory
-
dfdisk space
I think we need to put your /tmp back in PMS where it belongs or in a dedicated shared folder
I keep forgetting that not all QNAPs have ample /tmp space or memory … sorry
I’ve got a TVS-h1288X with 128GB of RAM and a Nvidia 1660 Ti in it. I’ve put QTS on instead of QuTS Hero as ZFS I find issues with in places but a story for another day.
Then for storage it’s 2 x 1TB M2 SSD’s in RAID 1 (System), 2 x 2TB SSD’s in RAID 1 and 4 x 18TB drives in a RAID 5 for media. The 2 x 2TB SSD’s has Plex and it’s metadata on it which looks to be around 448GB worth when I check it right now.
df for the main drives is as follows (I’ve not allocated all the space on the SSD’s)
/dev/mapper/cachedev1
239.0G 47.6G 190.9G 20% /share/CACHEDEV1_DATA
/dev/mapper/cachedev2
1.4T 806.4G 631.9G 56% /share/CACHEDEV2_DATA
/dev/mapper/cachedev3
46.6T 35.0T 11.6T 75% /share/CACHEDEV3_DATA
/dev/mapper/cachedev4
119.0G 32.2G 86.2G 27% /share/CACHEDEV4_DATA
I’ve put the transcode directory into the following now ChuckPa:
/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server
That gives me a Transcode folder inside the main Library folder:
[sysadmin@KT-QNAP-01 Plex Media Server]$ ls -l
total 60
drwxrwx--- 6 admin administrators 4096 2021-12-06 19:22 Cache/
drwxrwx--- 4 admin administrators 4096 2021-12-01 16:09 Codecs/
drwxrwx--- 115 admin administrators 4096 2021-12-01 16:08 Crash Reports/
drwxrwx--- 2 admin administrators 4096 2018-05-17 02:07 Diagnostics/
drwxrwx--- 3 admin administrators 4096 2021-12-06 20:54 Logs/
drwxrwx--- 3 admin administrators 4096 2016-06-12 23:26 Media/
drwxrwx--- 6 admin administrators 4096 2019-06-02 18:22 Metadata/
-rw-r--r-- 1 admin administrators 4 2021-12-01 16:08 plexmediaserver.pid
drwxrwx--- 3 admin administrators 4096 2019-05-04 17:45 Plug-ins/
drwxrwx--- 7 admin administrators 4096 2016-06-12 22:36 Plug-in Support/
-rw-r--r-- 1 admin administrators 5976 2021-12-06 20:22 Preferences.xml
drwxrwx--- 2 admin administrators 4096 2016-06-12 23:06 Scanners/
drwxrwx--- 3 admin administrators 4096 2016-06-12 22:36 Thumbnails/
drwxr-xr-x 4 admin administrators 4096 2021-12-06 19:44 Transcode/
Just told it to Analyse everything and put Scheduled tasks from 00:00 to 23:00 so it’s running at the moment. Logs flashing by fast in Debug mode but I see the following popped up:
Dec 06, 2021 20:46:12.932 [0x7f99ea4e1b38] ERROR - [Transcoder] [eac3_eae @ 0x7f0c478c5600] EAE watchfolder is not writable: /share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-ded88c6d-3d03-419d-9852-4a6954385433/EasyAudioEncoder/Convert to WAV (to 8ch or less)/860f2cad-8e44-4618-a9fc-5fc1285c352e_4912-0-test.tmp
Dec 06, 2021 20:46:12.932 [0x7f99e1e96b38] ERROR - [Transcoder] Error while opening decoder for input stream #0:1 : Generic error in an external library
Dec 06, 2021 20:46:12.933 [0x7f99f14dbb38] DEBUG - Jobs: '/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Plex Transcoder' exit code for process 4912 is 1 (failure)
Dec 06, 2021 20:46:12.933 [0x7f99cfee7b38] DEBUG - Killing job.
Dec 06, 2021 20:46:12.933 [0x7f99cfee7b38] DEBUG - Signalling job ID 4912 with 9
Dec 06, 2021 20:46:12.933 [0x7f99cfee7b38] DEBUG - Job was already killed, not killing again.
Dec 06, 2021 20:46:12.933 [0x7f99cfee7b38] DEBUG - Stopping transcode session 860f2cad-8e44-4618-a9fc-5fc1285c352e
Dec 06, 2021 20:46:12.933 [0x7f99e2b68b38] ERROR - IntroDetector: Failed to transcode file (1): /share/CACHEDEV3_DATA/tv/TV/Queen Sugar/Season 03/Queen Sugar - S03E05 - A Little Lower Than Angels - WEBDL-1080p.mkv
Dec 06, 2021 20:46:12.933 [0x7f99e1273b38] DEBUG - Streaming Resource: Terminated session 0x7f99eec957a8:860f2cad-8e44-4618-a9fc-5fc1285c352e with reason Conversion failed. The transcoder exited due to an error.
Don’t see a tmp folder in here unless it makes it and deletes it once it’s failed. Maybe need to manually make that? Could be the issue here is this wasn’t natively setup on the QNAP, it’s been a Library I’ve had probably 8 odd years if not longer, across native Linux, inside Dockers and then finally onto QNAP.
PMS does everything it needs when the transcoder temp directory value is left blank.
I have the package startup set to point to where it should be (QPKG_DIR)
Dec 06, 2021 20:46:12.932 [0x7f99ea4e1b38] ERROR - [Transcoder] [eac3_eae @ 0x7f0c478c5600] EAE watchfolder is not writable: /share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-ded88c6d-3d03-419d-9852-4a6954385433/EasyAudioEncoder/Convert to WAV (to 8ch or less)/860f2cad-8e44-4618-a9fc-5fc1285c352e_4912-0-test.tmp
Dec 06, 2021 20:46:12.932 [0x7f99e1e96b38] ERROR - [Transcoder] Error while opening decoder for input stream #0:1 : Generic error in an external library
For giggles –
Manually create a shared folder -
Specify the Shared Folder name “Plex-QPKG-Direct”
Manually specify directory to point to DataVol1, .qpkg/PlexMediaServer
This will give us full access to where Plex is stored; both code and your metadata (so be careful)
With this shared folder created,
-
Stop Plex
-
FileStation → Plex-QPKG-Direct → Library → Plex Media Server
-
You now see all the internal folders and files which are your metadata – BE CAREFUL
-
click into “Codecs”
-
You should see multiple directories, multiple EasyAudioEncoder directories and possibly the
.device_idfile (your server’s licence file) -
Stop Plex
-
Now delete the EasyAudioEncoder directories
-
Start Plex
-
Now start the playback again.
-
PMS will download a fresh copy of the EAE (there will be a slight delay as it does this) before the playback starts.
-
Please advise results. Attach logs again if fails (I half-expect it will)
OK, I can do this from the command line by the way. I’m not too bad with Linux 
[sysadmin@KT-QNAP-01 Codecs]$ ls -la
total 20
drwxrwx--- 4 admin administrators 4096 2021-12-01 16:09 ./
drwxr-xr-x 15 admin administrators 4096 2021-12-06 22:03 ../
-rwxrwx--- 1 admin administrators 36 2016-06-28 17:34 .device-id*
drwxr-xr-x 3 admin administrators 4096 2021-12-01 16:09 EasyAudioEncoder-1625-linux-x86_64/
drwxr-xr-x 2 admin administrators 4096 2021-12-01 16:09 fb9eae3-4185-linux-x86_64/
[sysadmin@KT-QNAP-01 Codecs]$ sudo rm -Rf EasyAudioEncoder-1625-linux-x86_64
[sysadmin@KT-QNAP-01 Codecs]$ ls -la
total 16
drwxrwx--- 3 admin administrators 4096 2021-12-06 22:04 ./
drwxr-xr-x 15 admin administrators 4096 2021-12-06 22:03 ../
-rwxrwx--- 1 admin administrators 36 2016-06-28 17:34 .device-id*
drwxr-xr-x 2 admin administrators 4096 2021-12-01 16:09 fb9eae3-4185-linux-x86_64/
And finally if it handles transcoder directory automatically if empty I’ve cleared that one out also.
Doesn’t seem to start though now, giving the following error. Tried making a tmp directory manually but no dice:
ERROR - FATAL ERROR: Codecs: Initialize: 'boost::filesystem::temp_directory_path: Not a directory: "/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/tmp"'
Dec 06, 2021 22:10:39.162 [0x7f0356853d48] DEBUG - [JobRunner] Job running: '/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/CrashUploader' '--directory=/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Crash Reports/1.25.0.5282-2edd3c44d' '--version=1.25.0.5282-2edd3c44d' '--platform=Linux' '--platformVersion=QTS 5.0.0.1853' '--serverUuid=*****' '--userId=fastlanejb***' '--sentryUrl=https://sentry.io/api/1233455/minidump' '--sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' '--vendor=QNAP' '--model=x86_64' '--device=TVS-h1288X' '--allowRetries=0'
Googling this now to see if someone else has had this issue 
OK not sure I know the fix on this one. I’ve tried renaming my whole Library folder, started it up so it makes a new one (Obviously want to keep my library folder) but it still fails to start.
Dec 06, 2021 22:33:04.797 [0x7f2bf86ebb38] INFO - Plex Media Server v1.25.0.5282-2edd3c44d - QNAP TVS-h1288X x86_64 - build: linux-x86_64 qnap - GMT 00:00
Dec 06, 2021 22:33:04.797 [0x7f2bf86ebb38] INFO - Linux version: QTS 5.0.0.1853, language: en-US
Dec 06, 2021 22:33:04.797 [0x7f2bf86ebb38] INFO - Processor Intel(R) Xeon(R) W-1250 CPU @ 3.30GHz
Dec 06, 2021 22:33:04.797 [0x7f2bf86ebb38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Dec 06, 2021 22:33:04.797 [0x7f2bf86ebb38] INFO - ./Plex Media Server
Dec 06, 2021 22:33:04.798 [0x7f2bf8797d48] DEBUG - BPQ: [Idle] -> [Starting]
Dec 06, 2021 22:33:04.798 [0x7f2bf8797d48] ERROR - FATAL ERROR: Codecs: Initialize: 'boost::filesystem::temp_directory_path: Not a directory: "/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/tmp"'
Dec 06, 2021 22:33:04.810 [0x7f2bf8797d48] DEBUG - [JobRunner] Job running: '/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/CrashUploader' '--directory=/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Crash Reports/1.25.0.5282-2edd3c44d' '--version=1.25.0.5282-2edd3c44d' '--platform=Linux' '--platformVersion=QTS 5.0.0.1853' '--serverUuid=' '--userId=NOUSERID' '--sentryUrl=https://sentry.io/api/1233455/minidump' '--sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' '--vendor=QNAP' '--model=x86_64' '--device=TVS-h1288X' '--allowRetries=0'
Dec 06, 2021 22:33:04.810 [0x7f2bf8797d48] DEBUG - [JobRunner] Jobs: Starting child process with pid 19083
So not sure on this one. I’ve had it starting fine on a clean install on the NAS before but obviously I’ve updated the version from a few times along the way.
Clean one makes the following folders:
[sysadmin@KT-QNAP-01 Plex Media Server]$ ls -l
total 20
drwxrwxrwx 3 admin administrators 4096 2021-12-06 22:33 Codecs/
drwxrwxrwx 3 admin administrators 4096 2021-12-06 22:33 Crash Reports/
drwxrwxrwx 2 admin administrators 4096 2021-12-06 22:35 Logs/
-rw-r--r-- 1 admin administrators 5 2021-12-06 22:33 plexmediaserver.pid
drwxrwxrwx 3 admin administrators 4096 2021-12-06 22:33 Plug-in Support/
And has this in the Codecs folder it makes:
[sysadmin@KT-QNAP-01 Plex Media Server]$ ls -la Codecs/
total 12
drwxrwxrwx 3 admin administrators 4096 2021-12-06 22:33 ./
drwxrwxrwx 6 admin administrators 4096 2021-12-06 22:33 ../
drwxrwxrwx 2 admin administrators 4096 2021-12-06 22:33 fb9eae3-4185-linux-x86_64/
did you delete the transcoder tmp directory?
/share/CACHEDEV2_DATA/.qpkg/PlexMediaServer/Library/tmp"

This should exist on CACHEDEV2_DATA for you:
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library] # ls -la
total 16
drwxr-xr-x 4 admin administrators 4096 2021-12-04 18:59 ./
drwxrwxrwx 5 admin administrators 4096 2021-12-05 21:33 ../
drwxr-xr-x 10 admin administrators 4096 2021-12-05 21:34 Plex Media Server/
drwxr-xr-x 3 admin administrators 4096 2021-12-05 21:34 tmp/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library] #
Ah yes I did. I thought that was where my tmp folder was when I set the Transcoder to tmp 
Yeah that’s got it to boot back up again. Thanks ChuckPa 
OK to see if that’s made a difference. Gonna head to bed now though (It’s not downloaded the codec just let as maybe not got to a file that needs it) but will leave it chewing overnight and check on logs in morning. Plex will either be fresh as a daisy in the morning or have a horrible hangover I imagine 