Plex IOCage, get error on Trailers

Bruce Wilfong

Explorer
Joined
Mar 25, 2016
Messages
85
To make a long story short, I have and old warden jail for Plex that I am wanting to convert/remove to a new IOCage jail for Plex. I installed a new IOCage jail, got everything working fine, however when I try to play trailers for movies I get the error: Conversion failed. The transcoder exited due to an error.

I am assuming this has something to do with YouTube? Since the movies work fine, just error on the trailers.

I get this from a PC, Roku, Firestick and Samsung TV PLex App. I also get this from the old PLex jail and in the new IOCage, any idea of where to start looking. I am thinking of just blowing away the IOCage and starting over (not many good walkthrough I found on this, all guides seem to give me errors).

Thanks
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Did you install the jail manually? and if so, did you install the ffmpeg pkg?
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,478
This smells like a permission issue. The way you can confirm is to put a movie in your library that doesn't require transcoding and see if it plays. If it does, you have a permission issue.

Search the forums for plex permission issues, there are numerous threads.
 

Bruce Wilfong

Explorer
Joined
Mar 25, 2016
Messages
85
Okay I blew everything away and did this:
Code:
echo '{"pkgs":["plexmediaserver-plexpass","ca_root_nss"]}' > /tmp/pkg.json
iocage create -n "plex" -p /tmp/pkg.json -r 11.2-RELEASE ip4_addr="vnet0|192.168.1.18/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on"
rm /tmp/pkg.json
iocage fstab -a plex /mnt/zp1/apps/plex /config nullfs rw 0 0
iocage fstab -a plex /mnt/zp1/media/videos /mnt/video nullfs rw 0 0
iocage exec plex chown -R plex:plex /config
iocage exec plex sysrc "plexmediaserver_plexpass_enable=YES"
iocage exec plex sysrc plexmediaserver_plexpass_support_path="/config"
iocage exec plex service plexmediaserver_plexpass start


Not really sure what this does, but put it in anyways:
Code:
iocage fstab -a plex /mnt/zp1/apps/plex /config nullfs rw 0 0


Still having the same issues, not really sure where to start with permissions. I do have a Group and User account called plex but the directions: https://www.ixsystems.com/community...darr-lidarr-jackett-transmission-organizr.58/

directions didnt specify to setup a group or user so I wasnt sure. Again movies work fine its just the "Play Trailer" that goes out to YouTube that errors out.

What and where else should I be checking for permissions ?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Not really sure what this does, but put it in anyways:
Code:
iocage fstab -a plex /mnt/zp1/apps/plex /config nullfs rw 0 0
Redirecting your plex config (includes the plex library) outside the jail is a great move to allow you to re-install or move your jail and not lose any of your plex library/settings.

Essentially, this will make the jail "disposable", so you just need to substitute that line to point to wherever you move your config (/mnt/zp1/apps/plex for now) and your new jail will pick it up and just run with it.
 

Bruce Wilfong

Explorer
Joined
Mar 25, 2016
Messages
85
-bump

Still have same error on playing the trailers, probably permission but I am not sure where to start looking? In the jail or storage or config location ?
 

Bruce Wilfong

Explorer
Joined
Mar 25, 2016
Messages
85
Still unable to resolve this, I am able to transcode (optimize) movies with plex creating folders and new optimized files without any issues. I am just wondering if this is something with my router. Does any know how plex fetches movie trailers to play ?
 

Pete Pineda

Cadet
Joined
Oct 13, 2013
Messages
7
-bump

Still have same error on playing the trailers, probably permission but I am not sure where to start looking? In the jail or storage or config location ?
You can look at the Plex Media Server.log file and see the error you get.

I had the same thing. I researched and found that some people fixed it by refreshing the metadata. But that didn't work for me. I kept getting an error transcoding. Bashed my head against that for a while.

Then found a list of "why trailers might not be playing" on plex website https://support.plex.tv/articles/202819366-why-won-t-trailers-or-extras-play/

It mentioned system time. So I checked. The jail that my plex was in, even my truenas' time was WAY off. Looked up people having NTP issues with truenas, and someone said their ISP blocks port 123 traffic, so they couldn't get it to stay in sync. And for some reason time sync is needed to play trailers.

I fixed it like this on truenas as root:
* Find the offset
ntpdate -d 0.freebsd.pool.ntp.org

*Update your time
ntpdate -u 0.freebsd.pool.ntp.org

Now trailers play for me. Hope this helps you!
 
Top