Jellyfin Forum
jellyfin-server dissappears after few seconds. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: jellyfin-server dissappears after few seconds. (/t-jellyfin-server-dissappears-after-few-seconds)



jellyfin-server dissappears after few seconds. - EinfachFinn - 2024-09-15

Hello there!
After what feels like forever of trying, rebooting, reinstalling etc. I'm posting this now.

The problem:
After setting up my jellyfin server, I can access it via app or web browser.
For the first few seconds everything works fine, but after trying some media I get disconnected and cannot reconnect.
Restarting the Jellyfin server does not work, nor does rebooting the PC.
Only on my server-pc itself I can access my jellyfin library with the browser.

My home server setup:
Hp Elitedesk G3 running a fresh install of Kubuntu:
External NTFS harddrive 1tb, mounted and also in fstab file;
Router: FritzBox7510
My log: https://pastebin.com/UZrvBuRQ

I'm so done with this, I spend my whole weekend on this project and I want to quit this all so bad!

I hope somebody can help me!
I'm happy to provide any information needed!

Thank you all in advance!
Finn


RE: jellyfin-server dissappears after few seconds. - TheDreadPirate - 2024-09-15

First, it looks like Jellyfin can't even read the NTFS drive. Read this post about setting that up.

https://unix.stackexchange.com/questions/511872/what-is-the-correct-permission-in-etc-fstab-to-mount-ntfs

How are you trying to access Jellyfin? Did you allow port 8096 in Linux firewall?

Code:
sudo ufw enable
sudo ufw allow 8096



RE: jellyfin-server dissappears after few seconds. - Host-in-the-Shell - 2024-09-15

Also, once properly mounted, does your media directory has the correct permissions set up for the jellyfin server to access its content? 

If Jellyfin is running under its own user, I would probably try

Code:
sudo chmod -R 755 /path/to/your/media

then add the jellyfin user to your user group, and assign owners:

Code:
sudo usermod -aG yourusername jellyfin
sudo chown -R yourusername:yourusername /path/to/your/media

Make sure your media is somewhere outside your home directory. If you want the jellyfin user to be able to write files, such as nfo and other metadata, I think you need to use 775 instead of 755, at least that's how it works for me. If you don't have a group for your user, you can make one with

Code:
sudo groupadd yourusername

but Kubuntu being Ubuntu based I imagine it's already created by default.