• 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 Issues Installing

    Pages (5): 1 2 3 4 5 Next »

     
    • 0 Vote(s) - 0 Average

    Issues Installing

    Timer
    Offline

    Junior Member

    Posts: 21
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #1
    2024-10-13, 05:50 PM
    Hi  Waving-hand ,
    so i am pretty new to Ubuntu and yesterday i mistakenly overloaded the system over it assigned storage (which i now set higher), but a site effect of the problem was that i've got the error "System.Xml.XmlException: Root element is missing". I then tried some things and after that i tried reinstalling jellyfin but now it got this error:
    Errors were encountered while processing:
    jellyfin-server
    jellyfin
    needrestart is being skipped since dpkg has failed
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I am running Ubuntu Server 24.04
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-13, 05:55 PM (This post was last modified: 2024-10-13, 05:55 PM by TheDreadPirate.)
    Let's purging Jellyfin. It is probably borked in several ways.

    Code:
    sudo apt purge jellyfin*
    sudo rm -rf /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin
    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
    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]
    Timer
    Offline

    Junior Member

    Posts: 21
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #3
    2024-10-13, 05:59 PM
    When i try
    sudo apt purge jellyfin*

    it gives me this error

    Code:
    E: Unable to locate package jellyfin.sh
    E: Couldn't find any package by glob 'jellyfin.sh'
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-13, 06:38 PM
    How did you install Jellyfin the first time? What is the output of this command?

    Code:
    sudo apt list --installed | grep jellyfin
    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]
    Timer
    Offline

    Junior Member

    Posts: 21
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #5
    2024-10-13, 06:45 PM
    I have installed it with

    sudo apt-get install jellyfin

    The output is:

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    jellyfin-ffmpeg6/unknown,now 6.0.1-8-noble amd64 [installed,automatic]
    jellyfin-server/unknown,now 10.9.11+ubu2404 amd64 [installed,automatic]
    jellyfin-web/unknown,now 10.9.11+ubu2404 all [installed,automatic]
    jellyfin/unknown,now 10.9.11+ubu2404 all [installed]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-13, 07:15 PM
    Did you modify the jellyfin service file? The "jellyfin.sh" message leads to believe you did. What are the contents of /etc/systemd/system/jellyfin.service.d/jellyfin.service.conf?
    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]
    Timer
    Offline

    Junior Member

    Posts: 21
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #7
    2024-10-13, 09:17 PM
    Not that i can remember

    i copied the lines from /etc/systemd/system/jellyfin.service.d/jellyfin.service.conf


    # Jellyfin systemd configuration options

    # Use this file to override default systemd unit values

    [Service]
    # Alter the user/group that Jellyfin runs as
    #User = jellyfin
    #Group = jellyfin

    # Alter where environment variables are sourced from
    #EnvironmentFile = /etc/default/jellyfin

    # Alter the working directory (useful if changing the data path)
    #WorkingDirectory = /var/lib/jellyfin

    # Service hardening options
    # These optional options provide additional service hardening for Jellyfin
    # These are an ADVANCED FEATURE - if you enable these and encounter issues,
    # please disable them first and triage which if any are causing the trouble
    # before reporting any issues.
    #NoNewPrivileges=true
    #SystemCallArchitectures=native
    #RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
    #RestrictNamespaces=false
    #RestrictRealtime=true
    #RestrictSUIDSGID=true
    #ProtectControlGroups=false
    #ProtectHostname=true
    #ProtectKernelLogs=false
    #ProtectKernelModules=false
    #ProtectKernelTunables=false
    #LockPersonality=true
    #PrivateTmp=false
    #PrivateDevices=false
    #PrivateUsers=true
    #RemoveIPC=true
    #SystemCallFilter=~@clock
    #SystemCallFilter=~@aio
    #SystemCallFilter=~@chown
    #SystemCallFilter=~@cpu-emulation
    #SystemCallFilter=~@debug
    #SystemCallFilter=~@keyring
    #SystemCallFilter=~@memlock
    #SystemCallFilter=~@module
    #SystemCallFilter=~@mount
    #SystemCallFilter=~@obsolete
    #SystemCallFilter=~@privileged
    #SystemCallFilter=~@raw-io
    #SystemCallFilter=~@reboot
    #SystemCallFilter=~@setuid
    #SystemCallFilter=~@swap
    #SystemCallErrorNumber=EPERM
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-10-13, 10:08 PM
    Whoops. I told you to look at the wrong file.

    This one.

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

    The contents should be 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]
    Timer
    Offline

    Junior Member

    Posts: 21
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #9
    2024-10-14, 06:54 AM (This post was last modified: 2024-10-14, 06:54 AM by Timer. Edited 1 time in total.)
    No Problem :)

    i have compared that with mine and there the same
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-10-14, 03:16 PM
    What is the status of jellyfin right now?

    sudo systemctl status jellyfin

    And can you retrieve today's log from /var/log/jellyfin and share it via pastebin?
    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]
    Pages (5): 1 2 3 4 5 Next »

    « 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