• 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 Troubleshooting SOLVED: I restarted my server from web (button), but failed to restart.

     
    • 0 Vote(s) - 0 Average

    SOLVED: I restarted my server from web (button), but failed to restart.

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-10, 04:27 PM (This post was last modified: 2024-07-10, 04:28 PM by TheDreadPirate. Edited 1 time in total.)
    (2024-07-10, 04:15 PM)jaiovi Wrote: Thank you. But even then, by default /etc/systemd/system/jellyfin.service appeared like this.
    Code:
      GNU nano 6.2                                                                                            /etc/systemd/system/jellyfin.service                                                                                                     
    [Unit]
    Description=Jellyfin
    After=network.target

    [Service]
    Type=simple
    User=ubuntu
    Restart=always
    ExecStart=/opt/jellyfin/jellyfin.sh

    [Install]
    WantedBy=multi-user.target

    ExecStart where should point at?

    That file should not exist in a "one-liner" install.  A package/one-liner install will create this file.

    /etc/systemd/system/multi-user.target.wants/jellyfin.service

    Which looks like this.

    Code:
    [Unit]
    Description = Jellyfin Media Server
    After = network-online.target

    [Service]
    Type = simple
    EnvironmentFile = /etc/default/jellyfin
    User = jellyfin
    Group = jellyfin
    WorkingDirectory = /var/lib/jellyfin
    ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS
    Restart = on-failure
    TimeoutSec = 15
    SuccessExitStatus=0 143

    [Install]
    WantedBy = multi-user.target
    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]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    I restarted my server from web (button), but failed to restart. - by jaiovi - 2024-07-10, 03:16 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 04:01 PM
    RE: I restarted my server from web (button), but failed to restart. - by jaiovi - 2024-07-10, 04:15 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 04:27 PM
    RE: I restarted my server from web (button), but failed to restart. - by jaiovi - 2024-07-10, 05:14 PM
    RE: I restarted my server from web (button), but failed to restart. - by paulc - 2024-07-10, 05:48 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 05:54 PM
    RE: I restarted my server from web (button), but failed to restart. - by paulc - 2024-07-10, 06:04 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 06:01 PM
    RE: I restarted my server from web (button), but failed to restart. - by ca2ju - 2024-08-22, 11:26 PM
    RE: I restarted my server from web (button), but failed to restart. - by TheDreadPirate - 2024-07-10, 06:05 PM

    • 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