• 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 Support General Questions jellyfin.sh script problems on arch linux

     
    • 0 Vote(s) - 0 Average

    jellyfin.sh script problems on arch linux

    Script keeps erroring out (specifics within)
    redshirtsteve
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #1
    2023-08-30, 08:41 PM
    Hello, I am trying to configure (and eventually run) jellyfin 10.8.10 on my arch linux system (kernel: 6.4.12), and have been working with the jellyfin documentation from 'https://jellyfin.org/docs/general/installation/linux#running-jellyfin'. I am specifically having an issue with running the jellyfin.sh script as suggested. It keeps erroring out.

    If I run the script as written (since it ia an arch installation, I am removing the ffmpeg lines as suggested):

    #!/bin/bash
    JELLYFINDIR="/opt/jellyfin"

    $JELLYFINDIR/jellyfin/jellyfin \
    -d $JELLYFINDIR/data \
    -C $JELLYFINDIR/cache \
    -c $JELLYFINDIR/config \
    -l $JELLYFINDIR/log \

    I get the following error:

    ./jellyfin.sh: line 5: /opt/jellyfin/jellyfin/jellyfin: No such file or directory

    However, if I edit the $JELLYFINDIR line to read:

    $JELLYFINDIR/jellyfin \

    I get the following error:

    ./jellyfin.sh: line 5: /opt/jellyfin/jellyfin: Is a directory

    Can someone offer any sage advice as to what I am doing wrong here?

    Also, I cannot seem to find in the jellyfin documentation how to access the web interface on my server machine...can someone point me in the right direction?

    Sincerest thanks in advance for any and all suggestions (ok, within reason!)

    Regards,

    Steve
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 375
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #2
    2023-08-30, 08:59 PM (This post was last modified: 2023-08-30, 09:01 PM by Venson. Edited 1 time in total.)
    Hey @redshirtsteve

    This script "Jellyfin.sh" is to _run_ jellyfin. Did you install it before you tried to run it?

    Here is the QuickStart guide:
    https://jellyfin.org/docs/general/quick-start/
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2023-08-30, 09:07 PM
    Quote:$JELLYFINDIR/jellyfin/jellyfin \
    -d $JELLYFINDIR/data \
    -C $JELLYFINDIR/cache \
    -c $JELLYFINDIR/config \
    -l $JELLYFINDIR/log \

    This is referring to an executable.

    I'm assuming you made /opt/jellyfin, but how did you create the symlink? It sounds like you made a symlink INSIDE /opt/jellyfin/ that points to the directory where you extracted the tar file. But /opt/jellyfin itself should be the symlink.
    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]
    redshirtsteve
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #4
    2023-08-30, 10:28 PM
    Yep, I've installed it as per earlier in that doc page...

    Thanks! 

    Thumbs-up

    (2023-08-30, 08:59 PM)Venson Wrote: Hey @redshirtsteve

    This script "Jellyfin.sh" is to _run_ jellyfin. Did you install it before you tried to run it?

    Here is the QuickStart guide:
    https://jellyfin.org/docs/general/quick-start/
    redshirtsteve
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #5
    2023-08-31, 02:45 PM
    I guess what I am trying to understand then, is where should I be when I create this sym link?

    Based upon what I read in the jellyfin install doc (https://jellyfin.org/docs/general/instal...eric-amd64):

    ...
    Create a directory in /opt for jellyfin and its files, and enter that directory.
    ...
    Download the latest generic Linux build for your architecture (EDIT: and install it.)
    ...
    Create a symbolic link to the Jellyfin 10.8.9 directory. This allows an upgrade by repeating the above steps and enabling it by simply re-creating the symbolic link to the new version.

    sudo ln -s jellyfin_10.8.10 jellyfin

    So, where should this symbolic link reside?

    Within /opt/jellyfin? Or, somewhere else?

    Again, thanks for any and all counsel.

    Regards,

    Steve
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-08-31, 03:27 PM (This post was last modified: 2023-08-31, 03:30 PM by TheDreadPirate. Edited 4 times in total.)
    You made a directory called jellyfin in the /opt directory. Within /opt/jellyfin you downloaded the tar file for jellyfin. You extracted the files. There is now a directory in /opt/jellyfin called "jellyfin_10.8.10". You make a symlink, within /opt/jellyfin, pointing to "jellyfin_10.8.10" called "jellyfin"

    Code:
    ln -s jellyfin_10.8.10 jellyfin

    You create the log, cache, config, and data directory in /opt/jellyfin. You create a new script called jellyfin.sh, probably should put it in /opt/jellyfin, and paste exactly what is in that guide into that script. You change the permissions on that script to allow execution of it.

    This is what /opt/jellyfin should look like.

    Code:
    root@rat-trap: /opt/jellyfin# ll
    total 96812
    drwx------ 7 root root     4096 Aug 31 11:20 ./
    drwxr-xr-x 3 root root     4096 Aug 31 11:17 ../
    drwxr-x--- 2 root root     4096 Aug 31 11:18 cache/
    drwxr-x--- 3 root root     4096 Aug 31 11:20 config/
    drwxr-x--- 6 root root     4096 Aug 31 11:20 data/
    lrwxrwxrwx 1 root root       16 Aug 31 11:18 jellyfin -> jellyfin_10.8.10/
    drwxr-xr-x 5 root root    32768 Aug 31 11:18 jellyfin_10.8.10/
    -rw-r----- 1 root root 99073643 Apr 23 12:18 jellyfin_10.8.10_amd64.tar.gz
    -rwx------ 1 root root      239 Aug 31 11:20 jellyfin.sh*
    drwxr-x--- 2 root root     4096 Aug 31 11:20 log/

    And also install ffmpeg.
    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]
    redshirtsteve
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #7
    2023-09-02, 09:09 PM
    Ok. I am now able to get into the server via web.

    Thank you all!

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