Synology Nas + Temp location for transcoding

Hi team,

Sorry to bring this up if its listed somewhere else I just haven’t found it anywhere.

Hardware Synology Nas 1815+
Software Version - DSM 7.1.1-42962 Update 6

Plex Server Version 1.40.0.7998

I want to use my usb as the transcode location, I dont know what is the correct way to set this up then test that it is being used.

The pathname you need for PMS is based on whether USB1 or USB2

The name isn’t cryptic - /volumeUSB1 for usbshare1 and /volumeUSB2 for usbshare2

Here’s what it looks like in Linux (SSH login to the Syno)

I have 1 drive connected.

chuck@ds418:~$ ls /
bin     dev  etc.defaults  lib    lib64       mnt   root  sbin  tmp  var           volume1  volumeUSB1
config  etc  initrd        lib32  lost+found  proc  run   sys   usr  var.defaults  volume2
chuck@ds418:~$

Thanks, I’ve been trying to see if I’ve done this correctly but I don’t see files in my transcode folder while its transcoding.





anyone who can help with info id really appreciate it, there must be a simple step ive missed

Have you confirmed that System Internal User PlexMediaServer has RW access?
The default settings would not allow it

I believe so but as I can not get it to work I must have missed something these are the share rules I set

I can find the share on the server interface

i can add files as a test

and they are found as a test

I’ve uploaded some logs
Plex Media Server Logs_2024-04-28_17-28-05.zip (4.5 MB)

i do see this in the logs

Thank you for the logs. I immediately found a major problem
(configuring DSM to accommodate your library)

Apr 28, 2024 17:08:31.895 [140627524496184] INFO - /volume1/@appstore/PlexMediaServer/Plex Media Server
Apr 28, 2024 17:08:31.799 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Specials/Gaki no Tsukai No Laughing Batsu Game - Specials 02 (2001) Haunted Hotel" (28: No space left on device)
Apr 28, 2024 17:08:31.799 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Specials/Gaki no Tsukai No Laughing Batsu Game - Specials 01 (2000) 24-Hour Tag" (28: No space left on device)
Apr 28, 2024 17:08:31.799 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S17E01 No Laughing Youth High School (2019)" (28: No space left on device)
Apr 28, 2024 17:08:31.799 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S16E01 No Laughing Treasure Hunters (2018)" (28: No space left on device)
Apr 28, 2024 17:08:31.800 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S15E01 No Laughing American Police (2017)" (28: No space left on device)
Apr 28, 2024 17:08:31.800 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S14E01 No Laughing Science Lab (2016)" (28: No space left on device)
Apr 28, 2024 17:08:31.800 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S13E01 No Laughing Detective Agency (2015)" (28: No space left on device)
Apr 28, 2024 17:08:31.800 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S12E01 No Laughing Prison (2014)" (28: No space left on device)
Apr 28, 2024 17:08:31.800 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S11E01 No Laughing Defense Force (2013)" (28: No space left on device)
Apr 28, 2024 17:08:31.804 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S10E01 No Laughing Enthusiastic Teachers (2012)" (28: No space left on device)
Apr 28, 2024 17:08:31.804 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S09E01 No Laughing at the Airport (2011)" (28: No space left on device)
Apr 28, 2024 17:08:31.804 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S08E01 No Laughing at the Spy Agency (2010)" (28: No space left on device)
Apr 28, 2024 17:08:31.805 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S07E01 No Laughing at the Hotel (2009)" (28: No space left on device)
Apr 28, 2024 17:08:31.805 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S07E01 No Laughing at the Hotel (2009)/Not_Hotel_Man" (28: No space left on device)
Apr 28, 2024 17:08:31.806 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S06E01 No Laughing at a Newspaper Agency (2008)" (28: No space left on device)
Apr 28, 2024 17:08:31.806 [140627117534008] ERROR - [Req#134ca4] [Notify] Failed to add watch for "/volume1/TV Shows/Gaki no Tsukai No Laughing Batsu Game/Gaki no Tsukai No Laughing Batsu Game - S05E01 No Laughing in a Hospital (2007)" (28: No space left on device)

You need to do this procedure.
– You add up how many folders your media is using
– Round that number up to the next even multiple of 32768
– Create and run a Task Scheduler script to do the configuration for you.

It’s all here. Ask if you have questions

ALSO – Let me know if you less than 8GB of memory in the NAS before you do this.

@josephthewhite

In addition to correcting the Notify errors…

The transcoder temp directory is used by Plex Media Server when transcoding.

Do not place any media there. Do not add it to a Plex library. Your screenshots show you have done both.

https://global.discourse-cdn.com/plex/optimized/4X/1/9/e/19eecbfe357ec848cda1bed677526c1d4b0239ef_2_690x364.png

ok thanks, those files where there as a test to see if plex had access to the drive, i have removed them now.

Sorry for the late reply, and thanks for the reply.

Yes I have less that 8 gigs i have 6gigs, ill hang off doing for now

so count all the folders

252 + 985 + 5697 + 6560 + 222 = 13716

Round that number up to the next even multiple of 32768 = 32768 (Id say)

Yes. 32768 will work well for you. It can be cut to 16384 but that’s not leaving you much room.

cool, so my less than 8 gigs of ram is not a factor and Im ok to make this change.

Yes, you’re OK to set it at 32768.

You’ll only be using 49.1 MB of memory, locked, for the table and paths.

Sorry I got a questions have I done this correct I read over the steps

  1. Add 32768 to the value: (13716)

13716+32768=4648413716+32768=46484

  1. Divide by 32768:

46484/32768=1.41846484/32768=1.418

  1. Add 1 to the integer result (ignoring fractions):

1+1=21+1=2

  1. Multiply by 32768:

2×32768=655362×32768=65536

So, the final result is 65536

Remove any previous s2s_watches_max entries (avoid clutter)

sed -i ‘s/^s2s_watches_max=.$//’ /etc/synoinfo.conf
sed -i 's/^s2s_watches_max=.
$//’ /etc.defaults/synoinfo.conf

This is an example only. Use your actual result below to add the new value

echo ‘s2s_watches_max=65536’ >> /etc/synoinfo.conf
echo ‘s2s_watches_max=65536’ >> /etc.defaults/synoinfo.conf

is this correct?

Here we go:

  1. You currently have 13716 folders
  2. This is less than the first step of 32768.
  3. We can try with that or just take the next step and be done. Your choice.
  4. The next step is as you calculated.

(13716 + 32768) / 32768 ==> 1.418
1 + 1 ==> 2
2 * 32768 ==> 65536

  1. Your modification of the commands to change ‘262144’ → ‘65536’ is correct.

I had miscalculated earlier. Based on 65536, your maximum memory usage for this is 99MB. The actual amount will depend on the length of each path but I’ve calculated based on maximum path length of 1K each (most are well less than 512). You should still be well positioned in the 50-75MB usage range.

ok ill make the change

I have made the changes, atm no media is being watched, but intro are being found on new media. Under console I am getting this I will attach logs is the the same problem or different?

I feel like its getting close to being working

Plex Media Server Logs_2024-05-23_18-40-12.zip (5.2 MB)

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