Jellyfin Forum
Jellyfin won’t 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: Jellyfin won’t start (/t-jellyfin-won%E2%80%99t-start)



Jellyfin won’t start - cactus68100 - 2025-02-01

Hello everyone, 


after a synaptic install, jellyfin refuses to boot on a Linux Mint 22 Mate install. 

the sudo systemctl status jellyfin command gives: main process exited. code=exited. status=203/EXEC.

Anyone have a suggestion?

Cactus


RE: Jellyfin won’t start - theguymadmax - 2025-02-02

Post the output of this command:
Code:
sudo journalctl -u jellyfin -n 500 --no-pager



RE: Jellyfin won’t start - cactus68100 - 2025-02-02

Hi theguymadmax, 

Here is the result of the command.    


RE: Jellyfin won’t start - theguymadmax - 2025-02-02

What's the result of this command:
Code:
sudo apt list --installed | grep -i jellyfin



RE: Jellyfin won’t start - cactus68100 - 2025-02-02

The apt liste command result :    


RE: Jellyfin won’t start - TheDreadPirate - 2025-02-03

We'd need to see the full output of that journalctl command. But try the following. If this doesn't work, share the FULL journalctl output via privatebin.net.

Code:
sudo chown -R jellyfin /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin
sudo systemctl start jellyfin

If it still doesn't start do this.

Code:
sudo mkdir -p /backup/etc /backup/var/cache /backup/var/lib
sudo rsync -a -p --progress /etc/jellyfin /backup/etc/
sudo rsync -a -p --progress /var/cache/jellyfin /backup/var/cache/
sudo rsync -a -p --progress /var/lib/jellyfin /backup/var/lib/
sudo apt purge jellyfin*
sudo apt install jellyfin
sudo systemctl stop jellyfin
sudo chown -R jellyfin /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin
sudo systemctl start jellyfin

If that doesn't work, share the full output of the journalctl command.


RE: Jellyfin won’t start - cactus68100 - 2025-02-03

hi dreadpirate,

nothing works. here is the link for the journalctl command :

https://privatebin.net/?8a9398eeb906b66c#CiXXa1Ta4Kr32zkHEDS4uAYVcMmRmQmxcwEYuqfVwPxM


cactus


RE: Jellyfin won’t start - TheDreadPirate - 2025-02-03

Code:
PWD=/etc/systemd/system ; USER=root ; COMMAND=/usr/bin/nano jellyfin.service

It looks like you edited the jellyfin service file prior to it no longer starting. What changes did you make? Also, from past experiences with other users, this file is not purged by apt. You would need to delete this file and reinstall to get a fresh copy.


RE: Jellyfin won’t start - cactus68100 - 2025-02-04

Hi,


Thank you for your help.

I deleted the file and jellyfin started fine (!). thanks for that. 

But I still have a problem: jelly can't see my USB hard drive, so I can't create a library. User and group is jellyfin:jellyfin and the rights are rwx for all.

Do you have an idea?


cactus


RE: Jellyfin won’t start - TheDreadPirate - 2025-02-04

If this USB drive was auto mounted, you would need to remove the ACL on /media/yourUsername

Code:
sudo setfacl -b -R /media/yourUsername
sudo find /media/yourUsername -type d -exec chmod 755 {} \;
sudo find /media/yourUsername -type f -exec chmod 644 {} \;

Replace with your actual user name, obviously. Once you've done the commands above, Jellyfin should be able to access your media.