• 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 Accidentally deleted system.xml

     
    • 0 Vote(s) - 0 Average

    Accidentally deleted system.xml

    FacundoLodeiro
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    #1
    2025-01-21, 06:45 AM
    Hello! Total newbie here as you can tell by the title.

    I was trying to fix an error on my server, I couldn't access after exceeding my storage capacity. Trying to fix this I came across some weird "fixes" that suggested I delete migrations.xml and system.xml. Me being a total noob, and also being way sleepy, deleted them without making a backup.

    Allegedly, Jellyfin would "recreate" this .xml files when started, but the thing won't start, when checking the service status I get:

    Code:
    jellyfin.service: Start request repeated too quickly.
    jellyfin.service: Failed with result 'core-dump'.
    Failed to start jellyfin.service - Jellyfin Media Server.

    I found this fix: https://forum.jellyfin.org/t-xml-documen...0#pid29940 which seems promising, but now I lack those two .xml files.

    Is there any way to get them back, download them from somewhere or something?
    I'm using Ubuntu Server.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-21, 02:53 PM
    Share the output of this command via privatebin.net

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager
    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]
    FacundoLodeiro
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    #3
    2025-01-21, 04:30 PM
    (2025-01-21, 02:53 PM)TheDreadPirate Wrote: Share the output of this command via privatebin.net

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager

    Here you go good sir:

    https://privatebin.net/?d41e9a613d3a7563...4HRe4FAdmF
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-21, 04:35 PM
    Code:
    sudo systemctl stop jellyfin
    sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin /usr/share/jellyfin
    sudo systemctl start jellyfin

    Not sure what else you did, but Jellyfin doesn't have write permission to /etc/jellyfin. The above commands ensure that Jellyfin owns its directories.

    Code:
    Jan 21 06:17:34 costeletasv jellyfin[1289]: Unhandled exception. System.UnauthorizedAccessException: Access to the path '/etc/jellyfin/logging.default.json' is denied.
    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]
    FacundoLodeiro
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    #5
    2025-01-23, 03:00 PM
    (2025-01-21, 04:35 PM)TheDreadPirate Wrote:
    Code:
    sudo systemctl stop jellyfin
    sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin /usr/share/jellyfin
    sudo systemctl start jellyfin

    Not sure what else you did, but Jellyfin doesn't have write permission to /etc/jellyfin.  The above commands ensure that Jellyfin owns its directories.

    Code:
    Jan 21 06:17:34 costeletasv jellyfin[1289]: Unhandled exception. System.UnauthorizedAccessException: Access to the path '/etc/jellyfin/logging.default.json' is denied.

    Hello! That worked for a while but now I get this message:

    [Image: mbqNMxP]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-01-23, 03:37 PM
    Clear your browser cache.

    [Image: attachment.php?aid=5082]
    [Image: attachment.php?aid=5083]
    [Image: attachment.php?aid=5084]
    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