Hi, my server won’t transcode eAC3 audio codec. i’ve look at the log and saw that it tried to download codec EAE, but couldn’t unzip it and so the decoder install failed to install eac3_eae
The PMS install is using official FreeNAS plugin.
how can i resolve this i’m on FreeNAS 11.3-u2
i have tried a new install of PMS on windows and it work fine, but i would like to not delete and re-install my PMS on FreeNAS as it is complicate to get all the metadata back so i have my played history and custom thumbnail.
is there a way to resolve this ea: manually install this pluggin?
Plex Media Server Logs_2020-10-30_12-43-40.zip (2.5 MB)
Server Version#:1.20.3.3483
Player Version#:
Hum looking at the log this looks like a problem with “noexec” set on the target unzip dir or maybe the temp unzip dir (likely /tmp)
check you’re /etc/fstab to check if that’s being applied
Hi Mike,
I’m not sure if i understand your reply correctly. I have looked at /etc/ and did not find /fstab folder, instead, /fstab was in /jails/plexmediaserver/
here is the output of the fstab file found:
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/bin /mnt/Vol1/iocage/jails/plexmediaserver/root/bin nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:51
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/boot /mnt/Vol1/iocage/jails/plexmediaserver/root/boot nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:51
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/lib /mnt/Vol1/iocage/jails/plexmediaserver/root/lib nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:51
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/libexec /mnt/Vol1/iocage/jails/plexmediaserver/root/libexec nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:51
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/rescue /mnt/Vol1/iocage/jails/plexmediaserver/root/rescue nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:52
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/sbin /mnt/Vol1/iocage/jails/plexmediaserver/root/sbin nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:52
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/bin /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/bin nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:52
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/include /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/include nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:52
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/lib /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/lib nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:52
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/libexec /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/libexec nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:52
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/sbin /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/sbin nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:52
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/share /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/share nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:53
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/libdata /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/libdata nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:53
/mnt/Vol1/iocage/releases/11.3-RELEASE/root/usr/lib32 /mnt/Vol1/iocage/jails/plexmediaserver/root/usr/lib32 nullfs ro 0 0 # Added by iocage on 2020-04-10 02:09:53
/mnt/Vol1/Bibliotheque/Média /mnt/Vol1/iocage/jails/plexmediaserver/root/media nullfs rw 0 0 # Added by iocage on 2020-04-10 02:42:02
/mnt/Vol1/Bibliotheque/Documents\040familiale/Vidéos /mnt/Vol1/iocage/jails/plexmediaserver/root/media_personnel/Videos nullfs rw 0 0 # Added by iocage on 2020-04-10 02:42:49
/mnt/Vol1/Bibliotheque/Documents\040familiale/Images /mnt/Vol1/iocage/jails/plexmediaserver/root/media_personnel/Images nullfs rw 0 0 # Added by iocage on 2020-04-10 02:43:19
/mnt/Vol1/Bibliotheque/Documents\040familiale/Musique /mnt/Vol1/iocage/jails/plexmediaserver/root/media_personnel/Musique nullfs rw 0 0 # Added by iocage on 2020-04-10 02:43:39
for the target unzip dir, do i have to go in the CLI of the jail to do that of it’s in the GUI of plex? if CLI, can you tell me the command to type in the jail?
the path for the jail is:
/mnt/Vol1/iocage/jails/plexmediaserver/
I could be a general /etc/fstab, but it can also be the jails fstab…
FreeNAS seems to be setting a bunch of nulfs mountpoints that seem normal, then its ading the Media Dirs but those only have the “rw” flag so it can’t be that…
Usually, I believe we would unpack to /tmp so it could also be permissions here.
The final destination would be inside the PMS data folder, which for the FreeNAS plugin/jail would be in the jail “root fs” /Plex Media Server can u cd into that dir?
you can open a shell to the jail it self or from hots it would be /jails/plexmediaserver/root/Plex Media Server
While here do a ls -lah
@mikec_pt i did a ls -lah to a couple other folder while at it, and i found 2 /tmp folder also. the first one in the main NAS and the second one in the PMS jail
Main NAS tmp (looks like plex user 972 doesn’t have write access to this one)
root@FREENAS:~ # cd /tmp/
root@FREENAS:/tmp # ls -lah
total 148
drwxrwxrwt 7 root wheel 2.4K Nov 10 13:56 .
drwxr-xr-x 27 root wheel 1.7K Nov 3 14:48 ..
-rw-r--r-- 1 root wheel 0B Nov 3 14:48 .bootready
-rw-r--r-- 1 root wheel 0B Nov 3 14:48 .middleware-started
-rw-r--r-- 1 root wheel 0B Nov 3 14:48 .middlewared-console-once
-rw-r--r-- 1 root wheel 0B Jun 21 12:41 .rnd
drwx------ 2 www wheel 0B Nov 3 14:48 firmware
-rw-r--r-- 1 root wheel 0B Nov 4 14:58 mail.queue
drwxr-xr-x 4 root wheel 128B Nov 4 14:44 mako
drwxr-xr-x 2 minio minio 0B Jun 21 12:54 minio
drwxr-xr-x 6 root wheel 256B Nov 3 14:48 nginx
-rw------- 1 root wheel 26K Nov 10 13:57 nginx-access.log
-rw-r----- 1 root wheel 8.2K Nov 9 00:00 nginx-access.log.0.bz2
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-0uiv88cc
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-2zsr4q6g
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-4qoks8g2
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-6g0itpi8
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-75jj1dsy
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-9bzhc48l
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-9lwlu89_
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-bagckxdy
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-bc18vaou
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-dwyz1fu2
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-eox6hpqk
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-etebaugc
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-jeh0u6wt
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-k3bq36w4
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-kozjezvk
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-nf6gha7o
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-oi90h2ap
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-p683s_fd
-rw------- 1 root wheel 16B Nov 4 03:00 SEMDmp-qpx89lko
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-sfb4_bqr
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-t32qudm_
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-t6awech_
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-vmpz771l
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-wqstjolj
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-xczvkm52
-rw------- 1 root wheel 16B Nov 3 14:48 SEMDmp-xyqdjcl6
drwxrwxrwt 2 root wheel 0B Jun 21 12:54 vi.recover
root@FREENAS:/tmp #
PMS jail /tmp (still root access except plex media serverandplex media server.tar.gz)
root@FREENAS:/mnt/Vol1/iocage/jails/plexmediaserver/root # ls -lah
total 5692061
drwxr-xr-x 22 root wheel 27B Apr 9 2020 .
drwxr-xr-x 4 root wheel 7B Nov 3 14:49 ..
-rw-r--r-- 2 root wheel 957B Jul 5 2019 .cshrc
-rw-r--r-- 2 root wheel 474B Jul 5 2019 .profile
drwxr-xr-x 2 root wheel 47B Sep 20 12:04 bin
drwxr-xr-x 10 root wheel 60B Oct 30 10:57 boot
-r--r--r-- 1 root wheel 6.0K Jul 5 2019 COPYRIGHT
dr-xr-xr-x 12 root wheel 512B Nov 3 14:48 dev
drwxr-xr-x 27 root wheel 109B Nov 3 14:48 etc
drwxr-xr-x 4 root wheel 59B May 21 18:38 lib
drwxr-xr-x 3 root wheel 5B Jul 5 2019 libexec
d---------+ 5 root wheel 5B Oct 2 00:01 media
drwxr-xr-x 5 root wheel 5B Apr 9 2020 media_personnel
drwx------+ 8 root wheel 11B Feb 2 2017 media_secret
drwxr-xr-x 2 root wheel 2B Jul 5 2019 mnt
drwxr-xr-x 2 root wheel 2B Jul 5 2019 net
drwxr-xr-x 2 972 972 2B Apr 9 2020 Plex
drwxrwxr-x+ 10 972 972 11B Nov 9 14:49 Plex Media Server
-rwxr-xr-x 1 root wheel 5.4G Apr 9 2020 Plex Media Server.tar.gz
dr-xr-xr-x 2 root wheel 2B Jul 5 2019 proc
drwxr-xr-x 2 root wheel 149B Sep 20 12:04 rescue
drwxr-xr-x 2 root wheel 8B Apr 9 2020 root
drwxr-xr-x 2 root wheel 138B Sep 20 12:04 sbin
lrwxr-xr-x 1 root wheel 11B Apr 9 2020 sys -> usr/src/sys
drwxrwxrwt 40 root wheel 43B Nov 10 03:09 tmp
drwxr-xr-x 14 root wheel 14B Apr 9 2020 usr
drwxr-xr-x 24 root wheel 24B Nov 3 14:48 var
permission inside PMS jail /tmp/ (here is a mix bag of both having permission)
root@FREENAS:/mnt/Vol1/iocage/jails/plexmediaserver/root/tmp # ls -lah
total 45
drwxrwxrwt 40 root wheel 43B Nov 10 03:09 .
drwxr-xr-x 22 root wheel 27B Apr 9 2020 ..
drwxrwxrwt 2 root wheel 2B Nov 3 14:49 .font-unix
drwxrwxrwt 2 root wheel 2B Nov 3 14:49 .ICE-unix
drwxrwxrwt 2 root wheel 2B Nov 3 14:49 .X11-unix
drwxrwxrwt 2 root wheel 2B Nov 3 14:49 .XIM-unix
drwxr-xr-x 3 972 wheel 3B Aug 17 22:03 Plex
drwxr-xr-x 2 972 wheel 2B Sep 29 08:59 pms-0b5d3e08-29a3-404a-bd58-4994e3ae51ad
drwxr-xr-x 2 972 wheel 2B Sep 7 19:13 pms-0baa50c5-dd18-4493-bfb6-39837e1e3ee9
drwxr-xr-x 2 972 wheel 2B Oct 26 09:06 pms-0cad1181-8560-49d8-9a01-ecdd1fc19c62
drwxr-xr-x 2 972 wheel 2B May 21 18:36 pms-1226669b-1e62-4bc4-9eb9-cb892b24af80
drwxr-xr-x 2 972 wheel 2B Aug 11 18:00 pms-15f16880-c4c8-42f9-af11-f4a9d8b9e91e
drwxr-xr-x 2 972 wheel 2B Oct 7 12:02 pms-1de16919-21fe-43eb-b8de-92f8a50e9b5c
drwxr-xr-x 2 972 wheel 2B May 24 11:27 pms-1f9098c0-b083-46b2-ac7b-e5689ffc1215
drwxr-xr-x 2 972 wheel 2B Oct 30 12:39 pms-3102815b-8f80-47fa-afe9-e1be740a2977
drwxr-xr-x 2 972 wheel 2B Aug 11 17:22 pms-416a02f5-f4b6-44f1-bbe5-4bcb10a292d2
drwxr-xr-x 2 972 wheel 2B Jun 6 17:22 pms-526ff0e9-d958-4c24-bdb7-47faeef9fe83
drwxr-xr-x 2 972 wheel 2B Oct 30 10:56 pms-55729265-c7b3-46a8-99e7-a8b52e3bfdc0
drwxr-xr-x 2 972 wheel 2B Oct 30 10:59 pms-57f2137f-195a-4d06-ab08-d253dc23f0e8
drwxr-xr-x 2 972 wheel 2B Nov 3 14:49 pms-59d20385-9427-4d32-9a78-03983c1c44b4
drwxr-xr-x 2 972 wheel 2B Aug 17 21:57 pms-675ccd53-4208-43d2-85c2-d2f6d4b40869
drwxr-xr-x 2 972 wheel 2B Jun 21 12:33 pms-6f6f0145-b006-4068-bd6b-df0d762be60b
drwxr-xr-x 2 972 wheel 2B Oct 10 11:16 pms-7a3ba983-bbe7-429f-b44d-6f41e7dd8831
drwxr-xr-x 2 972 wheel 2B Apr 9 2020 pms-890041cf-a6cd-45e6-a87b-7fdf409c285a
drwxr-xr-x 2 972 wheel 2B Sep 25 11:38 pms-96e8dfdc-e1cf-4c47-8502-09a5c4e2c88e
drwxr-xr-x 2 972 wheel 2B Aug 14 11:54 pms-9f8a2d9c-fdfe-46e3-8c4a-0a6546c54e39
drwxr-xr-x 2 972 wheel 2B Jun 29 11:31 pms-a3c46d6b-c703-4f53-8d33-28b648eac6f6
drwxr-xr-x 2 972 wheel 2B Sep 17 19:53 pms-a7c0d2e8-a3a1-4848-9a36-dad6bae782e3
drwxr-xr-x 2 972 wheel 2B Sep 20 12:04 pms-aaf61946-2794-4f41-9569-b8e5d2ad97c3
drwxr-xr-x 2 972 wheel 2B Apr 9 2020 pms-ab9dae01-1f7c-464a-8774-f359ace955e0
drwxr-xr-x 2 972 wheel 2B Jun 21 12:31 pms-b48fdc86-4698-451c-9589-ca1def72469f
drwxr-xr-x 2 972 wheel 2B Aug 12 12:02 pms-bd41ff53-4c3c-46be-8964-16ff3f70b1be
drwxr-xr-x 2 972 wheel 2B May 21 18:38 pms-c6026d44-bf8f-4dbf-8771-ac0b992a12ee
drwxr-xr-x 2 972 wheel 2B Oct 26 09:01 pms-c8204ef1-84ac-404b-ae17-256d2f8fa24b
drwxr-xr-x 2 972 wheel 2B Aug 29 11:01 pms-df040a7a-914c-40e2-8bb3-4c7cf706a016
drwxr-xr-x 2 972 wheel 2B Jul 22 10:40 pms-e130519a-0c47-486d-bad3-93a0ad60e83d
drwxr-xr-x 2 972 wheel 2B Apr 9 2020 pms-e3a603bd-b15c-4838-8ef4-000c633d9fb4
drwxr-xr-x 2 972 wheel 2B Aug 27 17:57 pms-eabfcbcb-1165-4f73-bbf3-e1af9d8ea594
drwxr-xr-x 2 972 wheel 2B Jul 21 21:54 pms-f0627669-03ed-48a6-94f1-1a177cb37991
drwxr-xr-x 2 972 wheel 2B Jul 20 15:27 pms-fa1090c0-d2dd-4e7e-b91d-ee492aa2bd3a
-rw-r--r-- 1 972 wheel 16B Nov 3 14:49 SEMD9334581e-7251-4ef7-a8ec-5bfe8e89ff68
-rw-r--r-- 1 972 wheel 16B Nov 3 14:49 SEMDF8EEB26D-AB23-4061-8250-130AB5285A4A
-rw-r--r-- 1 972 wheel 16B Apr 9 2020 SEMDplex_tuner_service_mutex
root@FREENAS:/mnt/Vol1/iocage/jails/plexmediaserver/root/tmp #
you can open a shell to the jail it self or from hots it would be /jails/plexmediaserver/root/Plex Media Server
While here do a ls -lah
root@FREENAS:/mnt/Vol1/iocage/jails/plexmediaserver/root/Plex Media Server # ls-lah
total 186
drwxrwxr-x+ 10 972 972 11B Nov 9 14:49 .
drwxr-xr-x 22 root wheel 27B Apr 9 2020 ..
drwxrwxr-x+ 7 972 972 19B Nov 10 09:27 Cache
drwxrwxr-x+ 10 972 972 11B Nov 10 02:07 Codecs
drwxrwxr-x+ 2 972 972 2B Apr 4 2019 Diagnostics
drwxrwxr-x+ 3 972 972 65B Nov 10 02:07 Logs
drwxrwxr-x+ 3 972 972 3B Oct 12 2016 Media
drwxrwxr-x+ 6 972 972 6B May 18 2019 Metadata
drwxrwxr-x+ 7 972 972 7B Oct 12 2016 Plug-in Support
drwxrwxr-x+ 3 972 972 3B Dec 15 2018 Plug-ins
-rwxrwxr-x+ 1 972 972 1.2K Nov 9 14:49 Preferences.xml
I was mostly curious about the one I mention casuse if prerminssions where wrong it would explain the erro, same for if the mount flag was set to noexec, but doesn’t seem to be the case either.
There’s a “Codecs” folder inside the PMS one, do permissions look ok in that one?
FWIW 972 maps to plex user in the jail, so if 972/plex own the folders/files I can’t really say why this is failing.
@mikec_pt
it looks like the codecs folder has correct permission
root@FREENAS:/mnt/Vol1/iocage/jails/plexmediaserver/root/Plex Media Server/Codecs # ls -lah
total 87
drwxrwxr-x+ 10 972 972 11B Nov 10 13:59 .
drwxrwxr-x+ 10 972 972 11B Nov 10 14:49 ..
-rwxrwxr-x+ 1 972 972 36B Oct 12 2016 .device-id
drwxrwxr-x+ 2 972 972 23B Oct 30 10:59 02cff92-3522-freebsd-x86_64
drwxrwxr-x+ 3 972 972 3B Apr 24 2017 EasyAudioEncoder-133-freebsd-x86_64
drwxrwxr-x+ 3 972 972 3B Oct 19 2017 EasyAudioEncoder-141-freebsd-x86_64
drwxrwxr-x+ 3 972 972 3B Mar 16 2020 EasyAudioEncoder-356-freebsd-x86_64.tmp
drwxrwxr-x+ 3 972 972 3B May 21 18:36 EasyAudioEncoder-527-freebsd-x86_64.tmp
drwxrwxr-x+ 3 972 972 3B Aug 17 02:01 EasyAudioEncoder-652-freebsd-x86_64.tmp
drwxrwxr-x+ 3 972 972 3B Sep 20 02:04 EasyAudioEncoder-763-freebsd-x86_64.tmp
drwxrwxr-x+ 3 972 972 3B Nov 10 13:59 EasyAudioEncoder-798-freebsd-x86_64.tmp
if i unzip the EasyAudioEncoder-freebsd-x86_64-standard.zip file and paste it in the /Codecs folder will it work?
That’s not he codecs, does are downloade into that other dir after device-id
Can you list the contents inside that other one? Sorry for all the little steps 
@mikec_pt basically every subfolder and file are own by 972
root@FREENAS:/mnt/Vol1/iocage/jails/plexmediaserver/root/Plex Media Server/Codecs/02cff92-3522-freebsd-x86_64 # ls -lah
total 33277
drwxrwxr-x+ 2 972 972 23B Oct 30 10:59 .
drwxrwxr-x+ 10 972 972 12B Nov 10 18:36 ..
-rwxrwxr-x+ 1 972 972 2.5M Oct 30 10:59 libaac_decoder.so
-rwxrwxr-x+ 1 972 972 2.5M Oct 30 10:59 libaac_encoder.so
-rwxrwxr-x+ 1 972 972 2.4M Oct 30 10:59 libac3_decoder.so
-rwxrwxr-x+ 1 972 972 2.4M Oct 30 10:59 libac3_encoder.so
-rwxrwxr-x+ 1 972 972 2.5M Oct 30 10:59 libdca_decoder.so
-rwxrwxr-x+ 1 972 972 2.3M Oct 30 10:59 libh263_decoder.so
-rwxrwxr-x+ 1 972 972 3.6M Oct 30 10:59 libh264_decoder.so
-rwxrwxr-x+ 1 972 972 3.6M Oct 30 10:59 libhevc_decoder.so
-rwxrwxr-x+ 1 972 972 2.5M Oct 30 10:59 liblibmp3lame_encoder.so
-rwxrwxr-x+ 1 972 972 3.9M Oct 30 10:59 liblibx264_encoder.so
-rwxrwxr-x+ 1 972 972 2.4M Oct 30 10:59 libmp2_decoder.so
-rwxrwxr-x+ 1 972 972 2.4M Oct 30 10:59 libmp3_decoder.so
-rwxrwxr-x+ 1 972 972 2.3M Oct 30 10:59 libmpeg2video_decoder.so
-rwxrwxr-x+ 1 972 972 2.3M Oct 30 10:59 libmpeg4_decoder.so
-rwxrwxr-x+ 1 972 972 2.4M Oct 30 10:59 libmsmpeg4v3_decoder.so
-rwxrwxr-x+ 1 972 972 3.4M Oct 30 10:59 librv40_decoder.so
-rwxrwxr-x+ 1 972 972 3.5M Oct 30 10:59 libvc1_decoder.so
-rwxrwxr-x+ 1 972 972 2.7M Oct 30 10:59 libvp8_decoder.so
-rwxrwxr-x+ 1 972 972 3.7M Oct 30 10:59 libvp9_decoder.so
-rwxrwxr-x+ 1 972 972 2.4M Oct 30 10:59 libwmav2_decoder.so
-rwxrwxr-x+ 1 972 972 3.5M Oct 30 10:59 libwmv3_decoder.so
root@FREENAS:/mnt/Vol1/iocage/jails/plexmediaserver/root/Plex Media Server/Codecs/02cff92-3522-freebsd-x86_64 # cdroot@FREENAS:~ # ls -lah /mnt/Vol1/iocage/jails/plexmediaserver/root/"Plex Media Server"/Codecs/EasyAudioEncoder-133-freebsd-x86_64/
total 37
drwxrwxr-x+ 3 972 972 3B Apr 24 2017 .
drwxrwxr-x+ 10 972 972 12B Nov 10 18:36 ..
drwxrwxr-x+ 2 972 972 3B Apr 24 2017 EasyAudioEncoder
root@FREENAS:~ # ls -lah /mnt/Vol1/iocage/jails/plexmediaserver/root/"Plex Media Server"/Codecs/EasyAudioEncoder-356-freebsd-x86_64.tmp/total 37
drwxrwxr-x+ 3 972 972 3B Mar 16 2020 .
drwxrwxr-x+ 10 972 972 12B Nov 10 18:36 ..
drwxrwxr-x+ 2 972 972 3B Mar 16 2020 EasyAudioEncoder
root@FREENAS:~ # ls -lah /mnt/Vol1/iocage/jails/plexmediaserver/root/"Plex Media Server"/Codecs/EasyAudioEncoder-527-freebsd-x86_64.tmp/
total 37
drwxrwxr-x+ 3 972 972 3B May 21 18:36 .
drwxrwxr-x+ 10 972 972 12B Nov 10 18:36 ..
drwxrwxr-x+ 2 972 972 3B May 21 18:36 EasyAudioEncoder
root@FREENAS:~ # ls -lah /mnt/Vol1/iocage/jails/plexmediaserver/root/"Plex Media Server"/Codecs/EasyAudioEncoder-652-freebsd-x86_64.tmp/
total 37
drwxrwxr-x+ 3 972 972 3B Aug 17 02:01 .
drwxrwxr-x+ 10 972 972 12B Nov 10 18:36 ..
drwxrwxr-x+ 2 972 972 3B Aug 17 02:01 EasyAudioEncoder
root@FREENAS:~ # ls -lah /mnt/Vol1/iocage/jails/plexmediaserver/root/"Plex Media Server"/Codecs/EasyAudioEncoder-763-freebsd-x86_64.tmp/
total 37
drwxrwxr-x+ 3 972 972 3B Sep 20 02:04 .
drwxrwxr-x+ 10 972 972 12B Nov 10 18:36 ..
drwxrwxr-x+ 2 972 972 3B Sep 20 02:04 EasyAudioEncoder
root@FREENAS:~ # ls -lah /mnt/Vol1/iocage/jails/plexmediaserver/root/"Plex Media Server"/Codecs/EasyAudioEncoder-798-freebsd-x86_64.tmp/
total 37
drwxrwxr-x+ 3 972 972 3B Nov 10 13:59 .
drwxrwxr-x+ 10 972 972 12B Nov 10 18:36 ..
drwxrwxr-x+ 2 972 972 3B Nov 10 13:59 EasyAudioEncoder
root@FREENAS:~ # ls -lah /mnt/Vol1/iocage/jails/plexmediaserver/root/"Plex Media Server"/Codecs/EasyAudioEncoder-798-freebsd-x86_64.tmp/EasyAudioEncoder/
total 1019
drwxrwxr-x+ 2 972 972 3B Nov 10 13:59 .
drwxrwxr-x+ 3 972 972 3B Nov 10 13:59 ..
-rwxrwxr-x+ 1 972 972 1.5M Nov 10 13:59 EasyAudioEncoder
root@FREENAS:~ #
Yeah and some of those files are as recent as Oct 30 which was what I wanted to see, so there where no issues downloading those.
Can you try to delete all codecs in that dir and attempt playback (doesn’t need to be eac3 in fact multiple cases are better)? I want to check if it was only failing for that one which would be super odd considering the error
@mikec_pt, Now that i have move every codecs on my desktop (in case bad things happen), i can’t even transcode H.264 to h.264 lower bitrate also with AAC… basically i can’t transcode anymore.
is it possible that through an update with the plugins that it would have break the ability to download new codec… because i don’t remember the exact date, but i recently update my plex plugins.
i’ll move those file at their original place to be able to transcode again
after replacing every file back in /Codecs i tried to add the following folder with the file extracted earlier/EasyAudioEncoder-freebsd-x86_64-standard/EasyAudioEncoder/EasyAudioEncoder, but it didn’t work. I guess that there is a file that i need to modify in order to tell plex that this folder also exist with the other one now
@mikec_pt I just notice something. now that i have looked at the folder /Codecs/
we see that eae version 798 has been downloaded and extract here /Codecs/EasyAudioEncoder-798-freebsd-x86_64.tmp. Why are we getting this error "
[Transcode] CodecManager: failed to extract zip
the file here has been unzip correctly, i even did a SHA-256 and compare it with the extracted version I download on my PC directly and the SHA-256 matches so not 1 bit has flipped during decompression.
Same issue as with the codecs, the system is not able to uncompress the zip for some reason, usually this as to do with permissions, ownership or in the case of a tmp dir its very often the mount flags that block it.
Can you try to unzip on of those directly in the Jail shell (not host) and see what happens?
@mikec_pt i’m not sure what you mean exactly by
in the Jail shell (not host)
but i went to my freenas machine, Jail’s tab, 3 dot of plexmediaserver’s jail, click on shell and then type the following command:
root@plexmediaserver:~ # cd "/Plex Media Server/Codecs/"
root@plexmediaserver:"/Plex Media Server/Codecs" # mkdir EasyAudioEncoder-799-freebsd-x86_64.tmp
root@plexmediaserver:"/Plex Media Server/Codecs" # cd /tmp
root@plexmediaserver:/tmp # mkdir pms-test-encoder-to-unzip
root@plexmediaserver:/tmp # cp /media/Film/Codecs/EasyAudioEncoder-freebsd-x86_64-standard.zip /tmp/pms-test-encoder-to-unzip
root@plexmediaserver:/tmp # cd /tmp/pms-test-encoder-to-unzip/
root@plexmediaserver:/tmp/pms-test-encoder-to-unzip # unzip -d /"Plex Media Server"/Codecs/ EasyAudioEncoder-freebsd-x86_64-standard
unzip: Failed to open 'EasyAudioEncoder-freebsd-x86_64-standard'
root@plexmediaserver:/tmp/pms-test-encoder-to-unzip # ls -lah
total 769
drwxr-xr-x 2 root wheel 3B Nov 20 08:09 .
drwxrwxrwt 42 root wheel 45B Nov 20 08:02 ..
-rwxr--r-- 1 root wheel 746K Nov 20 08:09 EasyAudioEncoder-freebsd-x86_64-standard.zip
root@plexmediaserver:/tmp/pms-test-encoder-to-unzip # cd /"Plex Media Server"/Codecs
root@plexmediaserver:"/Plex Media Server/Codecs" # ls -lah
total 88
drwxrwxr-x+ 11 root plex 12B Nov 20 08:57 .
drwxrwxr-x+ 10 plex plex 11B Nov 20 06:39 ..
-rwxrwxr-x+ 1 root plex 36B Nov 10 19:50 .device-id
drwxrwxr-x+ 2 root plex 23B Nov 10 19:50 02cff92-3522-freebsd-x86_64
drwxrwxr-x+ 3 root plex 3B Nov 10 19:50 EasyAudioEncoder-133-freebsd-x86_64
drwxrwxr-x+ 3 root plex 3B Nov 10 19:50 EasyAudioEncoder-141-freebsd-x86_64
drwxrwxr-x+ 3 root plex 3B Nov 10 19:50 EasyAudioEncoder-356-freebsd-x86_64.tmp
drwxrwxr-x+ 3 root plex 3B Nov 10 19:50 EasyAudioEncoder-527-freebsd-x86_64.tmp
drwxrwxr-x+ 3 root plex 3B Nov 10 19:50 EasyAudioEncoder-652-freebsd-x86_64.tmp
drwxrwxr-x+ 3 root plex 3B Nov 10 19:50 EasyAudioEncoder-763-freebsd-x86_64.tmp
drwxrwxr-x+ 3 plex plex 3B Nov 20 07:35 EasyAudioEncoder-798-freebsd-x86_64.tmp
drwxrwxr-x+ 2 root plex 2B Nov 20 08:57 EasyAudioEncoder-799-freebsd-x86_64.tmp
root@plexmediaserver:/Plex Media Server/Codecs #
so in fact there is a permission problem here. I think it’s the plex user that write in this folder Usually /Plex Media Server/Codecs/, but because i had to delete and re-write the file for testing all other except one are own by root
is this something that can be resolve by myself or i need to wait for an updated version of PMS to fix that write permission issue?
If it’s a permissions issue it’s not something we can fix our side.
But also root can write everywhere unless a flag is set in the mount points, I’m curious If create a new Plug-in jail does it work fine?
@mikec_pt it does work fine when creating a brand new plugin i can play eAC3.
here’s a part of the lof that look interesting compare to my log from my main PMS
Nov 20, 2020 19:54:06.011 [0x80d643b00] Debug — [Transcode] Found session GUID of 7g014luo3y7yesm8v6nzcx2t in session start.
Nov 20, 2020 19:54:06.011 [0x80d06fa00] Debug — [Transcode] Found session GUID of 7g014luo3y7yesm8v6nzcx2t in session start.
Nov 20, 2020 19:54:06.011 [0x80d643b00] Debug — [Transcode] Cleaning directory for session 7g014luo3y7yesm8v6nzcx2t ()
Nov 20, 2020 19:54:06.057 [0x80d643b00] Debug — [Transcode] Starting a transcode session 7g014luo3y7yesm8v6nzcx2t at offset -1.0 (state=3)
Nov 20, 2020 19:54:06.057 [0x80d06fa00] Debug — [Transcode] Using existing transcode session.
Nov 20, 2020 19:54:06.090 [0x80d643b00] Info — [Transcode] CodecManager: obtaining EAE
Nov 20, 2020 19:54:06.091 [0x80d643b00] Debug — [Transcode] HTTP requesting GET https://plex.tv/api/codecs/easyaudioencoder?build=freebsd-x86_64-standard&deviceId=d1c943ae-3c59-47a6-a9ed-868dcd75c123&oldestPreviousVersion=1%2E20%2E4%2E3517-ab5e1197c&version=798
Nov 20, 2020 19:54:06.525 [0x80d643b00] Debug — [Transcode] HTTP 200 response from GET https://plex.tv/api/codecs/easyaudioencoder?build=freebsd-x86_64-standard&deviceId=d1c943ae-3c59-47a6-a9ed-868dcd75c123&oldestPreviousVersion=1%2E20%2E4%2E3517-ab5e1197c&version=798
Nov 20, 2020 19:54:06.525 [0x80d643b00] Debug — [Transcode] HTTP requesting GET https://downloads.plex.tv/codecs/798/freebsd-x86_64-standard/EasyAudioEncoder-freebsd-x86_64-standard.zip
Nov 20, 2020 19:54:06.719 [0x80d643b00] Debug — [Transcode] HTTP 200 response from GET https://downloads.plex.tv/codecs/798/freebsd-x86_64-standard/EasyAudioEncoder-freebsd-x86_64-standard.zip
Nov 20, 2020 19:54:06.963 [0x80d643b00] Info — [Transcode] CodecManager: starting EAE at "/tmp/pms-54e82fbf-8630-4c10-a755-4217fbbe82cf/EasyAudioEncoder"
Nov 20, 2020 19:54:06.963 [0x80d643b00] Debug — [Transcode] Job running: '/Plex Media Server/Codecs/EasyAudioEncoder-798-freebsd-x86_64/EasyAudioEncoder/EasyAudioEncoder'
Nov 20, 2020 19:54:06.964 [0x80d643b00] Debug — [Transcode] Jobs: Starting child process with pid 88190
Nov 20, 2020 19:54:06.964 [0x80d643b00] Debug — [Transcode] [Universal] Using local file path instead of URL: /media/Séries Télé/The Mandalorian/Saison 02/The.Mandalorian.S02E04.MULTi.1080p.WEB.DDP5.1.H264-FRATERNiTY/The.Mandalorian.S02E04.MULTi.1080p.WEB.DDP5.1.H264-FRATERNiTY.mkv
Nov 20, 2020 19:54:06.964 [0x80d643b00] Info — [Transcode] CodecManager: obtaining encoder 'aac'
Nov 20, 2020 19:54:06.964 [0x80d643b00] Debug — [Transcode] HTTP requesting GET https://plex.tv/api/codecs/aac_encoder?build=freebsd-x86_64-standard&deviceId=d1c943ae-3c59-47a6-a9ed-868dcd75c123&oldestPreviousVersion=1%2E20%2E4%2E3517-ab5e1197c&version=02cff92-3522
Nov 20, 2020 19:54:07.408 [0x80d643b00] Debug — [Transcode] HTTP 200 response from GET https://plex.tv/api/codecs/aac_encoder?build=freebsd-x86_64-standard&deviceId=d1c943ae-3c59-47a6-a9ed-868dcd75c123&oldestPreviousVersion=1%2E20%2E4%2E3517-ab5e1197c&version=02cff92-3522
(File removed)
Ok so clearly something is different in the Filesystem for the other Jail and this is blocking unzip.
I took a closer look and sorry for missing this but there’s a “+” in the end of the chmod part for ls output:
i.e. drwxrwxr-x+
this means ACLs are in place for this files/dirs.
Cab you try getfacl ./ (inside Plex Media Server dir, and then the same inside Codecs?
@mikec_pt
root@plexmediaserver:/"Plex Media Server" # getfacl ./
# file: ./
# owner: plex
# group: plex
owner@:rwxpDdaARWcCos:fd----I:allow
group@:rwxpDdaARWcCos:fd----I:allow
everyone@:r-x---a-R-c---:fd----I:allow
root@plexmediaserver:/"Plex Media Server/Codecs" # getfacl ./
# file: ./
# owner: root
# group: plex
owner@:rwxpDdaARWcCos:fd----I:allow
group@:rwxpDdaARWcCos:fd----I:allow
everyone@:r-x---a-R-c---:fd----I:allow
i looked at my ACL and i have one for Backup Bibliotheque and VBL but there is not even an option for iocage jails plexmediaserver or root
root@plexmediaserver:/“Plex Media Server/Codecs” # getfacl ./
file: ./
owner: root
group: plex
Owner root? that make no sense…
go back to the jail rootfs “(/)” and run:
chown -R plex:plex /Plex\ Media\ Server
This should make sure all files are owned by plex, although in your earlier prints it seemed like plex did own those folders so 