![]() |
SOLVED: Jellyfin service not starting - 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: SOLVED: Jellyfin service not starting (/t-solved-jellyfin-service-not-starting) |
RE: Jellyfin service not starting - merulius - 2024-01-11 I have removed Gerbera from the systemd updates and got a clean apt update (I think - there are five packages 'held back') This is the systemctl status for jellyfin. There is no /lib/jellyfin/jellyfin.sh There is only the bin and the restart.sh in /lib/jellyfin -- which is why I think it is failing. <pre>jellyfin.service - Jellyfin Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/jellyfin.service.d └─jellyfin.service.conf Active: <font color="#C01C28"><b>failed</b></font> (Result: exit-code) since Thu 2024-01-11 18:57:20 UTC; 7s ago Process: 60539 ExecStart=/lib/jellyfin/jellyfin.sh <font color="#C01C28"><b>(code=exited, status=203/EXEC)</b></font> Main PID: 60539 (code=exited, status=203/EXEC) CPU: 3ms Jan 11 18:57:20 balrog systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5. Jan 11 18:57:20 balrog systemd[1]: Stopped Jellyfin. Jan 11 18:57:20 balrog systemd[1]: <font color="#D7D75F"><b>jellyfin.service: Start request repeated too quickly.</b></font> Jan 11 18:57:20 balrog systemd[1]: <font color="#D7D75F"><b>jellyfin.service: Failed with result 'exit-code'.</b></font> Jan 11 18:57:20 balrog systemd[1]: <font color="#C01C28"><b>Failed to start Jellyfin.</b></font> </pre> RE: Jellyfin service not starting - TheDreadPirate - 2024-01-11 What is the output of Code: sudo apt list --installed | grep -i jellyfin RE: Jellyfin service not starting - merulius - 2024-01-12 Result of sudo apt list --installed | grep -i jellyfin follows WARNING: apt does not have a stable CLI interface. Use with caution in scripts. jellyfin-ffmpeg5/unknown,now 5.1.4-2-jammy amd64 [installed,automatic] jellyfin-server/unknown,now 10.8.13-1 amd64 [installed] jellyfin-web/unknown,now 10.8.13-1 all [installed] jellyfin/unknown,now 10.8.13-1 all [installed] RE: Jellyfin service not starting - merulius - 2024-01-12 Going back to your original instructions. Results of purge and reinstall follow ~~~ steve@balrog:~$ sudo apt purge jellyfin* Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package jellyfin-ffmpeg5_5.1.3-2-bookworm_amd64.deb E: Unable to locate package jellyfin.sh E: Couldn't find any package by glob 'jellyfin.sh' ~~~ ~~~ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9937 100 9937 0 0 19870 0 --:--:-- --:--:-- --:--:-- 19913 > Determining optimal repository settings. Found the following details from '/etc/os-release': Real OS: ubuntu 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://gb.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 http://gb.archive.ubuntu.com/ubuntu jammy-security InRelease Hit:5 https://downloads.1password.com/linux/debian/amd64 stable InRelease Hit:6 https://repo.jellyfin.org/ubuntu jammy InRelease Hit:7 https://pkg.cloudflareclient.com jammy InRelease Hit:8 https://brave-browser-apt-release.s3.brave.com stable InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 3 packages can be upgraded. Run 'apt list --upgradable' to see them. > Installing Jellyfin. Reading package lists... Done Building dependency tree... Done Reading state information... Done jellyfin is already the newest version (10.8.13-1). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. > Waiting 15 seconds for Jellyfin to fully start up. ------------------------------------------------------------------------------- × jellyfin.service - Jellyfin Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/jellyfin.service.d └─jellyfin.service.conf Active: failed (Result: exit-code) since Fri 2024-01-12 15:12:16 UTC; 3min 40s ago Process: 4161 ExecStart=/lib/jellyfin/jellyfin.sh (code=exited, status=203/EXEC) Main PID: 4161 (code=exited, status=203/EXEC) CPU: 2ms Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5. Jan 12 15:12:16 balrog systemd[1]: Stopped Jellyfin. Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Start request repeated too quickly. Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Failed with result 'exit-code'. Jan 12 15:12:16 balrog systemd[1]: Failed to start Jellyfin. × jellyfin.service - Jellyfin Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/jellyfin.service.d └─jellyfin.service.conf Active: failed (Result: exit-code) since Fri 2024-01-12 15:12:16 UTC; 3min 40s ago Process: 4161 ExecStart=/lib/jellyfin/jellyfin.sh (code=exited, status=203/EXEC) Main PID: 4161 (code=exited, status=203/EXEC) CPU: 2ms Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5. Jan 12 15:12:16 balrog systemd[1]: Stopped Jellyfin. Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Start request repeated too quickly. Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Failed with result 'exit-code'. Jan 12 15:12:16 balrog systemd[1]: Failed to start Jellyfin. ------------------------------------------------------------------------------- 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://:8096 in your web browser to finish setting up Jellyfin. Thank you for installing Jellyfin, and happy watching! ~~~ RE: Jellyfin service not starting - tmsrxzar - 2024-01-12 steve@balrog:~$ sudo apt purge jellyfin* Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package jellyfin-ffmpeg5_5.1.3-2-bookworm_amd64.deb E: Unable to locate package jellyfin.sh E: Couldn't find any package by glob 'jellyfin.sh' you ran that command in a folder that contains files named "jellyfin*" and as a result bash autocompleted the filenames it found, namely the deb package and "jellyfin.sh" either put it in quotes "jellyfin*" or don't run it in a folder that contains files named jellyfin* RE: Jellyfin service not starting - merulius - 2024-01-12 Just running 'jellyfin' results in following. Web server bit def not there. steve@balrog:~$ jellyfin [15:53:17] [INF] [1] Main: Jellyfin version: 10.8.13 [15:53:17] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/steve/.local/share/jellyfin/log]"] [15:53:17] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"] [15:53:17] [INF] [1] Main: Operating system: Linux [15:53:17] [INF] [1] Main: Architecture: X64 [15:53:17] [INF] [1] Main: 64-Bit Process: True [15:53:17] [INF] [1] Main: User Interactive: True [15:53:17] [INF] [1] Main: Processor count: 12 [15:53:17] [INF] [1] Main: Program data path: /home/steve/.local/share/jellyfin [15:53:17] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web [15:53:17] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/ [15:53:17] [ERR] [1] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings. [15:53:17] [INF] [2] Main: Received a SIGTERM signal, shutting down RE: Jellyfin service not starting - tmsrxzar - 2024-01-12 [15:53:17] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web "ls -la /usr/lib/jellyfin/bin/jellyfin-web" "dpkg -l | grep jellyfin" RE: Jellyfin service not starting - merulius - 2024-01-12 (2024-01-12, 03:44 PM)tmsrxzar Wrote: steve@balrog:~$ sudo apt purge jellyfin* OK, thanks. I'll start again. (Was following instructions, btw). RE: Jellyfin service not starting - tmsrxzar - 2024-01-12 you know there is a version of jellyfin server for windows right? just in case that's more comfortable for you RE: Jellyfin service not starting - merulius - 2024-01-12 (2024-01-12, 04:12 PM)tmsrxzar Wrote: you know there is a version of jellyfin server for windows right? just in case that's more comfortable for you Thanks, I appreciate the thought. I haven't used Windows in decades. Hate the thought. I'm an OSX fan. Trying to set up a Linux home server and learn at the same time. I appreciate the work that you guys put in. Jellyfin [b]did[b] work initially, then I guessed I messed something up and now I can't re-install correctly. But I really like Jellyfin (when it was working - and I had it remotely working over Cloudflare too, cool) and can't see anything that comes close. So I want to persist. |