Plex Media Scanner crashing on scanning malformed FLAC files

I saw that already, thanks.

It is all based on having a Windows or a Mac to prepare the bootable USB and setup everything how it wants it. I have neither Windows nor MacOS.

I’ve reached out to @chrisallen for some assistance. IIRC, he has done the packaging work and knows this far better.

If you’ll give us some time, one of us will get “educated” :slight_smile:

1 Like

There are two unrelated issues here in your logs;

firstly, PMS is discovering this device via SSDP (http://192.168.1.36) which is broadcasting it supports SSDP discovery but the XML it returns is invalid. While this is an error at parsing, it is more informational.

Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - XML: Entity: line 1: 
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - XML: parser 
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - XML: error : 
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - XML: Start tag expected, '<' not found 
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - XML: status=ok 
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - XML: ^ 
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - Error parsing content.
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - Error parsing XML: Error parsing file.
Jan 17, 2021 02:01:25.038 [0x14c5618ca700] ERROR - SSDP: Error parsing device schema for http://192.168.1.36:9080

The bigger issue is that wherever the PMS AppData is located it is no longer mounted with exec options. As you are using the 3rd-party unassigned drive plugin, I wonder if something changed recently with it. You could try reaching out on the Unraid forums to see if the issue is known there and can be resolved with another mount option.

Jan 17, 2021 02:01:30.588 [0x14c561ecd700] INFO - CodecManager: obtaining EAE
Jan 17, 2021 02:01:31.392 [0x14c561ecd700] ERROR - Unzip: could not set executable bit on output file
Jan 17, 2021 02:01:31.392 [0x14c561ecd700] ERROR - CodecManager: failed to extract zip

The other thing you could do is upgrade to Unraid 6.9 RC2 and move your unassigned drive to be a second cache pool and then set Plex to be on that. It would function in the same way as the unassigned drives plugin, but would be mounted and handled by Unraid itself.

The core issue here is that ffmpeg and Plex require the ability to “execute” codecs, specifically EAE (Easy Audio Encoder) as this handles Dolby TrueHD/EAC3 decoding and encoding.

That makes possible sense… Unassigned Devices had an update on the 16th right before the crashes started. I’ll see if i can roll back and see if that helps plus look into what you suggested.

Thanks

Edit: found this posted to the top of the UD support page, if it helps will let you know.
"

The latest version of UD maps the remote shares to /mnt/remotes/. You are encouraged to change your Docker Container and VM mappings to the new mount point.

If you can’t do that, go the UD settings and set ‘Legacy Mount Point Compatibility?’ to ‘Yes’. Then unmount and re-mount the remote shares. There will be symlinks created at /mnt/disks/ to the remote shares mounted at /mnt/remotes/. You won’t have to change any Docker Container or VM mappings.
Edited December 5, 2020 by dlandon "

unassigned.devices
2021.01.16b

Fix: Stop polling when the server is rebooted to prevent 503 error.
Fix: Share switch not showing correct setting in Edit Settings.
Fix: Add ability to change UUID on encrypted disks.

2021.01.09

Fix: Remove all checks for a 'precleared' file format.
Add: Indicator for preclear script running. The 'Format' button will show 'Preclear' when the preclear plugin or docker script is running. Should also apply to other preclear scripts.
Fix: Edit Settings switches not defaulting properly when switch is not defined in configuration.
Fix: Java Script error.
Fix: More code cleanup.

2021.01.01

Fix: Code cleanup.
Fix: Only show last 25 lines of a script log.
Fix: Update help text.
Fix: Remove preclear signature check on a disk without a file system. It causes constant disk reads and keeps the disk spun up. UD will not show 'preclear' on a disk.

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