Jellyfin Forum
Seeking Help with Adding Media issue (LINUX) - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Seeking Help with Adding Media issue (LINUX) (/t-seeking-help-with-adding-media-issue-linux)



Seeking Help with Adding Media issue (LINUX) - Gotta - 2024-09-30

Hello, I'm having three issues at the moment.


System:
  Kernel: 6.8.0-45-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.18.1 tk: Gtk 3.24.33
    info: xfce4-panel wm: xfwm 4.18.0 vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy

Jellyfin Server - 10.9.11

--Problem 1--

When i go to Add Media it gives me this Prompt
"The path could not be found. Please ensure the path is valid and try again."
using my google-fu i came across a few threads with people having similar issues.
someone had mentioned Flatpaks run it as the USER / OWNER?
and that the CLi of the updated installation the USER could be Jellyfin instead, and that you would have to give Read/Write Permissions to it (I have no idea how i would go about doing this)
On the Previous version everything was working ( besides allowing outside connections to the server, which got me looking up the issue, and someone said it may because im using an out of date version? )

it should be noted that the Media is stored on Multiple Hard Drives - im trying to add in, which is on another drive for example.
Quote:/media/mert/New Volume/uTorrent

--Problem 2--

I'm currently having an issue where Outside connections are unable to connect to the server - which im starting to think it's a Linux issue, possibly Firewall, because i used to run Win10 host and it worked fine.

--Problem 3--

Because i installed via CLi - my old Jellyfin Server Icon tries to host the Previous Version and not 10.9.11 - i had to re-run "

Code:
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

Here's the entire prompt of the installation process of the CLi command
Code:
mert@mert:~$ curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                Dload  Upload  Total  Spent    Left  Speed
  0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0[s100 10606  100 10606    0    0  92323      0 --:--:-- --:--:-- --:--:-- 93035

Sorry, try again.
[sudo] password for mert:   
> Determining optimal repository settings.

Found the following details from '/etc/os-release':
  Real OS:            linuxmint
  Repository OS:      ubuntu
  Repository Release: jammy
  CPU Architecture:  amd64
If this looks correct, press <Enter> now to continue installing Jellyfin.

> Fetching repository signing key.

> Installing Jellyfin repository into APT.
Types: deb
URIs: https://repo.jellyfin.org/ubuntu
Suites: jammy
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/jellyfin.gpg

> Updating APT repositories.
Hit:1 http://ubuntu.mirror.rafal.ca/ubuntu jammy InRelease
Hit:2 http://ubuntu.mirror.rafal.ca/ubuntu jammy-updates InRelease           
Hit:3 http://ubuntu.mirror.rafal.ca/ubuntu jammy-backports InRelease         
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]     
Ign:5 https://mirror.csclub.uwaterloo.ca/linuxmint-packages virginia InRelease
Hit:6 https://mirror.csclub.uwaterloo.ca/linuxmint-packages virginia Release
Get:8 https://repo.jellyfin.org/ubuntu jammy InRelease [6,660 B]
Fetched 136 kB in 1s (246 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

> Installing Jellyfin.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
jellyfin is already the newest version (10.9.11+ubu2204).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

> Waiting 15 seconds for Jellyfin to fully start up.

-------------------------------------------------------------------------------
● jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
            └─jellyfin.service.conf
    Active: active (running) since Mon 2024-09-30 03:33:08 EDT; 3h 55min left
  Main PID: 2052 (jellyfin)
      Tasks: 20 (limit: 154202)
    Memory: 283.4M
        CPU: 4.427s
    CGroup: /system.slice/jellyfin.service
            └─2052 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --ffmpeg…

Sep 30 03:33:10 mert jellyfin[2052]: [03:33:10] [INF] Available decoders: ["lib…
Sep 30 03:33:10 mert jellyfin[2052]: [03:33:10] [INF] Available encoders: ["lib…
Sep 30 03:33:11 mert jellyfin[2052]: [03:33:11] [INF] Available filters: ["dein…
Sep 30 03:33:11 mert jellyfin[2052]: [03:33:11] [INF] Available hwaccel typ…an"]
Sep 30 03:33:11 mert jellyfin[2052]: [03:33:11] [INF] FFmpeg: /usr/lib/jell…mpeg
Sep 30 03:33:11 mert jellyfin[2052]: [03:33:11] [INF] ServerId: e5f30696996…0899
Sep 30 03:33:11 mert jellyfin[2052]: [03:33:11] [INF] Core startup complete
Sep 30 03:33:11 mert jellyfin[2052]: [03:33:11] [INF] Startup complete 0:00…5323
Sep 30 03:33:13 mert jellyfin[2052]: [03:33:13] [INF] Clean up collections …onds
Sep 30 03:33:14 mert jellyfin[2052]: [03:33:14] [INF] Update Plugins Comple…onds
Hint: Some lines were ellipsized, use -l to show in full.
-------------------------------------------------------------------------------

You should see the service as 'active (running)' above. If not, use https://jellyfin.org/contact to find us for troubleshooting.

You can access your new instance now at http://10.0.0.135:8096 in your web browser to finish setting up Jellyfin.

Thank you for installing Jellyfin, and happy watching!

Thanks, Chris


RE: Seeking Help with Adding Media issue (LINUX) - TheDreadPirate - 2024-09-30

(2024-09-30, 04:48 AM)Gotta Wrote:
Quote:/media/mert/New Volume/uTorrent

This is your problem.

This the udisk2 mount location for secondary storage.  udisk2 will place an ACL (access control list) on /media/mert, which is preventing the jellyfin user from accessing that location.  You could remove the ACL, but that is a temporary solution.  The proper solution is to mount this storage via /etc/fstab.

I've written a guide for mounting drives via /etc/fstab.  And it doubles as a linux permissions primer to help understand why this happens.

https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer