# Optimized Versions on Synology DS1821+

**URL:** <https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904>\
**Category:** Plex Media Server\
**Tags:** server-synology\
**Created:** [September 15, 2022, 12:08pm UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904 "2022-09-15T12:08:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![djchappy](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@djchappy](https://forums.plex.tv/u/djchappy)\
**Post date:** [September 15, 2022, 12:08pm UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/1 "2022-09-15T12:08:14Z")

</div>

Server Version#: 1.28.2.6151  
Player Version#:

Hi

When I try to create an optimized version of some files it just sits at 0% and never progresses. Also there is a que of files to be optimized in conversions that I cant remove?

Any help is appreciated

Thanks

Mat  
[Plex Media Server Logs\_2022-09-15\_22-04-43.zip](https://forums.plex.tv/uploads/short-url/mUo222nObReR27g2BOHyIk7mic6.zip) (7.2 MB)

---

<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:** [September 15, 2022, 5:21pm UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/2 "2022-09-15T17:21:28Z")

</div>

For future reference: Please turn on [DEBUG logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) again (you turned it off) and recreate the problem before posting logs. The logs you provided are of minimal use.

I did find you are monitoring more folders than DSM 7 can monitor using the default table size. (a well organized Photos library is the most common cause of overflowing the table)

```auto
Sep 15, 2022 22:01:05.207 [0x7fcae1c29b00] WARN - [Req#bc] QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Sep 15, 2022 22:01:15.691 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Arrested Development (2003) [Comedy]/Season 2/Extras - Season 2" (28: No space left on device)
Sep 15, 2022 22:01:15.697 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Arrested Development (2003) [Comedy]/Season 1" (28: No space left on device)
Sep 15, 2022 22:01:15.714 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Arrested Development (2003) [Comedy]/Season 1/Extras - Season 1" (28: No space left on device)
Sep 15, 2022 22:01:15.722 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]" (28: No space left on device)
Sep 15, 2022 22:01:15.726 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/theme-music" (28: No space left on device)
Sep 15, 2022 22:01:15.728 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 9" (28: No space left on device)
Sep 15, 2022 22:01:15.732 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 8" (28: No space left on device)
Sep 15, 2022 22:01:15.736 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 7" (28: No space left on device)
Sep 15, 2022 22:01:15.741 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 6" (28: No space left on device)
Sep 15, 2022 22:01:15.745 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 5" (28: No space left on device)
Sep 15, 2022 22:01:15.751 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 4" (28: No space left on device)
Sep 15, 2022 22:01:15.756 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 3" (28: No space left on device)
Sep 15, 2022 22:01:15.762 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 2" (28: No space left on device)
Sep 15, 2022 22:01:15.767 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 12" (28: No space left on device)
Sep 15, 2022 22:01:15.771 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 11" (28: No space left on device)
Sep 15, 2022 22:01:15.775 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 10" (28: No space left on device)
Sep 15, 2022 22:01:15.779 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 1" (28: No space left on device)
Sep 15, 2022 22:01:15.783 [0x7fcadedc3b00] ERROR - [Notify] Failed to add watch for "/volume1/NAS2/TV Shows/Archer (2009) (2009) [Animation]/Season 13" (28: No space left on device)

```

This procedure will calculate how many folder slots you need and then configure the Synology to accommodate that size.

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/synology-faq-questions-answers-and-a-few-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…

Please apply this first, Turn [DEBUG logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) back on, Restart DSM, and recreate what isn’t working.

---

<div class="post-metadata">

**Author:** ![djchappy](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@djchappy](https://forums.plex.tv/u/djchappy)\
**Post date:** [September 16, 2022, 5:22am UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/3 "2022-09-16T05:22:30Z")

</div>

Hi ChuckPa, many thanks for you fast reply and advice. I have turned on DEBUG logging and run the folder increase script you suggested.

I then tried to optimize a TV episiode and it started but stopped.

I have uploaded more logs if you could please have a look.

Thanks,  
[Plex Media Server Logs\_2022-09-16\_15-19-42.zip](https://forums.plex.tv/uploads/short-url/fITujlClO4v2Ju6QUXA3xpDoK0C.zip) (7.5 MB)

---

<div class="post-metadata">

**Author:** ![djchappy](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@djchappy](https://forums.plex.tv/u/djchappy)\
**Post date:** [September 16, 2022, 5:27am UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/4 "2022-09-16T05:27:07Z")

</div>

Sorry after the optimize stopped and said waiting I uploaded the logs. It appears to have started again now…

---

<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:** [September 16, 2022, 6:05am UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/5 "2022-09-16T06:05:54Z")

</div>

You have a permissions problem for `/volume1/TV Other`.  
PlexMediaServer can’t read (or write) it.

```auto
Sep 16, 2022 13:11:55.428 [0x7f68a15bbb00] ERROR - Couldn't check for the existence of file "/volume1/TV Other/.grab": boost::filesystem::status: Permission denied: "/volume1/TV Other/.grab"

```

Shows up here too:

```auto
Sep 16, 2022 13:14:15.021 [0x7f689ec45b00] ERROR - [Notify] Failed to add watch for "/volume1/TV Other" (13: Permission denied)
Sep 16, 2022 13:14:15.102 [0x7f689ec45b00] DEBUG - [Notify] Can't open root directory "/volume1/TV Other" (boost::filesystem::directory_iterator::construct: Permission denied: "/volume1/TV Other")
Sep 16, 2022 13:14:21.187 [0x7f689d21eb00] DEBUG - NetworkServiceBrowser: Parsing SSDP schema for http://192.168.77.75:49154/MediaRenderer/desc.xml

```

After seeing these errors, are you attempting to store Optimized versions in that shared folder ?

---

<div class="post-metadata">

**Author:** ![djchappy](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@djchappy](https://forums.plex.tv/u/djchappy)\
**Post date:** [September 16, 2022, 11:55am UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/6 "2022-09-16T11:55:13Z")

</div>

Thanks ChuckPa, appreciate you checking the logs for me. No there’s been no attempts to store optimized versions there.

Can you see any other issues in the logs? Did I manage to increase the monitoring fodlers correctly?

Thanks again.

---

<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:** [September 17, 2022, 4:04am UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/7 "2022-09-17T04:04:08Z")

</div>

There are no other errors showing in your logs.

Would it be possible for you to recreate the error and capture another set of logs?

---

<div class="post-metadata">

**Author:** ![djchappy](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@djchappy](https://forums.plex.tv/u/djchappy)\
**Post date:** [September 17, 2022, 2:14pm UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/8 "2022-09-17T14:14:00Z")

</div>

Hi ChuckPa, thanks again for your help. I am unable to reproduce the error now after your advice.

Optimized versions are now working.

Cheers

---

<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:** [December 16, 2022, 2:14pm UTC](https://forums.plex.tv/t/optimized-versions-on-synology-ds1821/810904/9 "2022-12-16T14:14:22Z")

</div>

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