Jellyfin Forum
SOLVED: Jellyfin don't want to start - 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: SOLVED: Jellyfin don't want to start (/t-solved-jellyfin-don-t-want-to-start)



Jellyfin don't want to start - Bcause42 - 2024-10-28

Hello,

I used Jellyfin for some weeks now and everything worked well.
Since 1 or 2 days ago, the service don't want to start.
The error is :


Code:
× jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
            └─jellyfin.service.conf
    Active: failed (Result: signal) since Mon 2024-10-28 20:15:29 CET; 11min ago
  Duration: 463ms
    Process: 2132 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELL$JELLYFIN_ADDITIONAL_OPTS (code=killed, signal=ABRT)
  Main PID: 2132 (code=killed, signal=ABRT)
        CPU: 385ms

Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Failed with result 'signal'.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Oct 28 20:15:29 movies systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Start request repeated too quickly.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Failed with result 'signal'.
Oct 28 20:15:29 movies systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
× jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
            └─jellyfin.service.conf
    Active: failed (Result: signal) since Mon 2024-10-28 20:15:29 CET; 11min ago
  Duration: 463ms
    Process: 2132 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELL$JELLYFIN_ADDITIONAL_OPTS (code=killed, signal=ABRT)
  Main PID: 2132 (code=killed, signal=ABRT)
        CPU: 385ms

Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Failed with result 'signal'.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Oct 28 20:15:29 movies systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Start request repeated too quickly.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Failed with result 'signal'.
Oct 28 20:15:29 movies systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
The only think I changed is the encodeur I think but since, I did an "apt remove jellyfin" and remove the jellyfin.source from apt and reinstall the tool from "curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash"

If someone has any idea Smiling-face

I had also another problem (reason why I tried to change the encoder), some vidéos was played perfectly but some, crashed after few minutes


RE: Jellyfin don't want to start - Bcause42 - 2024-10-28

Journalctl -xeu jellyfin :

Code:
Oct 28 20:15:29 movies jellyfin[2132]:    at System.Xml.XmlReader.MoveToContent()
Oct 28 20:15:29 movies jellyfin[2132]:    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationRead>
Oct 28 20:15:29 movies jellyfin[2132]:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** argu>
Oct 28 20:15:29 movies jellyfin[2132]:    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, B>
Oct 28 20:15:29 movies jellyfin[2132]:    --- End of inner exception stack trace ---
Oct 28 20:15:29 movies jellyfin[2132]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlRe>
Oct 28 20:15:29 movies jellyfin[2132]:    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlRe>
Oct 28 20:15:29 movies jellyfin[2132]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.Deserial>
Oct 28 20:15:29 movies jellyfin[2132]:    at Emby.Server.Implementations.Serialization.MyXmlSerializer.Deserial>
Oct 28 20:15:29 movies jellyfin[2132]:    at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApp>
Oct 28 20:15:29 movies jellyfin[2132]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
Oct 28 20:15:29 movies jellyfin[2132]:    at Jellyfin.Server.Program.<Main>(String[] args)
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit jellyfin.service has exited.
░░
░░ The process' exit code is 'killed' and its exit status is 6.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Failed with result 'signal'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit jellyfin.service has entered the 'failed' state with result 'signal'.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Automatic restarting of the unit jellyfin.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Oct 28 20:15:29 movies systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
░░ Subject: A stop job for unit jellyfin.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit jellyfin.service has finished.
░░
░░ The job identifier is 2945 and the job result is done.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Start request repeated too quickly.
Oct 28 20:15:29 movies systemd[1]: jellyfin.service: Failed with result 'signal'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit jellyfin.service has entered the 'failed' state with result 'signal'.
Oct 28 20:15:29 movies systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
░░ Subject: A start job for unit jellyfin.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit jellyfin.service has finished with a failure.
░░
░░ The job identifier is 2945 and the job result is failed.

The logs are not reachable :

Code:
sudo cd /var/log/jellyfin/
sudo: cd: command not found
sudo: "cd" is a shell built-in command, it cannot be run directly.
sudo: the -s option may be used to run a privileged shell.
sudo: the -D option may be used to run a command in a specific directory.

and "ls -l /var/log/jellyfin give me results (see in attachment)


RE: Jellyfin don't want to start - TheDreadPirate - 2024-10-28

Can you share more journalctl output via pastebin?

Code:
sudo systemctl -u jellyfin -n 200 --no-pager

And share the output of this apt command.

Code:
sudo apt list --installed | grep jellyfin



RE: Jellyfin don't want to start - Bcause42 - 2024-10-28

Heyy,
Thx for the reply

For the first one, I've an error :

Code:
user@movies:~$ sudo systemctl -u jellyfin -n 200 --no-pager
[sudo] password for user:
systemctl: invalid option -- 'u'

The second one :
Code:
user@movies:~$ sudo apt list --installed | grep jellyfin

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

jellyfin-ffmpeg7/unknown,now 7.0.2-5-bookworm amd64 [installed,automatic]
jellyfin-server/unknown,now 10.10.0+deb12 amd64 [installed,automatic]
jellyfin-web/unknown,now 10.10.0+deb12 all [installed,automatic]
jellyfin/unknown,now 10.10.0+deb12 all [installed]

Without "-u Jellyfin"

https://pastebin.com/zn4PpgBk


RE: Jellyfin don't want to start - TheDreadPirate - 2024-10-28

My bad. I meant journalctl instead of systemctl.

Code:
sudo journalctl -u jellyfin -n 200 --no-pager



RE: Jellyfin don't want to start - Bcause42 - 2024-10-28

Hahha
Sorry, I should understand before xD

https://pastebin.com/D8wdVwxw

Thx for your help


RE: Jellyfin don't want to start - theguymadmax - 2024-10-28

Try these command:
Code:
sudo systemctl stop jellyfin
sudo mv /etc/jellyfin/migrations.xml /etc/jellyfin/migrations.xml.bak
sudo mv /etc/jellyfin/system.xml /etc/jellyfin/system.xml.bak
sudo systemctl start jellyfin



RE: Jellyfin don't want to start - Bcause42 - 2024-10-29

Heyy

Thx a lot !
That solved my issue AND it's look like to have solved my issue with videos that crashed after few minutes !

Just for my own knowledge (and eventually be able to solve by my own the next time), could you tell me what was the root cause if you are able to answer ?

Thx a lot both of you for your help Grinning-face