Bygons 3 Posted June 28, 2025 Posted June 28, 2025 I have had some trouble getting permissions to work for the post processing file. initially the logs showed "permission denied" so I did sudo chmod +rwx /home/antonio/bif/Linuxconvert.ls and sudo chmod +rwx /home/antonio/bif to get permissions to the file and directory. I also made emby the owner of the post processing file to cover all the bases. It seemed to work because now the emby user can see and has permissions to everything: root@EmbyServer:~# ls -l /home/antonio/bif -rwxrwxrwx+ 1 antonio antonio 889308 Mar 30 2023 biftool.exe -rwxrwxrwx+ 1 emby emby 454 Jun 28 12:04 Linuxconvert.sh root@EmbyServer:~# sudo su -s /bin/bash emby emby@EmbyServer:/root$ cd /home/antonio/bif emby@EmbyServer:/home/antonio/bif$ ls biftool.exe Linuxconvert.sh Now I am getting a "No such file or directory" error. I am so lost. Any ideas? 2025-06-28 15:01:00.525 Error LiveTV: Error running recording post processor *** Error Report *** Version: 4.8.11.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.1.0-37-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Framework: .NET 6.0.36 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 8 Data path: /var/lib/emby Application path: /opt/emby-server/system System.ComponentModel.Win32Exception: System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/home/antonio/bif/Linuxconvert.sh' with working directory '/opt/emby-server'. No such file or directory at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Emby.ProcessRun.CoreProcess.CoreProcessLocal.Run(StartParams startParams) at Emby.ProcessRun.Runners.ProcessRunnerBase.Run(StartParams startParams) at Emby.LiveTV.EmbyTV.PostProcessRecording(ActiveRecordingInfo recordingInfo) Source: System.Diagnostics.Process TargetSite: Boolean ForkAndExecProcess(System.Diagnostics.ProcessStartInfo, System.String, System.String[], System.String[], System.String, Boolean, UInt32, UInt32, UInt32[], Int32 ByRef, Int32 ByRef, Int32 ByRef, Boolean, Boolean) 2025-06-28 15:01:00.525 Info LiveTV: Triggering refresh on /mnt/tv/MotorWeek (1981)/Season 44/MotorWeek S44E43 2025 Volkswagen Taos.ts embyserver.txt
Solution Bygons 3 Posted June 28, 2025 Author Solution Posted June 28, 2025 OK, one more idea. I looked at this: https://stackoverflow.com/questions/70155625/bash-no-such-file-or-directory-when-file-is-clearly-present and the answer fixed it. My endings were wrong, they were windows EOL characters because I am moving from a Windows box and the file originated there. OMG. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now