Cream1234 1 Posted May 8 Share Posted May 8 (edited) i have a weird problem that i cannot resolve for over a week i have installed emby on Ubuntu, and mount media folder to my Synology nas using NFS it can scan the folder and write NFO files and pics to the folder ,however,it cannot play any videos,it will show "no available stream" after looking into the log files,it says "No such file or directory" I have tried using SMB also, SMB can play videos,but cannot write any NFO files and pic to the folder also it cannot delete any media on the server. i prefer using NFS method because i want NFO files to be store local below is the log file using NFS method ffmpeg-transcode-079c4365-139f-4663-8781-aea80a8a4cb8_1.txt Edited May 8 by Cream1234 Link to comment Share on other sites More sharing options...
sa2000 19 Posted May 8 Share Posted May 8 If the server is accessing this path "/mnt/nfs/emby/Anime/[SweetSub&VCB-Studio] Lycoris Recoil [Ma10p_1080p]/Season 1/" without any errors. then it could be due to the extended characters in the filename - could you see if there is a problem if the filename is changed from リコリス・リコイル - S01E01 - Easy does it.mkv to Lycoris Recoil - S01E01 - Easy does it.mkv Please also provide both sets of logs - the emby server log as well as the ffmpeg log - see Please repeat the tests after a fresh launch of the server Link to comment Share on other sites More sharing options...
jaycedk 399 Posted May 8 Share Posted May 8 (edited) Also the " & " in folder might be a issue. Not sure never used " & " in a folder. Linux / UNIX: Rules For Naming File And Directory Names - nixCraft (cyberciti.biz) Linux / UNIX: Reserved Characters And Words Avoid using the following characters from appearing in file names: / > < | : & Edited May 8 by jaycedk Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 9 minutes ago, sa2000 said: If the server is accessing this path "/mnt/nfs/emby/Anime/[SweetSub&VCB-Studio] Lycoris Recoil [Ma10p_1080p]/Season 1/" without any errors. then it could be due to the extended characters in the filename - could you see if there is a problem if the filename is changed from リコリス・リコイル - S01E01 - Easy does it.mkv to Lycoris Recoil - S01E01 - Easy does it.mkv Please also provide both sets of logs - the emby server log as well as the ffmpeg log - see Please repeat the tests after a fresh launch of the server okai i have changed the name and tried just now but sadly i got the same error i belive is not the name problem ffmpeg-transcode-71831cb6-cccf-4076-a5e7-25baba94ad35_1.txt embyserver.txt Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 (edited) 11 minutes ago, jaycedk said: Also the " & " in folder might be a issue. Not sure never used " & " in a folder. Linux / UNIX: Rules For Naming File And Directory Names - nixCraft (cyberciti.biz) Linux / UNIX: Reserved Characters And Words Avoid using the following characters from appearing in file names: / > < | : & i dont think thats the problem,cuz with SMB i can play the video and i tried play other video without "&" in NFS also cannot play Edited May 8 by Cream1234 Link to comment Share on other sites More sharing options...
sa2000 19 Posted May 8 Share Posted May 8 The tests are not identical with just the filename foreign characters changed There is a double .mkv extension in the 2nd test file:/mnt/nfs/emby/Anime/[SweetSub&VCB-Studio] Lycoris Recoil [Ma10p_1080p]/Season 1/リコリス・リコイル - S01E01 - Easy does it.mkv: No such file or directory file:/mnt/nfs/emby/Anime/[SweetSub&VCB-Studio] Lycoris Recoil [Ma10p_1080p]/Season 1/Lycoris Recoil - S01E01 - Easy does it.mkv.mkv: No such file or directory Link to comment Share on other sites More sharing options...
sa2000 19 Posted May 8 Share Posted May 8 The other tests to do is to bypass the nfs mounting and copy the files to a local directory on the server and see how that goes. If that works, then you need to look into how the nfs mounts are done Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 3 minutes ago, sa2000 said: The tests are not identical with just the filename foreign characters changed There is a double .mkv extension in the 2nd test file:/mnt/nfs/emby/Anime/[SweetSub&VCB-Studio] Lycoris Recoil [Ma10p_1080p]/Season 1/リコリス・リコイル - S01E01 - Easy does it.mkv: No such file or directory file:/mnt/nfs/emby/Anime/[SweetSub&VCB-Studio] Lycoris Recoil [Ma10p_1080p]/Season 1/Lycoris Recoil - S01E01 - Easy does it.mkv.mkv: No such file or directory oh my bad,i go rename and reboot server to test again now Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 2 minutes ago, Cream1234 said: oh my bad,i go rename and reboot server to test again now tested but still the same ffmpeg-transcode-da28e424-14b5-4cf7-b1e9-718531f0953c_1.txt Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 4 minutes ago, sa2000 said: The other tests to do is to bypass the nfs mounting and copy the files to a local directory on the server and see how that goes. If that works, then you need to look into how the nfs mounts are done the ubuntu is running on a pve VM with only 30 GB on the VM,the files will be too large for it but i tried with SMB method the videos can be play but emby cannot write NFO and pics to the folder Link to comment Share on other sites More sharing options...
sa2000 19 Posted May 8 Share Posted May 8 2 minutes ago, Cream1234 said: the files will be too large for it But you can do tests with a cropped mkv using mkvtoolnix 3 minutes ago, Cream1234 said: i tried with SMB method the videos can be play but emby cannot write NFO and pics to the folder You need to look into permissions / setup Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 14 minutes ago, sa2000 said: But you can do tests with a cropped mkv using mkvtoolnix You need to look into permissions / setup i looked in to permissions but i couldnt figure it out also i wish to use NFS > SMB my NFS permissons looks like this Link to comment Share on other sites More sharing options...
sa2000 19 Posted May 8 Share Posted May 8 we need to establish if the issue relates to the mounts / nfs / smb So it is important that you do a simple test with a cut down mkv in a local server media path If it is established that the issue relates to nfs / smb2 setup then I will leave it for the linux experts to step in and help - I only dabble in linux Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 55 minutes ago, sa2000 said: we need to establish if the issue relates to the mounts / nfs / smb So it is important that you do a simple test with a cut down mkv in a local server media path If it is established that the issue relates to nfs / smb2 setup then I will leave it for the linux experts to step in and help - I only dabble in linux ok i manage to test in a local server media path,and emby can play the media but it doesnt seems to write any NFO files in to it i have change the /mnt and all its sub folders permissions with "chmod -R 777 /mnt" Link to comment Share on other sites More sharing options...
Q-Droid 670 Posted May 8 Share Posted May 8 This might be a problem with ffmpeg being able to access the file or handle the file name/path. Do you still have the logs that include the ffprobe when you renamed the file? Core Emby might be fine if able to fetch and save metadata to the same path. Do you have media with similar naming that can direct play without involving ffmpeg? Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 i have a good news there is one anime that can play using NFS but others all cannot,they are all in the same folder since they are all in the same folder,there shouldnt be permission problem i really cant figure it out This is the only anime i can play using NFS......... ALL Others are like this ffmpeg-transcode-4024ef09-7f2a-4a0c-9236-6bd932d80223_1.txt embyserver.txt Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 3 minutes ago, Q-Droid said: This might be a problem with ffmpeg being able to access the file or handle the file name/path. Do you still have the logs that include the ffprobe when you renamed the file? Core Emby might be fine if able to fetch and save metadata to the same path. Do you have media with similar naming that can direct play without involving ffmpeg? i think all media is involving ffmpeg,i have uploaded some log files in my newest reply Link to comment Share on other sites More sharing options...
Q-Droid 670 Posted May 8 Share Posted May 8 Look at the stats for nerds (cog) for the one file that works to see if it was direct playing. Your server log has ffprobe failures too so it's worth checking to see if there's a difference between those files. Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 (edited) 36 minutes ago, Q-Droid said: Look at the stats for nerds (cog) for the one file that works to see if it was direct playing. Your server log has ffprobe failures too so it's worth checking to see if there's a difference between those files. i can play all res on that anime,from 1080 to 144p 144P 1080P 60Mbps Edited May 8 by Cream1234 Link to comment Share on other sites More sharing options...
Q-Droid 670 Posted May 8 Share Posted May 8 I doubt it's permissions too but just so we can eliminate that can you check them on the actual files, not just the directories. Link to comment Share on other sites More sharing options...
Q-Droid 670 Posted May 8 Share Posted May 8 (edited) Also, as suggested before you could copy one or two of those files to local storage replicating the full path. You could use mnt2 instead of mnt. Just make sure everything else about them is the same, including owner, group and permissions. Edited May 8 by Q-Droid Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 13 minutes ago, Q-Droid said: I doubt it's permissions too but just so we can eliminate that can you check them on the actual files, not just the directories. sry i dont understand what u mean by cheacking the actual files 8 minutes ago, Q-Droid said: Also, as suggested before you could copy one or two of those files to local storage replicating the full path. You could use mnt2 instead of mnt. Just make sure everything else about them is the same, including owner, group and permissions. okay i will try create a /mnt2 later, so i mount NFS like i do in /mnt right? cuz i tested local storge in /mnt already,the result is i can play the video but no NFO files will be write Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 Created /mnt2 and mount NFS still the same Link to comment Share on other sites More sharing options...
Q-Droid 670 Posted May 8 Share Posted May 8 The mnt2 path was intended to exclude nfs using local storage. You've shown directory permissions but not file permissions or ownership. Link to comment Share on other sites More sharing options...
Cream1234 1 Posted May 8 Author Share Posted May 8 (edited) 8 minutes ago, Q-Droid said: The mnt2 path was intended to exclude nfs using local storage. You've shown directory permissions but not file permissions or ownership. how to u exclude nfs using local storage? NFS is a Network FileSystem Edited May 8 by Cream1234 Link to comment Share on other sites More sharing options...
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