• 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: can't start jellyfin after disk full

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

     
    • 0 Vote(s) - 0 Average

    SOLVED: can't start jellyfin after disk full

    kro
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:France
    #11
    2024-06-20, 09:19 PM
    Here is the full log as attached.


    Attached Files
    .txt   log.txt (Size: 30.55 KB / Downloads: 88)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-06-20, 09:19 PM (This post was last modified: 2024-06-20, 09:19 PM by TheDreadPirate.)
    Can you run this command and share the output? I'm hoping there is output different from what is in the jellyfin.log

    Code:
    sudo docker logs 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]
    kro
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:France
    #13
    2024-06-20, 09:21 PM
    crosspost Winking-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2024-06-20, 09:25 PM
    I saw, but my post still stands. "docker logs" will also show any logs the container generates that isn't related to Jellyfin. But they may likely be identical.

    You may just need to start from scratch. Running out of disk space is a death sentence for a database.
    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]
    kro
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:France
    #15
    2024-06-20, 09:28 PM
    the attachment is the log for this container. the exact thing that your command would return (and does, I've just ensured).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2024-06-20, 09:31 PM
    Then it is quite likely your database is beyond rescue. You could try using your backup, but those are pretty old.
    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]
    kro
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:France
    #17
    2024-06-20, 11:39 PM
    funny update : my backup disk is dying and it's very likely I won't be able to restore jellyfin.

    I wonder how databases still get corrupted as soon as storage get full in 2024. What happened in 70 years of computing ?

    I have another backup that is one year old on a raid 5 array though. So to anybody reading this : we probably should always save triple backups of everything. or abort technical projects.

    A big thank you anyway @TheDreadPirate for you time and help !
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,168
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #18
    2024-06-21, 12:16 AM
    (2024-06-20, 11:39 PM)kro Wrote: I wonder how databases still get corrupted as soon as storage get full in 2024. What happened in 70 years of computing ?
    Having no space to work with means no more space to store changes or new additions to the database.
    At best, having the database become locked and the service frozen would save the database from breaking down.
    kro
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:France
    #19
    2024-06-21, 03:09 AM (This post was last modified: 2024-06-21, 03:11 AM by kro. Edited 1 time in total.)
    woot !

    finally I could restore the 3 months old database backup and combine it with the recent metadata directory (I could not get from the backup disk anymore).

    everything seems to work, I guess I just have lost 3 months of metadata and recently added users, but it's really better than I went to think.
    For the record I also got the reason behind the lack of free space : I was taking snapshots (with rsnapshot) on a directory that was supposedly a mountpoint for an external support, except it was not mounted. So I've just created quickly a bunch of unnoticed content on my system part. I really should be more careful with that, and add condition for mounts in my scripts.
    A lot of stress for luckily not much harm.
    Now is the time to setup reliable automatic backups.

    ... and still : yes, I guess the system should abort before creating those 0 bit files everywhere ! It's such a basic and critical issue...
    1
    Cremator
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:Bulgaria
    #20
    2024-08-10, 07:45 AM
    I had the same issue, and I could fix it fairly easy. I am using lsio jellyfin docker.

    1. Stop the bad jellyfin container:
    Code:
    docker stop jellyfin

    2. Start a new jellyfin container:
    Code:
    docker run -d --name=new-jellyfin -e PUID=1000 -e PGUID=1000 -e TZ=Europe/Sofia -v /tmp/new-jellyfin:/config lscr.io/linuxserver/jellyfin:latest

    3. Dump the new-jellyfin migrations table into a sql file:
    Code:
    sqlite3 /tmp/new-jellyfin/data/data/jellyfin.db
    sqlite> .output /tmp/mytable_dump.sql
    sqlite> .dump __EFMigrationsHistory
    sqlite> .quit

    4. Drop and recreate __EFMigrationsHistory in the bad jellyfin:
    Code:
    sqlite3 /var/lib/docker/volumes/bad_jellyfin/_data/data/data/jellyfin.db
    sqlite> drop table __EFMigrationsHistory;
    sqlite> .read /tmp/mytable_dump.sql
    sqlite> .quit 

    5. Copy migrations.xml from new to bad:
    Code:
    cp /tmp/new-jellyfin/migrations.xml /var/lib/docker/volumes/bad_jellyfin/_data/migrations.xml

    6. Start the bad, hopefully now good jellyfin container:
    Code:
    docker start jellyfin
    1
    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