Jellyfin Forum
Going Crazy - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Going Crazy (/t-going-crazy)

Pages: 1 2


Going Crazy - n4tur3502 - 2024-06-29

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?


RE: Going Crazy - TheDreadPirate - 2024-06-29

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.


RE: Going Crazy - n4tur3502 - 2024-06-29

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% /



RE: Going Crazy - TheDreadPirate - 2024-06-29

Do you happen to have the full jellyfin logs from when this problem last happened?


RE: Going Crazy - n4tur3502 - 2024-06-29

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.


RE: Going Crazy - TheDreadPirate - 2024-06-29

Zip the log file first. There is a 2.9MB size limit.


RE: Going Crazy - n4tur3502 - 2024-06-29

I am not a smart man. 
.zip   jellyfin20240628.zip (Size: 88.91 KB / Downloads: 21)


RE: Going Crazy - TheDreadPirate - 2024-06-29

Is there a log file from before it started? This one starts off with the DB already in a bad state.


RE: Going Crazy - n4tur3502 - 2024-06-29

This is the furthest back I have a log for.
.zip   jellyfin20240625.zip (Size: 29.13 KB / Downloads: 22)


RE: Going Crazy - TheDreadPirate - 2024-06-29

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