# EAC codec issues & iNotify still an issue?

**URL:** <https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266>\
**Category:** Plex Media Server\
**Tags:** server-synology\
**Created:** [June 4, 2025, 11:52am UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266 "2025-06-04T11:52:00Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![StealingTime](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@StealingTime](https://forums.plex.tv/u/StealingTime)\
**Post date:** [June 4, 2025, 11:52am UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/1 "2025-06-04T11:52:00Z")

</div>

Server Version#: 1.41.8.9834  
Player Version#:

I’m still periodically running into issues when playing files remotely and transcoding. I suspect it’s an issue with EAC encoded files.

I’ve seen a good number of historical posts about this either being a case of deleting the files from inside the Codecs folder and letting Plex redownload them fresh, but also quite a bit about it being the 8192 limit with Linux inotify tables jamming up EAC playback if that table fills up.

Specifically @ChuckPa wrote some (as usual) excellent directions a few years ago to increase this limit:

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/synology-faq-questions-answers-and-how-tos/490215/22):
>
> FAQ 16: Increase the number of folders Plex can monitor Applicable to all supported versions of DSM. When the Linux ‘inotify’ table fills up, this will cause when Plex to stop automatically detecting new media you add to the server. It will also manifest when there are transcoder problems with Dolby audio codecs. Linux has a default table size which is static. We can increase this at will. On some versions it’s 8192. On newer kernels, the default is 65536 folders. This is easy to incr…

However, I’ve read some other posts more recently that suggest newer versions of the kernel shouldn’t have this issue?

Since I’m running DSM 7.2.2 on a DS920+ would this inotify issue still be a possible culprit and thus increasing the inotify limit as per @ChuckPa may still be relevant?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [June 4, 2025, 2:02pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/2 "2025-06-04T14:02:59Z")

</div>

Synology still has the issue.

the newer kernels have a variable value

count your folders (just as is done in FAQ16) if \> 8192, add the configuration option and be done with it.

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 8, 2025, 1:34pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/3 "2025-08-08T13:34:44Z")

</div>

I am having this same issue on TrueNAS. I turned off automatically monitor and still have issues both remote and local. With Roku and the Shield Pro.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 8, 2025, 2:46pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/4 "2025-08-08T14:46:32Z")

</div>

@Brodieman37

Please do the following:

1. Ensure [DEBUG logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) is enabled and VERBOSE logging is disabled.
2. Restart PMS
3. Do nothing for 3 minutes (startup sequences running)
4. Grab [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) ZIP file
5. Attach here please.

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 8, 2025, 2:58pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/5 "2025-08-08T14:58:48Z")

</div>

@ChuckPa

[I was able to find a old TrueNAS post that pointed me to the issue.](https://www.truenas.com/community/threads/plex-codec-issue.98186/) The TrueNAS Plex app was not able to rename the EAC3 codec folder after it unzipped it and had a “.tmp” at the end of the folder. Once I removed the “.tmp” EAC3 files were playable again. I am not focusing on why the Plex Docker app was not able to remove that.

Thanks!

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 8, 2025, 3:01pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/6 "2025-08-08T15:01:55Z")

</div>

As long as it’s solved, that’s good enough for me too.

Thanks for letting me know.

I will keep my eye on the unzipping which failed

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 8, 2025, 3:24pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/7 "2025-08-08T15:24:19Z")

</div>

@ChuckPa

Thanks! I THINK it’s a TrueNAS Docker app issue but I am not 100%.

I saw these in the logs and it pointed me down a hole to the solution.

