jellyfin.sh script problems on arch linux - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: jellyfin.sh script problems on arch linux (/t-jellyfin-sh-script-problems-on-arch-linux) |
jellyfin.sh script problems on arch linux - redshirtsteve - 2023-08-30 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 RE: jellyfin.sh script problems on arch linux - Venson - 2023-08-30 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/ RE: jellyfin.sh script problems on arch linux - TheDreadPirate - 2023-08-30 Quote:$JELLYFINDIR/jellyfin/jellyfin \ 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. RE: jellyfin.sh script problems on arch linux - redshirtsteve - 2023-08-30 Yep, I've installed it as per earlier in that doc page... Thanks! (2023-08-30, 08:59 PM)Venson Wrote: Hey @redshirtsteve RE: jellyfin.sh script problems on arch linux - redshirtsteve - 2023-08-31 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/installation/linux#linux-generic-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 RE: jellyfin.sh script problems on arch linux - TheDreadPirate - 2023-08-31 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 And also install ffmpeg. RE: jellyfin.sh script problems on arch linux - redshirtsteve - 2023-09-02 Ok. I am now able to get into the server via web. Thank you all! Resolved. |