Jellyfin Forum
Failed to start jellyfin.service - Jellyfin Media Server. - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Failed to start jellyfin.service - Jellyfin Media Server. (/t-failed-to-start-jellyfin-service-jellyfin-media-server)

Pages: 1 2 3


RE: Failed to start jellyfin.service - Jellyfin Media Server. - rahulsharma49 - 2024-06-02

Yes recently my disk got full

Unfortunately no backuo


RE: Failed to start jellyfin.service - Jellyfin Media Server. - TheDreadPirate - 2024-06-02

You likely have to delete or rename the database files and start from scratch. You can't recover from this without a backup.


RE: Failed to start jellyfin.service - Jellyfin Media Server. - rahulsharma49 - 2024-06-02

(2024-06-02, 06:33 PM)TheDreadPirate Wrote: You likely have to delete or rename the database files and start from scratch.  You can't recover from this without a backup.

Okay, what’s the best way to do and where is that database located


RE: Failed to start jellyfin.service - Jellyfin Media Server. - TheDreadPirate - 2024-06-02

/var/lib/jellyfin

library.db and jellyfin.db. Just rename the files to library.orig and jellyfin.orig. When you start the jellyfin service it will create blank db files and you will have to start over.


RE: Failed to start jellyfin.service - Jellyfin Media Server. - rahulsharma49 - 2024-06-02

(2024-06-02, 07:15 PM)TheDreadPirate Wrote: /var/lib/jellyfin

library.db and jellyfin.db.  Just rename the files to library.orig and jellyfin.orig.  When you start the jellyfin service it will create blank db files and you will have to start over.

you mean in /var/lib/jellyfin/data?


did what you said but still cant bring JF up and running

after starting, it goes to to inactive or dead status in just few seconds


RE: Failed to start jellyfin.service - Jellyfin Media Server. - TheDreadPirate - 2024-06-02

Anything in /var/log/jellyfin/ or with the journalctl command?


RE: Failed to start jellyfin.service - Jellyfin Media Server. - rahulsharma49 - 2024-06-02

(2024-06-02, 07:30 PM)TheDreadPirate Wrote: Anything in /var/log/jellyfin/ or with the journalctl command?

here you go -

https://pastebin.com/tpXEwbGM

and in /var/log/jellyfin, there are plenty of log files like -

