• 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 linux service not working as intended, can only access jellyfin by manually executing

     
    • 0 Vote(s) - 0 Average

    linux service not working as intended, can only access jellyfin by manually executing

    Jimmy Bungalo
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #1
    2023-11-07, 04:13 AM
    i installed jellyfin on my raspberry pi (running ubuntu 23.10) and created a service to run jellyfin without manual intervention, e.g. having to open up a terminal (through ssh) and execute jellyfin as well as keep the terminal open throughout my entire usage, and while this seemed to work in the past, something has changed, and i have been unable to connect to jellyfin through the same means with the service as with manual execution. if i couldn't connect to jellyfin at all, that would also be an issue, but my confusion lies in that only with the service does jellyfin refuse to connect. i created the service using sudo systemctl enable jellyfin, which seemed to have worked since running sudo systemctl status jellyfin denotes that it is active (running). what might be the problem here? a while ago i screwed around with the ports but if that was the problem i a) wouldn't know where to begin fixing that and b) don't know why it still works manually if that is the case. any thoughts?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-11-07, 05:25 PM
    How did you install Jellyfin? The Ubuntu automated install script should have created the jellyfin service for you.
    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]
    1
    Jimmy Bungalo
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #3
    2023-11-10, 08:17 AM
    i did install it with the script originally, however it didn't want to work without running jellyfin manually using a command. this is always how i've been using jellyfin since transitioning from raspberry pi os to ubuntu. i had no issues with the service on rpios, and i would think the much larger and more advanced ubuntu wouldn't as well. my confusion lies in that it functions perfectly well through commands but not with the service. i made sure to completely uninstall and purge jellyfin from my system before confirming that this was the case, and yes, after the reinstallation i still cannot connect to jellyfin.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-11-10, 01:09 PM
    Did you open your firewall?

    sudo ufw allow 8096
    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]
    Jimmy Bungalo
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #5
    2023-11-11, 12:47 AM
    i've opened the firewall, but now with the fresh installation, the service quickly dies as seen with running sudo systemctl status jellyfin, and subsequently running sudo systemctl start jellyfin results in more or less the same. the log is as follows:

    ○ jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; disabled; preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
    └─jellyfin.service.conf
    Active: inactive (dead)

    Nov 10 19:42:56 raspberrypi jellyfin[416985]: at SQLitePCL.pretty.DatabaseConnection.Execute(IDatabaseConnection This, String sql)
    Nov 10 19:42:56 raspberrypi jellyfin[416985]: at Emby.Server.Implementations.Data.BaseSqliteRepository.GetConnection(Boolean readOnly)
    Nov 10 19:42:56 raspberrypi jellyfin[416985]: at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager)
    Nov 10 19:42:56 raspberrypi jellyfin[416985]: at Emby.Server.Implementations.ApplicationHost.InitializeServices()
    Nov 10 19:42:56 raspberrypi jellyfin[416985]: at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Nov 10 19:42:56 raspberrypi jellyfin[416985]: [19:42:56] [INF] Running query planner optimizations in the database... This might take a while
    Nov 10 19:42:56 raspberrypi jellyfin[416985]: [19:42:56] [INF] Disposing CoreAppHost
    Nov 10 19:42:56 raspberrypi jellyfin[416985]: [19:42:56] [INF] Received a SIGTERM signal, shutting down
    Nov 10 19:42:56 raspberrypi systemd[1]: jellyfin.service: Deactivated successfully.
    Nov 10 19:42:56 raspberrypi systemd[1]: jellyfin.service: Consumed 13.376s CPU time.

    keep in mind this was after deleting the service i made, uninstalling jellyfin, then reinstalling fresh. maybe it was a setting modification? i did notice that the settings remained after reinstallation.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-11-11, 12:52 AM
    apt purge jellyfin

    To make sure everything is cleared out.

    Then run the install script again..
    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)


    • 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