• 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 Going Crazy

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Going Crazy

    Sql Database corrupting
    n4tur3502
    Offline

    Junior Member

    Posts: 19
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    #1
    2024-06-29, 01:45 AM
    I am going out of my mind trying to figure out why this keeps happening. After a seemingly random amount of time my sql database corrupts. 
    It is always the same message in the log 
    Code:
    Corrupt: SQLitePCL.pretty.SQLiteException: database disk image is malformed
    and I end up having to delete the database file and rescan. 
    It has gotten worse over the past 6 months, I now have to delete the database file every couple of weeks. 
    I am running jellyfin on an ubuntu server 20.04.6 and a few other things running on it, but none of those seem to have any issues with anything. 
    Can anyone please help me figure out what is going on so I can stop pulling my hair out?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-29, 01:54 AM
    Are you running out of disk space? How large is your root volume? Transcodes are written to disk and if the root volume is small you may be filling up the disk with transcodes or remuxes.
    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]
    n4tur3502
    Offline

    Junior Member

    Posts: 19
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    #3
    2024-06-29, 02:04 AM
    I thought of the disc space but I am only using 10% of the available space as far as I can tell. 
    Code:
    /dev/sda2            ext4      238169856    20534980  205463716  10% /
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-29, 02:10 AM
    Do you happen to have the full jellyfin logs from when this problem last happened?
    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]
    n4tur3502
    Offline

    Junior Member

    Posts: 19
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    #5
    2024-06-29, 02:22 AM (This post was last modified: 2024-06-29, 02:23 AM by n4tur3502. Edited 1 time in total.)
    I am having issues getting the log to upload. and it says its too big for pastebin. I tried dragging the file to the upload section but it just says release to initiate upload and does nothing.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-06-29, 02:23 AM
    Zip the log file first. There is a 2.9MB size limit.
    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]
    n4tur3502
    Offline

    Junior Member

    Posts: 19
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    #7
    2024-06-29, 02:24 AM
    I am not a smart man. 
    .zip   jellyfin20240628.zip (Size: 88.91 KB / Downloads: 78)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-06-29, 02:29 AM
    Is there a log file from before it started? This one starts off with the DB already in a bad state.
    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]
    n4tur3502
    Offline

    Junior Member

    Posts: 19
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    #9
    2024-06-29, 02:32 AM
    This is the furthest back I have a log for.
    .zip   jellyfin20240625.zip (Size: 29.13 KB / Downloads: 81)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-06-29, 02:37 AM
    Looks like it was already starting to have issues in that log as well. I need to see your log as soon as you start having issues so I can see what it was doing right before the problem starts.

    Probably unrelated, but you enabled NFO saver and Jellyfin doesn't have write permissions to your media folders.

    Code:
    [2024-06-25 04:40:51.231 -04:00] [ERR] Error in metadata saver
    System.UnauthorizedAccessException: Access to the path '/media/Media/Video/Movies/Regular/Furiosa (2024)/Furiosa A Mad Max Saga (2024) WEBRip-1080p.nfo' is denied.
    ---> System.IO.IOException: Permission 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]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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