LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-25-2022, 10:26 AM   #1
clifford122
LQ Newbie
 
Registered: Oct 2022
Posts: 3

Rep: Reputation: 0
Question Playback error on jellyfin library from samba nas device mounted on raspberry pi


I have a nas samba share that i have mounted on my raspberry pi that I use as a jellyfin server.

Unfortunately I get a playback error on libraries from that mounted share (but not in other libraries)

The /etc/fstab entry is as follows:

Code:
//192.168.1.220/mypassg /mnt/internetbox-nas cifs noperm,guest,uid=1001,gid=1001 0 0
When I try to mount manually it still asks for a password for the share with root as user, even thought the share has no password, however just hitting enter seems to mount it anyway

Code:
user1@raspberrypi:~ $ sudo mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.220/mypassg /mnt/internetbox-nas

Password for root@//192.168.1.220/mypassg:
Could jellyfin be failing to playback the files because of some permissions error? It can add the files and to a library just fine, so I imagine it can read them.

Could the issue be caused by something else? And if so how can I fix it?

Ffmpeg seems to give a "stale file handle" error

https://pastebin.com/uzXjijth

It fails to play whether hardware acceleration is on or off.

Also when I first mounted the share and made a library it worked fine, but then stopped for some reason.

Please help!
 
Old 10-26-2022, 08:37 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
that means something is wrong with that mount. Or with the network. You need to check logs for additional information.
Can you read those files? (cat file >/dev/null works?)
 
1 members found this post helpful.
Old 10-26-2022, 01:39 PM   #3
clifford122
LQ Newbie
 
Registered: Oct 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
that means something is wrong with that mount. Or with the network. You need to check logs for additional information.
Can you read those files? (cat file >/dev/null works?)
How do I read them? What exact command should I use?
 
Old 10-26-2022, 05:42 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,728

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
When you manually mount the share without the guest option like what you have in your fstab file the mount command will automatically prompt for a password regardless.

The stale file handle error basically happens because you asked for some nonexistent data. Does the same error happen when you try to play any file on the share? You can try adding the noserverino option to the fstab or mount command to see if the error goes away. I can not determine whether it is a samba, client or server problem at the moment.

look for cifs errors in the output of the dmesg command as well as /var/log/syslog. I'm guessing, its been awhile since I have played with a Pi.

What kind of device is the NAS? Have you updated it recently while the Pi was still connected? Have you rebooted the Pi and does the error still persist.

Last edited by michaelk; 10-26-2022 at 05:46 PM.
 
1 members found this post helpful.
Old 10-28-2022, 10:05 AM   #5
clifford122
LQ Newbie
 
Registered: Oct 2022
Posts: 3

Original Poster
Rep: Reputation: 0
@michaelk

Quote:
You can try adding the noserverino option to the fstab or mount command to see if the error goes away.
This seems to have solved the issue. Although I'm still a little unclear on what the problem was exactly, thank you very much regardless.

Quote:
Does the same error happen when you try to play any file on the share?
Yes, it happened with music files too. I did not have trouble playing back files on other devices however.


Quote:
What kind of device is the NAS?
It's a router that has nas functionality with an HDD plugged in, as far as I understand it hosts the contents of the drive using several protocols simultaneously, samba included.

Quote:
Have you updated it recently while the Pi was still connected?
No, I don't believe so.

Quote:
Have you rebooted the Pi and does the error still persist.
Yes I had tried rebooting both the Pi and the nas/router several times.
Also seeing as I had mounted the nas on other systems using samba before it didn't seem to be an explicit issue with the nas setup.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Jellyfin movie library not displaying content fguarneri@gmail.com Linux - Software 0 09-23-2022 10:44 PM
LXer: Why I switched from Apple Music to Jellyfin and Raspberry Pi LXer Syndicated Linux News 1 07-02-2022 08:32 PM
LXer: Nextcloud, Firefox, Vivaldi, Kdenlive, Jellyfin, SQLite, Apple T2 vs Linux | This Week in Linux 47 LXer Syndicated Linux News 0 12-17-2018 05:42 AM
LXer: Jellyfin: Free Software Emby Media Server Fork Is Announced After Emby Becomes Proprietary LXer Syndicated Linux News 0 12-12-2018 11:50 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration