• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Off Topic Self-hosting & Homelabs Jellyfin on Ubuntu 22.4 trouble

     
    • 0 Vote(s) - 0 Average

    Jellyfin on Ubuntu 22.4 trouble

    Trouble accessing Jellyfin server
    dwjelly
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #1
    2023-10-07, 04:16 PM
    Hello, This is my first post and first attempt at using Jellyfin. I have always used Plex.

    I spun up a Ubuntu 22.4 server and installed Jellyfin at a specific static IP. I also created a user account at Jellyfin. I was having issues with connecting to the Media folder on my TrueNAS Scale box. After many attempts to get to my media files, I ended up deleted the server and spun up a new one. I used the same IP on the new server. After installing Jellyfin successfully, I tried to connect to the server and log in.  I was able to get to the log in screen. When I tried the creds I previously used, I get an unable to connect screen. I'm not sure how to move forward in getting connected. Any advice would be greatly appreciated.

    I am running my Ubuntu 22.4 in a VM hosted on my XCP-ng 8.3 server. 

    Thanks in advance, Dino


    Attached Files Thumbnail(s)
           
    dwjelly
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #2
    2023-10-07, 04:40 PM (This post was last modified: 2023-10-07, 04:56 PM by dwjelly. Edited 1 time in total.)
    OK, I tried to log in with an incognito window and it worked. However, I am still unable to access my Media folders on TrueNAS. I've tried all the possible fixes I was able to find online. Still no connection. I think it is a permission issue in TrueNAS Scale setup. Not sure what is necessary to fix it. Been trying various setting with no fix yet. When I look at the logs I see this line regarding Media....

    [2023-10-07 16:30:25.354 +00:00] [ERR] Error processing request: "Could not find a part of the path '/Media/Movies'". URL "GET" "/Environment/DirectoryContents".
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2023-10-07, 04:48 PM
    Are the network shares for your media mounted in the OS? You cannot add network shares directly to Jellyfin. You have to mount them to the OS and then add that mount path.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    dwjelly
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #4
    2023-10-07, 06:35 PM
    (2023-10-07, 04:48 PM)TheDreadPirate Wrote: Are the network shares for your media mounted in the OS?  You cannot add network shares directly to Jellyfin.  You have to mount them to the OS and then add that mount path.

    Thanks for your reply. I'm somewhat new to all this. What is the procedure to mount directly to the OS. Do you mean adding something like this to the Ubuntu Server where Jellyfin is installed?

    sudo mount 10.0.0.115Confused-facemnt/scale-vault-ssd/media
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2023-10-07, 06:45 PM
    Try following this wiki.

    https://wiki.ubuntu.com/MountWindowsSharesPermanently
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    dwjelly
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #6
    2023-10-07, 07:53 PM
    (2023-10-07, 06:45 PM)TheDreadPirate Wrote: Try following this wiki.

    https://wiki.ubuntu.com/MountWindowsSharesPermanently

    So the Windows share is actually my TrueNAS Scale box. I set up an SMB share called media. It also has several different subfolders. Home Movies, TV Shows and such. So would I use the TrueNAS IP be used for the Windows Computer Name? Appreciate the help.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2023-10-07, 08:42 PM
    A Windows share and a SMB share are pretty much the same thing. Use your truenas IP wherever the guide calls for a windows machine.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    dwjelly
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #8
    2023-10-07, 09:05 PM
    Thanks Again.

    I tried this....

    Mounting unprotected (guest) network folders
    First, let's create the mount directory. You will need a separate directory for each mount.

    sudo mkdir /media/windowsshare
    Then edit your /etc/fstab file (with root privileges) to add this line:

    //servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8 0 0
    Where

    guest indicates you don't need a password to access the share,

    uid=1000 makes the Linux user specified by the id the owner of the mounted share, allowing them to rename files,

    iocharset=utf8 allows access to files with names in non-English languages. This doesn't work with shares of devices like the Buffalo Tera Station, or Windows machines that export their shares using ISO8895-15.

    If there is any space in the server path, you need to replace it by \040, for example //servername/My\040Documents

    After you add the entry to /etc/fstab type:

    sudo mount -a
    This will (re)mount all entries listed in /etc/fstab.

    It is failing with permissions denied when I run the sudo mount -a
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2023-10-07, 10:34 PM (This post was last modified: 2023-10-07, 10:43 PM by TheDreadPirate. Edited 3 times in total.)
    Re-walked through this on my ubuntu desktop to my ubuntu server hosting a share. To verify the important steps. BTW. It sounds like you have credentials to lock down your network share, but are trying to use guest access. The steps below specify how to add credentials.

    sudo apt install cifs-utils

    sudo vim /etc/fstab

    Added this line
    //192.168.1.3/library /media/library cifs credentials=/home/chris/.smbcredentials,iocharset=utf8 0 0

    vim /home/chris/.smbcredentials

    username=chris
    password=mySMBpassword

    save

    sudo mkdir -p /media/library

    sudo mount -a
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    dwjelly
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #10
    2023-10-08, 06:40 PM
    (2023-10-07, 10:34 PM)TheDreadPirate Wrote: Re-walked through this on my ubuntu desktop to my ubuntu server hosting a share.  To verify the important steps.  BTW.  It sounds like you have credentials to lock down your network share, but are trying to use guest access.  The steps below specify how to add credentials.

    sudo apt install cifs-utils

    sudo vim /etc/fstab

    Added this line
    //192.168.1.3/library    /media/library    cifs    credentials=/home/chris/.smbcredentials,iocharset=utf8    0 0

    vim /home/chris/.smbcredentials

    username=chris
    password=mySMBpassword

    save

    sudo mkdir -p /media/library

    sudo mount -a

    Thanks for your help. Greatly appreciated. I was finely able to connect to the share using your information.  Now the fun begins, organizing a library. 

    Dino
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode