• 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

     
    • 0 Vote(s) - 0 Average

    SOLVED: can't start jellyfin after disk full

    m0ngr31
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 1
    #21
    2024-11-05, 08:49 PM (This post was last modified: 2024-11-05, 08:49 PM by m0ngr31.)
    (2024-08-10, 07:45 AM)Cremator Wrote: 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

    I was able to follow this and got Jellyfin to come up again, but I can't login with any of my users. Is there a way I can restore that?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #22
    2024-11-05, 09:42 PM
    We'd need to see your logs. Share them via pastebin.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    m0ngr31
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 1
    #23
    2024-11-05, 10:25 PM
    (2024-11-05, 09:42 PM)TheDreadPirate Wrote: We'd need to see your logs.  Share them via pastebin.

    There's nothing in the logs - it thinks everything is normal. But if I peek in the jellyfin.db database, the Users table is empty. I've tried some various things, but right now I deleted jellyfin.db and tried to run the migrations again (removing *.old` off of the already migrated databases), but that didn't do the trick either.

    I get these kinds of messages when it tries to start now: https://pastebin.com/qsN3uHQ7

    It had some other messages when it was running the migrations, but I can't get those in Unraid anymore. I'd have to start the process over again.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #24
    2024-11-05, 10:56 PM
    Open a terminal window for unRAID, navigate to where you are mounting /config. In that folder will be another "config" directory, delete or rename system.xml and migrations.xml and restart the container.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    m0ngr31
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 1
    #25
    2024-11-05, 11:14 PM
    (2024-11-05, 10:56 PM)TheDreadPirate Wrote: Open a terminal window for unRAID, navigate to where you are mounting /config.  In that folder will be another "config" directory, delete or rename system.xml and migrations.xml and restart the container.

    Okay, I tried that. I get this in the log about the migration: https://pastebin.com/Pz4w7EdY

    It's still not migrating the Users. I can see that activitylog.db.old is created though, so at least that one was migrated at least
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 11,852
    Threads: 10
    Joined: 2023 Jun
    Reputation: 347
    Country:United States
    #26
    2024-11-05, 11:27 PM
    I think your database is borked. The db output file you mentioned may be for debugging purposes.
    Jellyfin 10.10.3 (Docker)
    Ubuntu 24.04 LTS 
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (3): « Previous 1 2 3

    « 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