-
-
[Support] HaveAGitGat - Tdarr: Audio/Video Library Analytics & Transcode Automation
Hello everyone, I am currently running Unraid 6.12.10 on an HP Elitedesk g1 800 USDT with an MXM 3.0 graphics card. The goal of this server is for it to act as a support to an Asustor NAS, and utilize its mxm graphics card to do Tdarr transcoding of the files on the Asustor NAS. The Unraid server is set up with access to the SMB drives hosted on the Asustor NAS, and the accounts used to connect to the Asustor NAS via the Unraid server have read/write permissions for the drives I want to give access to. I have Plex running and accessing files on the Asustor NAS without issue, and the Plex container seems to have no trouble accessing the mounted SMB drives (I have both Unassigned Devices and Unassigned Devices Plus plugins installed). I am now trying to use Tdarr Node container (version 2.18.02 on both node and server) to access the files on the Asustor NAS. In the container setup, I have specified the Server IP as the NAS server (which is hosting the server in its own docker container), and the node IP as the static IP of the unraid server. Server port has been left as the default 8266 (matching that of the asustor container), and node port is the default 8267 (as set on the asustor container). For media library and transcode cache, I am pointing those locations to the direct SMB locations that were mounted into unraid (in unraid - /mnt/remotes/servername/mediadirectory; /mnt/remotes/servername/transcodecachedirectory). For the media and cache directory, access mode has been set to "Read/Write Slave". When starting up the container, the logs show the following: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [2024-05-16T14:11:02.548] [INFO] Tdarr_Node - Config validation passed [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - version: 2.18.02 [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - platform_arch_isdocker: linux_x64_docker_true [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - Starting Tdarr_Node [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - Preparing environment [2024-05-16T14:11:02.621] [INFO] Tdarr_Node - Path translator: Checking Node path: /mnt/media [2024-05-16T14:11:02.631] [INFO] Tdarr_Node - Path translator: Success: Node path can be accessed: /mnt/media [2024-05-16T14:11:02.631] [INFO] Tdarr_Node - Path translator: Checking Node path: /temp [2024-05-16T14:11:02.634] [INFO] Tdarr_Node - Path translator: Success: Node path can be accessed: /temp [2024-05-16T14:11:02.635] [INFO] Tdarr_Node - Running binary tests [2024-05-16T14:11:02.688] [INFO] Tdarr_Node - Node connected & registered [2024-05-16T14:11:02.690] [INFO] Tdarr_Node - Downloading plugins from server [2024-05-16T14:11:02.829] [INFO] Tdarr_Node - Finished downloading plugins from server [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - ---------------Binary tests start---------------- [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - handbrakePath:HandBrakeCLI [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - ffmpegPath:tdarr-ffmpeg [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - mkvpropedit:mkvpropedit [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - Binary test 1: handbrakePath working [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - Binary test 2: ffmpegPath working [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - Binary test 3: mkvpropeditPath working [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - ---------------Binary tests end------------------- [2024-05-16T14:11:02.837] [INFO] Tdarr_Node - Running scanner tests [2024-05-16T14:11:02.837] [INFO] Tdarr_Node - ---------------Scanner tests start---------------- [2024-05-16T14:11:02.837] [INFO] Tdarr_Node - ffprobePath:/app/Tdarr_Node/node_modules/@ffprobe-installer/linux-x64/ffprobe [2024-05-16T14:11:02.838] [INFO] Tdarr_Node - ccextractorPath:ccextractor [2024-05-16T14:11:02.838] [INFO] Tdarr_Node - Scanner test: Scanning file start [2024-05-16T14:11:03.750] [INFO] Tdarr_Node - Scanner test: Scanning file end [2024-05-16T14:11:03.750] [INFO] Tdarr_Node - Scanner test 1: FFprobe working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - Scanner test 2: Exiftool working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - Scanner test 3: Mediainfo working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - Scanner test 4: CCExtractor working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - ---------------Scanner tests end---------------- [2024-05-16T14:11:07.511] [ERROR] Tdarr_Node - stderr: { } [2024-05-16T14:11:07.513] [WARN] Tdarr_Node - FFprobe was unable to extract any data from this file: /PlexStorage/Video/Movies/test/test.mp4 as the FFprobe result is {} [2024-05-16T14:11:07.764] [ERROR] Tdarr_Node - { result: 'error', error: {} } [2024-05-16T14:11:07.855] [ERROR] Tdarr_Node - [Error: ENOENT: no such file or directory, open '/PlexStorage/Video/Movies/test/test.mp4'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/PlexStorage/Video/Movies/test/test.mp4' } [2024-05-16T14:11:07.858] [ERROR] Tdarr_Node - Error running MediaInfo 3 [2024-05-16T14:11:07.858] [ERROR] Tdarr_Node - ENOENT: no such file or directory, open '/PlexStorage/Video/Movies/test/test.mp4' TypeError: Cannot read properties of undefined (reading 'size') at /app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:7144 at k (/app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:2104) at Object.next (/app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:1206) at h (/app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:664) [2024-05-16T14:11:08.001] [FATAL] Tdarr_Node - Error: EACCES: permission denied, mkdir '/TdarrTempVideoTranscode/Converting/tdarr-workDir-node-QrgVRwRkv-worker-jaded-jay-ts-1715897439198' at Object.mkdirSync (node:fs:1391:3) at module.exports.makeDirSync (/app/Tdarr_Node/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13) at /app/Tdarr_Node/srcug/workers/worker1.js:1:48368 at k (/app/Tdarr_Node/srcug/workers/worker1.js:1:10173) at Object.next (/app/Tdarr_Node/srcug/workers/worker1.js:1:9222) at h (/app/Tdarr_Node/srcug/workers/worker1.js:1:8675) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { errno: -13, syscall: 'mkdir', code: 'EACCES', path: '/TdarrTempVideoTranscode/Converting/tdarr-workDir-node-QrgVRwRkv-worker-jaded-jay-ts-1715897439198' } [2024-05-16T14:11:08.007] [ERROR] Tdarr_Node - Worker jaded-jay exited with code 1 and signal null -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- When connecting the SMB folders, I did use the "Search for Servers" and "Load Shares". Both the server and various shares appeared without issue, suggesting a valid username/password combination. The connected SMBs are able to display used/free space on the respective drives. I've looked at the plugin "Fix Common Problems" and do not see anything popping up for problems in the setup. My understanding is that Docker may have some restrictions on what a container is able to do in SMB shares, but this read/write issue seems to not be present in my plex container on the same device. I am new to Docker, and trying to decipher the volume add threads has been interesting, as it seems like most references are to a volume that exists on the host, as opposed to a remote device. From what I can tell most of them are for creating an SMB that can be added to a container, and less about mounting an already existing SMB on another device. I have already tried switching the container into advance mode to run it in privileged mode, and get the same outcome. From what I could find on the unraid documentation, https://docs.unraid.net/#Accessing_a_Volume_Mapping_Inside_a_Container is currently to be updated, along with https://docs.unraid.net/#Volume_Mappings. The closest issue I am able to find is https://forums.unraid.net/topic/54247-how-do-i-mount-smb-shared-into-my-plex-docker/. It sounded like the issue in that instance was a space within the server name. My asustor server uses an "_" in the place of spaces, so I am thinking it is not a name issue. When I am mounting my SMB shares, the show up in the SMB/NFS/ISO File shares portion of unassigned devices. Under remote SMB, each of the SMBs I am trying to connect to in the docker containers have "Automount" and "Share" enabled. The last thing I have tried is to edit the Tdarr_Node_Config.json, specifying the server/node locations so that they point at the same place: Tdarr_Node_Config.json --------------------------------------------------------------------------------------------------------------------------------------------------- { "nodeID": "Tdarr Slave Test", "nodeName": "Tdarr Slave Test", "serverIP": "asustor server ip address here", "serverPort": "8266", "handbrakePath": "", "ffmpegPath": "", "mkvpropeditPath": "", "pathTranslators": [ { "server": "/Volume2/PlexStorage/Video/", "node": "/mnt/media" }, { "server": "/Volume3/SSD_Storage/TdarrTempVideoTranscode/", "node": "/temp" } ], "logLevel": "INFO", "priority": -1, "cronPluginUpdate": "", "apiKey": "" } ------------------------------------------------------------------------------------------------------------------------------------------------ After running the json through a validator, it was added to the appdata/config folder. The issue seems to come back to being able to see the drive, but files/paths having no readable data. *EDIT: I have tried these volumes as NFS instead of SMB, and I get the exact same error messages.* Thanks in advance for any insights on this! 🙂
-
IISpy_GuyII joined the community
-
Connecting Tdarr node container to a remote SMB
Hello everyone, I am currently running Unraid 6.12.10 on an HP Elitedesk g1 800 USDT with an MXM 3.0 graphics card. The goal of this server is for it to act as a support to an Asustor NAS, and utilize its mxm graphics card to do Tdarr transcoding of the files on the Asustor NAS. The Unraid server is set up with access to the SMB drives hosted on the Asustor NAS, and the accounts used to connect to the Asustor NAS via the Unraid server have read/write permissions for the drives I want to give access to. I have Plex running and accessing files on the Asustor NAS without issue, and the Plex container seems to have no trouble accessing the mounted SMB drives (I have both Unassigned Devices and Unassigned Devices Plus plugins installed). I am now trying to use Tdarr Node container (version 2.18.02 on both node and server) to access the files on the Asustor NAS. In the container setup, I have specified the Server IP as the NAS server (which is hosting the server in its own docker container), and the node IP as the static IP of the unraid server. Server port has been left as the default 8266 (matching that of the asustor container), and node port is the default 8267 (as set on the asustor container). For media library and transcode cache, I am pointing those locations to the direct SMB locations that were mounted into unraid (in unraid - /mnt/remotes/servername/mediadirectory; /mnt/remotes/servername/transcodecachedirectory). For the media and cache directory, access mode has been set to "Read/Write Slave". When starting up the container, the logs show the following: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [2024-05-16T14:11:02.548] [INFO] Tdarr_Node - Config validation passed [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - version: 2.18.02 [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - platform_arch_isdocker: linux_x64_docker_true [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - Starting Tdarr_Node [2024-05-16T14:11:02.620] [INFO] Tdarr_Node - Preparing environment [2024-05-16T14:11:02.621] [INFO] Tdarr_Node - Path translator: Checking Node path: /mnt/media [2024-05-16T14:11:02.631] [INFO] Tdarr_Node - Path translator: Success: Node path can be accessed: /mnt/media [2024-05-16T14:11:02.631] [INFO] Tdarr_Node - Path translator: Checking Node path: /temp [2024-05-16T14:11:02.634] [INFO] Tdarr_Node - Path translator: Success: Node path can be accessed: /temp [2024-05-16T14:11:02.635] [INFO] Tdarr_Node - Running binary tests [2024-05-16T14:11:02.688] [INFO] Tdarr_Node - Node connected & registered [2024-05-16T14:11:02.690] [INFO] Tdarr_Node - Downloading plugins from server [2024-05-16T14:11:02.829] [INFO] Tdarr_Node - Finished downloading plugins from server [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - ---------------Binary tests start---------------- [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - handbrakePath:HandBrakeCLI [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - ffmpegPath:tdarr-ffmpeg [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - mkvpropedit:mkvpropedit [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - Binary test 1: handbrakePath working [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - Binary test 2: ffmpegPath working [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - Binary test 3: mkvpropeditPath working [2024-05-16T14:11:02.836] [INFO] Tdarr_Node - ---------------Binary tests end------------------- [2024-05-16T14:11:02.837] [INFO] Tdarr_Node - Running scanner tests [2024-05-16T14:11:02.837] [INFO] Tdarr_Node - ---------------Scanner tests start---------------- [2024-05-16T14:11:02.837] [INFO] Tdarr_Node - ffprobePath:/app/Tdarr_Node/node_modules/@ffprobe-installer/linux-x64/ffprobe [2024-05-16T14:11:02.838] [INFO] Tdarr_Node - ccextractorPath:ccextractor [2024-05-16T14:11:02.838] [INFO] Tdarr_Node - Scanner test: Scanning file start [2024-05-16T14:11:03.750] [INFO] Tdarr_Node - Scanner test: Scanning file end [2024-05-16T14:11:03.750] [INFO] Tdarr_Node - Scanner test 1: FFprobe working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - Scanner test 2: Exiftool working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - Scanner test 3: Mediainfo working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - Scanner test 4: CCExtractor working [2024-05-16T14:11:03.751] [INFO] Tdarr_Node - ---------------Scanner tests end---------------- [2024-05-16T14:11:07.511] [ERROR] Tdarr_Node - stderr: { } [2024-05-16T14:11:07.513] [WARN] Tdarr_Node - FFprobe was unable to extract any data from this file: /PlexStorage/Video/Movies/test/test.mp4 as the FFprobe result is {} [2024-05-16T14:11:07.764] [ERROR] Tdarr_Node - { result: 'error', error: {} } [2024-05-16T14:11:07.855] [ERROR] Tdarr_Node - [Error: ENOENT: no such file or directory, open '/PlexStorage/Video/Movies/test/test.mp4'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/PlexStorage/Video/Movies/test/test.mp4' } [2024-05-16T14:11:07.858] [ERROR] Tdarr_Node - Error running MediaInfo 3 [2024-05-16T14:11:07.858] [ERROR] Tdarr_Node - ENOENT: no such file or directory, open '/PlexStorage/Video/Movies/test/test.mp4' TypeError: Cannot read properties of undefined (reading 'size') at /app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:7144 at k (/app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:2104) at Object.next (/app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:1206) at h (/app/Tdarr_Node/srcug/commonModules/fsUtils.js:1:664) [2024-05-16T14:11:08.001] [FATAL] Tdarr_Node - Error: EACCES: permission denied, mkdir '/TdarrTempVideoTranscode/Converting/tdarr-workDir-node-QrgVRwRkv-worker-jaded-jay-ts-1715897439198' at Object.mkdirSync (node:fs:1391:3) at module.exports.makeDirSync (/app/Tdarr_Node/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13) at /app/Tdarr_Node/srcug/workers/worker1.js:1:48368 at k (/app/Tdarr_Node/srcug/workers/worker1.js:1:10173) at Object.next (/app/Tdarr_Node/srcug/workers/worker1.js:1:9222) at h (/app/Tdarr_Node/srcug/workers/worker1.js:1:8675) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { errno: -13, syscall: 'mkdir', code: 'EACCES', path: '/TdarrTempVideoTranscode/Converting/tdarr-workDir-node-QrgVRwRkv-worker-jaded-jay-ts-1715897439198' } [2024-05-16T14:11:08.007] [ERROR] Tdarr_Node - Worker jaded-jay exited with code 1 and signal null -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- When connecting the SMB folders, I did use the "Search for Servers" and "Load Shares". Both the server and various shares appeared without issue, suggesting a valid username/password combination. The connected SMBs are able to display used/free space on the respective drives. I've looked at the plugin "Fix Common Problems" and do not see anything popping up for problems in the setup. My understanding is that Docker may have some restrictions on what a container is able to do in SMB shares, but this read/write issue seems to not be present in my plex container on the same device. I am new to Docker, and trying to decipher the volume add threads has been interesting, as it seems like most references are to a volume that exists on the host, as opposed to a remote device. From what I can tell most of them are for creating an SMB that can be added to a container, and less about mounting an already existing SMB on another device. I have already tried switching the container into advance mode to run it in privileged mode, and get the same outcome. From what I could find on the unraid documentation, https://docs.unraid.net/#Accessing_a_Volume_Mapping_Inside_a_Container is currently to be updated, along with https://docs.unraid.net/#Volume_Mappings. The closest issue I am able to find is https://forums.unraid.net/topic/54247-how-do-i-mount-smb-shared-into-my-plex-docker/. It sounded like the issue in that instance was a space within the server name. My asustor server uses an "_" in the place of spaces, so I am thinking it is not a name issue. When I am mounting my SMB shares, the show up in the SMB/NFS/ISO File shares portion of unassigned devices. Under remote SMB, each of the SMBs I am trying to connect to in the docker containers have "Automount" and "Share" enabled. The last thing I have tried is to edit the Tdarr_Node_Config.json, specifying the server/node locations so that they point at the same place: Tdarr_Node_Config.json --------------------------------------------------------------------------------------------------------------------------------------------------- { "nodeID": "Tdarr Slave Test", "nodeName": "Tdarr Slave Test", "serverIP": "asustor server ip address here", "serverPort": "8266", "handbrakePath": "", "ffmpegPath": "", "mkvpropeditPath": "", "pathTranslators": [ { "server": "/Volume2/PlexStorage/Video/", "node": "/mnt/media" }, { "server": "/Volume3/SSD_Storage/TdarrTempVideoTranscode/", "node": "/temp" } ], "logLevel": "INFO", "priority": -1, "cronPluginUpdate": "", "apiKey": "" } ------------------------------------------------------------------------------------------------------------------------------------------------ After running the json through a validator, it was added to the appdata/config folder. The issue seems to come back to being able to see the drive, but files/paths having no readable data. Thanks in advance for any insights on this! 🙂
IISpy_GuyII
Members
-
Joined
-
Last visited