Cant install on Debian 12 - 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: Cant install on Debian 12 (/t-cant-install-on-debian-12) Pages:
1
2
|
Cant install on Debian 12 - Ilya - 2024-08-29 I've tried installing jellyfin by different methods on a fresh OS install (including curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash), but get the same result - jellyfin service does not start Results are always the same: Code: Ã jellyfin.service - Jellyfin Media Server RE: Cant install on Debian 12 - Fate - 2024-08-29 can you post everything in: journalctl -u jellyfin.service to pastebin and link it here? or journalctl -u jellyfin.service --since=yesterday if the other is too much text RE: Cant install on Debian 12 - TheDreadPirate - 2024-08-29 (2024-08-29, 06:24 PM)Fate Wrote: can you post everything in: You can also use this to limit the output Code: sudo journalctl -u jellyfin -n 200 --no-pager -n 200 limits it to the last 200 lines, --no-pager will just dump the output to the terminal instead of putting you in a vim-like interface. RE: Cant install on Debian 12 - bitzerj - 2024-08-30 Same issue...tried to install on a new bare metal PC. Same exact error... Debian 12 is a clean new install... RE: Cant install on Debian 12 - Host-in-the-Shell - 2024-08-30 Could you also provide the same logs that others requested of OP? That way we can have an idea of what actually is going on. Edit: Missed your log. Thanks. Edit2: Did you by any chance ran the installer script as the root user instead of using sudo as a normal user? I've heard of that causing issues. If you did, uninstall jellyfin as the root user, then log back in as a user with sudo permissions (if you don't have one, then you'll have to make one) and reinstall under said user while invoking sudo. RE: Cant install on Debian 12 - bitzerj - 2024-08-30 I ran it under a user account with sudo permissions. I did an uninstall (Remove) and reinstall just to check and had the same error. RE: Cant install on Debian 12 - Host-in-the-Shell - 2024-08-30 Since it's a fresh install and I'm assuming it's okay to start over, could you try to run Code: sudo apt purge jellyfin and see if there's any difference? RE: Cant install on Debian 12 - bitzerj - 2024-08-30 No difference, had the same error when it tried to start the service. RE: Cant install on Debian 12 - bitzerj - 2024-08-30 Success! I went in and removed the systemd stuff from the previous installations and did a daemon-reload. Sorry, not a real linux expert... I rebooted the server, ran the curl script again and it failed, but this time was with a different error, that the service was disabled. I did a systemctl enable jellyfin and then a systemctl start jellyfin and it started. RE: Cant install on Debian 12 - Host-in-the-Shell - 2024-08-30 That's great. Just for reference and in case somebody else is still stuck even after all of this, then there seems to be a permissions issue with one of the core directories (although that shouldn't happen if you've installed using the installation script, but let's continue). What I would try then is to uninstall jellyfin, delete every directory related to it (/var/lib/jellyfin, /var/log/jellyfin, /var/cache/jellyfin) with a command like Code: sudo rm -r /var/lib/jellyfin /var/log/jellyfin /var/cache/jellyfin and reinstall with the script to see if that gets rid of the permissions issue. All that said, I'm glad you were able to fix the problem. If anything, I also forgot to ask you for the output of Code: sudo systemctl status jellyfin.service so it's my fault as well for assuming you would know to check that. But hey, all's well that ends well. |