Code:
/var/log/jellyfin$ ls
FFmpeg.DirectStream-2024-05-29_00-10-52_fb287460cd31ee024e8e783f63ce6dae_f10d2292.log  FFmpeg.Transcode-2024-05-30_22-51-39_0d96b759e835c4e53e2478dd03f69935_9fd9af68.log
FFmpeg.DirectStream-2024-05-29_16-48-24_f653541a1359e0417569964883222869_404535d8.log  FFmpeg.Transcode-2024-05-30_22-51-40_0d96b759e835c4e53e2478dd03f69935_ffee0de0.log
FFmpeg.DirectStream-2024-05-29_16-49-00_f653541a1359e0417569964883222869_6aabc058.log  FFmpeg.Transcode-2024-05-30_22-51-41_0d96b759e835c4e53e2478dd03f69935_21850426.log
FFmpeg.DirectStream-2024-05-29_16-49-37_f653541a1359e0417569964883222869_1f858011.log  FFmpeg.Transcode-2024-05-30_22-51-41_0d96b759e835c4e53e2478dd03f69935_52b4bed6.log
FFmpeg.DirectStream-2024-05-29_19-44-31_232180a5338713af180bf4a6a705528f_921a7446.log  FFmpeg.Transcode-2024-05-30_22-51-42_0d96b759e835c4e53e2478dd03f69935_0cfdc2d7.log
FFmpeg.DirectStream-2024-05-31_23-07-10_b8e3c77e7dd4658292551054e97ba540_c8283223.log  FFmpeg.Transcode-2024-05-30_22-51-43_0d96b759e835c4e53e2478dd03f69935_9c50b79d.log
FFmpeg.DirectStream-2024-05-31_23-10-51_b8e3c77e7dd4658292551054e97ba540_59fadeff.log  FFmpeg.Transcode-2024-05-30_22-51-43_0d96b759e835c4e53e2478dd03f69935_e5d840fa.log
FFmpeg.Transcode-2024-05-30_22-51-15_0d96b759e835c4e53e2478dd03f69935_4bd7ec2e.log    FFmpeg.Transcode-2024-05-30_22-51-44_0d96b759e835c4e53e2478dd03f69935_7bd75504.log
FFmpeg.Transcode-2024-05-30_22-51-16_0d96b759e835c4e53e2478dd03f69935_40226e4b.log    FFmpeg.Transcode-2024-05-30_22-51-45_0d96b759e835c4e53e2478dd03f69935_1f065e7c.log
FFmpeg.Transcode-2024-05-30_22-51-17_0d96b759e835c4e53e2478dd03f69935_20ce2fd3.log    FFmpeg.Transcode-2024-05-30_22-51-46_0d96b759e835c4e53e2478dd03f69935_12b0da1f.log
FFmpeg.Transcode-2024-05-30_22-51-17_0d96b759e835c4e53e2478dd03f69935_f045e4e8.log    FFmpeg.Transcode-2024-05-30_22-51-46_0d96b759e835c4e53e2478dd03f69935_342cb790.log
FFmpeg.Transcode-2024-05-30_22-51-18_0d96b759e835c4e53e2478dd03f69935_c3df2c02.log    FFmpeg.Transcode-2024-05-30_22-51-47_0d96b759e835c4e53e2478dd03f69935_0b9fb7c3.log
FFmpeg.Transcode-2024-05-30_22-51-19_0d96b759e835c4e53e2478dd03f69935_2c79c4c3.log    FFmpeg.Transcode-2024-05-30_22-51-48_0d96b759e835c4e53e2478dd03f69935_5086ebdc.log
FFmpeg.Transcode-2024-05-30_22-51-19_0d96b759e835c4e53e2478dd03f69935_e205b289.log    FFmpeg.Transcode-2024-05-30_22-51-48_0d96b759e835c4e53e2478dd03f69935_93bb3074.log
FFmpeg.Transcode-2024-05-30_22-51-20_0d96b759e835c4e53e2478dd03f69935_2634d8d0.log    FFmpeg.Transcode-2024-05-30_22-51-49_0d96b759e835c4e53e2478dd03f69935_7ee6fea8.log
FFmpeg.Transcode-2024-05-30_22-51-21_0d96b759e835c4e53e2478dd03f69935_2edaa0de.log    FFmpeg.Transcode-2024-05-30_22-51-50_0d96b759e835c4e53e2478dd03f69935_1f08c1e2.log
FFmpeg.Transcode-2024-05-30_22-51-21_0d96b759e835c4e53e2478dd03f69935_b498080f.log    FFmpeg.Transcode-2024-05-30_22-51-50_0d96b759e835c4e53e2478dd03f69935_23491a74.log
FFmpeg.Transcode-2024-05-30_22-51-22_0d96b759e835c4e53e2478dd03f69935_3767a472.log    FFmpeg.Transcode-2024-05-30_22-51-51_0d96b759e835c4e53e2478dd03f69935_f91138ed.log
FFmpeg.Transcode-2024-05-30_22-51-23_0d96b759e835c4e53e2478dd03f69935_9ffb5002.log    FFmpeg.Transcode-2024-05-30_22-51-52_0d96b759e835c4e53e2478dd03f69935_13f7622b.log
FFmpeg.Transcode-2024-05-30_22-51-23_0d96b759e835c4e53e2478dd03f69935_cafe536b.log    FFmpeg.Transcode-2024-05-30_22-51-52_0d96b759e835c4e53e2478dd03f69935_ca871afd.log
FFmpeg.Transcode-2024-05-30_22-51-24_0d96b759e835c4e53e2478dd03f69935_141417e0.log    FFmpeg.Transcode-2024-05-30_22-51-53_0d96b759e835c4e53e2478dd03f69935_b60a97d8.log
FFmpeg.Transcode-2024-05-30_22-51-25_0d96b759e835c4e53e2478dd03f69935_3d41d84d.log    FFmpeg.Transcode-2024-05-30_22-51-54_0d96b759e835c4e53e2478dd03f69935_3a857a1f.log
FFmpeg.Transcode-2024-05-30_22-51-25_0d96b759e835c4e53e2478dd03f69935_bb28f3e0.log    FFmpeg.Transcode-2024-05-30_22-51-54_0d96b759e835c4e53e2478dd03f69935_6118f91c.log
FFmpeg.Transcode-2024-05-30_22-51-30_0d96b759e835c4e53e2478dd03f69935_7af6af2e.log    FFmpeg.Transcode-2024-05-30_22-51-55_0d96b759e835c4e53e2478dd03f69935_d7e9b14e.log
FFmpeg.Transcode-2024-05-30_22-51-31_0d96b759e835c4e53e2478dd03f69935_b6956785.log    FFmpeg.Transcode-2024-05-30_22-51-56_0d96b759e835c4e53e2478dd03f69935_056b4525.log
FFmpeg.Transcode-2024-05-30_22-51-32_0d96b759e835c4e53e2478dd03f69935_b17158aa.log    FFmpeg.Transcode-2024-05-30_22-51-57_0d96b759e835c4e53e2478dd03f69935_74435539.log
FFmpeg.Transcode-2024-05-30_22-51-33_0d96b759e835c4e53e2478dd03f69935_57730137.log    FFmpeg.Transcode-2024-05-30_22-51-57_0d96b759e835c4e53e2478dd03f69935_a0fb5f94.log
FFmpeg.Transcode-2024-05-30_22-51-33_0d96b759e835c4e53e2478dd03f69935_7634141c.log    FFmpeg.Transcode-2024-05-30_22-51-58_0d96b759e835c4e53e2478dd03f69935_ff6979bd.log
FFmpeg.Transcode-2024-05-30_22-51-34_0d96b759e835c4e53e2478dd03f69935_19229d49.log    FFmpeg.Transcode-2024-05-30_22-51-59_0d96b759e835c4e53e2478dd03f69935_4365ed73.log
FFmpeg.Transcode-2024-05-30_22-51-35_0d96b759e835c4e53e2478dd03f69935_241a7304.log    jellyfin20240528.log
FFmpeg.Transcode-2024-05-30_22-51-35_0d96b759e835c4e53e2478dd03f69935_78cae019.log    jellyfin20240529.log
FFmpeg.Transcode-2024-05-30_22-51-36_0d96b759e835c4e53e2478dd03f69935_1a9bdd89.log    jellyfin20240530.log
FFmpeg.Transcode-2024-05-30_22-51-37_0d96b759e835c4e53e2478dd03f69935_10ea4f02.log    jellyfin20240531.log
FFmpeg.Transcode-2024-05-30_22-51-37_0d96b759e835c4e53e2478dd03f69935_9a9f85fe.log    jellyfin20240601.log
FFmpeg.Transcode-2024-05-30_22-51-38_0d96b759e835c4e53e2478dd03f69935_928e5091.log    jellyfin20240602.log
FFmpeg.Transcode-2024-05-30_22-51-39_0d96b759e835c4e53e2478dd03f69935_163e77e3.log    jellyfin20240603.log



RE: Failed to start jellyfin.service - Jellyfin Media Server. - TheDreadPirate - 2024-06-02

Same issue. Is your disk still full? Delete the new DB files, delete /etc/jellyfin/migrations.xml, try again.


RE: Failed to start jellyfin.service - Jellyfin Media Server. - rahulsharma49 - 2024-06-03

(2024-06-02, 09:37 PM)TheDreadPirate Wrote: Same issue.  Is your disk still full?  Delete the new DB files, delete /etc/jellyfin/migrations.xml, try again.

Here are the latest log file - https://pastebin.com/sC7akG0u

No disk is not full any more, please see attachment


RE: Failed to start jellyfin.service - Jellyfin Media Server. - TheDreadPirate - 2024-06-03

I have no idea why that keeps happening. At this point I want to purge Jellyfin on your system and start from scratch. There are a couple steps to ensure we start clean.

Are you ok with that?