• 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 xml document error after upgrade

    Pages (3): « Previous 1 2 3 Next »

     
    • 3 Vote(s) - 5 Average

    xml document error after upgrade

    kinghat
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 May
    Reputation: 1
    #11
    2024-05-13, 02:14 PM (This post was last modified: 2024-05-13, 02:31 PM by kinghat. Edited 1 time in total.)
    (2024-05-13, 01:49 PM)TheDreadPirate Wrote: Did you also delete library.db?

    yep ive tried removing both jellyfin.db and library.db. also tried going back to 10.8.13 and seeing if that would work. still get the activity log db error when i start the container.

    might have to start totally fresh here? is there a way i can start over but use my previous server settings and users?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-05-13, 04:34 PM
    Your user accounts are in jellyfin.db.  The settings were in the XML files that were corrupt on null.  You probably need to start from scratch.  Face-screaming-in-fear
    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]
    kinghat
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 May
    Reputation: 1
    #13
    2024-05-13, 04:36 PM (This post was last modified: 2024-05-13, 05:02 PM by kinghat. Edited 3 times in total.)
    (2024-05-13, 04:34 PM)TheDreadPirate Wrote: Your user accounts are in jellyfin.db.  The settings were in the XML files that were corrupt on null.  You probably need to start from scratch.  Face-screaming-in-fear

    my user accounts dirs are still there, does that matter at all? also, the only xml file that was empty/ruined, as far as i can tell, was the migrations.xml.

    EDIT:

    so i just stumbled upon a backup i took and most of the DBs have a modified date of late last year(though i think that was the date the data was moved because im missing users in the user dir that were added way before that date). i tried to open its jellyfin.db and got the same disk io error as trying to open my current jellyfin.db so maybe my jellyfin dbs are fine? the error in DB Browser:

    Quote:Could not open database file.
    Reason: disk I/O error
    kinghat
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 May
    Reputation: 1
    #14
    2024-05-15, 04:54 PM
    (2024-05-13, 04:36 PM)kinghat Wrote: so i just stumbled upon a backup i took and most of the DBs have a modified date of late last year(though i think that was the date the data was moved because im missing users in the user dir that were added way before that date). i tried to open its jellyfin.db and got the same disk io error as trying to open my current jellyfin.db so maybe my jellyfin dbs are fine? the error in DB Browser:

    Quote:Could not open database file.
    Reason: disk I/O error

    i copied over the jellyfin.db with the activitylog error when running the container and it opens fine locally and contains all the data. i dont think my dbs are corrupt.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2024-05-15, 05:16 PM
    Are your disks full? Where is /config located on the host and what is the output of "df -h"?
    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]
    kinghat
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 May
    Reputation: 1
    #16
    2024-05-15, 05:26 PM
    (2024-05-15, 05:16 PM)TheDreadPirate Wrote: Are your disks full?  Where is /config located on the host and what is the output of "df -h"?

    the config is located in the data dir where all of my other containers data are: ~/containers/data/jellyfin/config

    the disk isnt full:

    Code:
    $ df -h
    Filesystem                              Size  Used Avail Use% Mounted on
    tmpfs                                    791M  2.4M  789M  1% /run
    /dev/mapper/ubuntu--vg-ubuntu--lv        107G  89G  14G  87% /
    tmpfs                                    3.9G    0  3.9G  0% /dev/shm
    tmpfs                                    5.0M    0  5.0M  0% /run/lock
    /dev/sda2                                2.0G  253M  1.6G  14% /boot
    /dev/sda1                                1.1G  6.1M  1.1G  1% /boot/efi
    tmpfs                                    791M  4.0K  791M  1% /run/user/1000
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #17
    2024-05-15, 05:29 PM
    Stop the jellyfin container and run this command as root.

    docker system prune -a

    Start the jellyfin container after.
    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]
    kinghat
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 May
    Reputation: 1
    #18
    2024-05-15, 05:31 PM
    (2024-05-15, 05:29 PM)TheDreadPirate Wrote: Stop the jellyfin container and run this command as root.

    docker system prune -a

    Start the jellyfin container after.

    this system is completely pruned. thats what i did after it ran out of space the first time when i got into this mess. ive run it after ive tried switch back to previous version of jf and back as well.
    kinghat
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 May
    Reputation: 1
    #19
    2024-05-18, 07:26 PM
    for anyone in the future whom might end up in this situation i seem to have fixed it by simple pulling the migrations xml that i had from a few months ago and replaced it with my current(empty) one instead of letting it be rebuilt by removing it before starting. thanks for your help @TheDreadPirate 🙏
    1
    Sergij A.
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Jul
    Reputation: 0
    Country:Macedonia
    #20
    2024-07-05, 09:46 PM (This post was last modified: 2024-07-05, 09:48 PM by Sergij A.. Edited 1 time in total.)
    Hi, and thanks for the post! 🙂

    For everyone who doesn't have backup and has this problem:

    I was able to fix this problem by deleting migrations.xml (it was empty), and then I deleted system.xml (I made a backup of them).
    After that it should start working, but the configuration will be reset, so first create the SAME admin account that you had before. It will error out!
    After that empty out the fields and create a new account (not the same username as before), and then complete the setup.
    After completing the initial setup, you should be able to log in with your OLD admin account. Then go to the admin dashboard, and delete the NEW account that you made.
    And that's it! You actually need to create the other users too, because for me they were deleted, and configure JellyFin again.

    I hope that this helps 😀, and is clear!
    Bye and have a nice day! 👋
    Pages (3): « Previous 1 2 3 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