Jump to content

problems with "No such file or directory"


Cream1234

Recommended Posts

Cream1234
Posted (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 by Cream1234
Link to comment
Share on other sites

sa2000

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

Cream1234
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

Cream1234
Posted (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 by Cream1234
Link to comment
Share on other sites

sa2000

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

sa2000

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

Cream1234
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

Cream1234
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

sa2000

 

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

Cream1234
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

image.png.0c164d9b13aa3b815757aba5abe4f316.png

Link to comment
Share on other sites

sa2000

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

Cream1234
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"

image.png.fc3c7f98c966c67ed0fef81de951b654.png

Link to comment
Share on other sites

Q-Droid

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

Cream1234

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.........

image.thumb.png.fb56da7a3b5d9729f90c1824a57487c2.png

 

ALL Others are like this

image.png.a0982c5148abcfc8fcfdf973bd6560de.png

image.png.57ada91781b14defc4220b7e5577c1fb.png

ffmpeg-transcode-4024ef09-7f2a-4a0c-9236-6bd932d80223_1.txt embyserver.txt

Link to comment
Share on other sites

Cream1234
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

Q-Droid

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

Cream1234
Posted (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

 

144Pimage.thumb.png.171c53d78566dc3f9f5f3fb7c29da00c.png

 

1080P 60Mbps

image.thumb.png.75a766152e5698b4fe638259c0c2f762.png

Edited by Cream1234
Link to comment
Share on other sites

Q-Droid

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

Q-Droid
Posted (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 by Q-Droid
Link to comment
Share on other sites

Cream1234
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

Cream1234

Created /mnt2 and mount NFS still the same

Link to comment
Share on other sites

Q-Droid

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

Cream1234
Posted (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 by Cream1234
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...