> Aug 08, 2025 05:29:05.768 [140000482679608] INFO - [Req#41c39/Transcode/e064eb4a2f6efa27-com-plexapp-android] CodecManager: obtaining EAE
> 
> Aug 08, 2025 05:29:06.255 [140000482679608] ERROR - [Req#41c39/Transcode/e064eb4a2f6efa27-com-plexapp-android] Unzip: could not set executable bit on output file  
> Aug 08, 2025 05:29:06.255 [140000482679608] ERROR - [Req#41c39/Transcode/e064eb4a2f6efa27-com-plexapp-android] CodecManager: failed to extract zip
> 
> Aug 08, 2025 05:29:06.255 [140000482679608] ERROR - [Req#41c39/Transcode/e064eb4a2f6efa27-com-plexapp-android] Error configuring transcoder: Decoder install failed: eac3\_eae

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 8, 2025, 9:32pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/8 "2025-08-08T21:32:19Z")

</div>

> [@Brodieman37](#):
>
> Aug 08, 2025 05:29:06.255 [140000482679608] ERROR - [Req#41c39/Transcode/e064eb4a2f6efa27-com-plexapp-android] Error configuring transcoder: Decoder install failed: eac3\_eae

If you can get into the filesystem and go to where Plex keeps its files,  
you should be able to get into the Codecs directory and start cleaning out where it failed (junk / temp files).. or just delete everything in there and let it start over.

Remember to stop PMS first.

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 8, 2025, 9:43pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/9 "2025-08-08T21:43:50Z")

</div>

@ChuckPa I can yes, the config dir is mapped. I deleted the codecs folder and every time it recreates it, it has the .tmp and cannot change it but I can manually.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 9, 2025, 12:14am UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/10 "2025-08-09T00:14:05Z")

</div>

can you please show me the `ls -la` listing of

- `Plex Media Server`
- `Codecs` (get the recursive list here please)

Something is wrong with permissions. I suspect parent dir.

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 9, 2025, 4:52pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/11 "2025-08-09T16:52:10Z")

</div>

@ChuckPa

 ![image](https://global.discourse-cdn.com/plex/original/4X/8/9/3/8933976f277dc545130726f828729dea9af81f41.png)

 ![PlexFolder](https://global.discourse-cdn.com/plex/original/4X/7/1/c/71c3728b545d158a59a3b52a3b9de0fe0e1b5a76.png)

---

<div class="post-metadata">

**Author:** ![PunkleJones](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@PunkleJones](https://forums.plex.tv/u/PunkleJones)\
**Post date:** [August 9, 2025, 8:13pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/12 "2025-08-09T20:13:14Z")

</div>

sure you can use “apps” as owner?

 ![Screenshot (39660)](https://global.discourse-cdn.com/plex/original/4X/0/9/1/09166e4f90db6e4dd5b0860e00225cec917d01a4.png)

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 9, 2025, 8:26pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/13 "2025-08-09T20:26:26Z")

</div>

@PunkleJones

This is a TrueNAS app with all permission that are supposed to be setup already. There is a workload that sets permissions when the container is launched as shown here. I realized that it’s likely a permissions issue I am just not sure what or how. I am also not sure, if I change those, if the permission workload will change them back after.

 ![image](https://global.discourse-cdn.com/plex/original/4X/d/a/2/da2fdb355127dbda4876be956d70a3406d303f9a.png)

In one of the links I posted they talked about creating a Plex user in TrueNAS, but again, not sure why that is not in the docs and not part of the permissions workload. Trying to reach out on their forums as well.

Here is other information from the app.

 ![image](https://global.discourse-cdn.com/plex/original/4X/2/1/3/21314f0bcc21bfe51bbf269c15745bc6f80ba9e4.png)

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 9, 2025, 8:44pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/14 "2025-08-09T20:44:34Z")

</div>

@PunkleJones @ChuckPa

I did just notice that permissions for apps was “modify”, I changed it to “traverse”. I think that adds execute?

Edit. That did not allow the app to run

Edit 2! Changed permissions to that dataset for the Apps use to Full Control (to test). Still does not remove the .tmp from the codec (I renamed the folder to force Plex to recreate it). So for the Plex folder dataset the owner is apps and the apps user has full control. I will full admit Linux permissions confuse me, always have, but this seems like it should be able to rename that folder?

Edit3: I created the Plex user with 972 gave it full permission to the dataset recursively. Edited the app to run as that user and still cannot remove the .tmp from the codec. I am not going to deny that its permissions but I am out of ideas. I am not sure how the app can created the codec folder, when it’s deleted, but then be unable to rename a folder under it?

---

<div class="post-metadata">

**Author:** ![PunkleJones](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@PunkleJones](https://forums.plex.tv/u/PunkleJones)\
**Post date:** [August 10, 2025, 1:04am UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/15 "2025-08-10T01:04:13Z")

</div>

Newer used TrueNas or know much about it all tbh 🤭

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 10, 2025, 3:12am UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/16 "2025-08-10T03:12:15Z")

</div>

Directory permissions should resolve to the 0755.  
Linux permissions mode for directories: Execute == Traverse.  
(you don’t execute a directory, you traverse it).

0 = no super user privileges  
7 = Owner has Read, Write, Execute  
5 = Group has Read, Execute  
5 = Other (world) has Read, Execute

---

<div class="post-metadata">

**Author:** ![Brodieman37](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/brodieman37/32/271974_2.png) [@Brodieman37](https://forums.plex.tv/u/Brodieman37)\
**Post date:** [August 11, 2025, 1:48pm UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/17 "2025-08-11T13:48:36Z")

</div>

@ChuckPa I was on the Git for the TrueNAS Apps and he told me this if it help

> Permissions container will only apply changes if the directory is empty. ie set initial permissions.  
> But Plex specifically also handles some permissions itself. But in this case it seems that the unzip program have issues setting those permissions. The container has all the needed capabilities to do so.
> 
> > So its either the ACL type blocking this operation, or plex launches unzip in a way that loses the capability to set permissions (in this case the executable bit)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 12, 2025, 6:40am UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/18 "2025-08-12T06:40:28Z")

</div>

I’m setting up a PMS server on my TrueNAS Community Edition box.

PMS is loading media now (from the file server)

It will be ready by my morning (8 or so hours) .. it will run Scheduled Tasks here ina bit. (good timing)

Please check –

```auto
root@truenas:/mnt/pool/chuck# sysctl -a | grep inotify
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 1024
fs.inotify.max_user_watches = 506503
user.max_inotify_instances = 1024
user.max_inotify_watches = 506503
root@truenas:/mnt/pool/chuck# 

```

Now count the number of directories (in total) you’re using for all media which PMS is monitoring

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [November 10, 2025, 6:41am UTC](https://forums.plex.tv/t/eac-codec-issues-inotify-still-an-issue/921266/19 "2025-11-10T06:41:18Z")

</div>

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