2024-02-17, 04:29 AM
Hi there. I'm getting started with Jellyfin and installed it via the official install script for Ubuntu. Install seemed to go fine, but the service was not running after install. I tried starting the service a few times (no luck) and then rebooted the server and tried again. Still no dice.
Looking at the logs, it looks as if it runs out of memory almost instantaneously? Server has 11GB free, so I'm not sure about that. I did trying editing the service file to have it run as root in case there was some sort of permissions issue. The only thing I can think that is unusual is the usage of mediatree for the TV tuner.
I did try the docker container. That did run, but it didn't see my video card or my tuner. I'm not sure what steps I'd need to take to get my them accessible in the container.
I've included my system information and some of the logs below. Interestingly,
Looking at the logs, it looks as if it runs out of memory almost instantaneously? Server has 11GB free, so I'm not sure about that. I did trying editing the service file to have it run as root in case there was some sort of permissions issue. The only thing I can think that is unusual is the usage of mediatree for the TV tuner.
I did try the docker container. That did run, but it didn't see my video card or my tuner. I'm not sure what steps I'd need to take to get my them accessible in the container.
I've included my system information and some of the logs below. Interestingly,
jellyfin --version
immediately runs out of memory as well, but apt info jellyfin
does show the version (10.8.13-1).
root@asdf:~# uname -v
#0+mediatree+hauppauge~hwe-Ubuntu SMP PREEMPT_DYNAMIC Fri Dec 15
root@asdf:~# neofetch
.-/+oossssoo+/-. root@asdf
:+ssssssssssssssssss+: -----------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.4 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Host: C9Z490-PG 0123456789
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 6.5.0-142312122121-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 1 hour, 6 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 1777 (dpkg), 6 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ CPU: Intel i7-10700K (16) @ 5.000GHz
ossyNMMMNyMMhsssssssssssssshmmmhssssssso GPU: NVIDIA GeForce GTX 1080
ossyNMMMNyMMhsssssssssssssshmmmhssssssso Memory: 600MiB / 15872MiB
+sssshhhyNMMNyssssssssssssyNMMMysssssss+
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
+sssssssssdmydMMMMMMMMddddyssssssss+
/ssssssssssshdmNNNNmyNMMMMhssssss/
.ossssssssssssssssssdMMMNysssso.
-+sssssssssssssssssyyyssss+-
:+ssssssssssssssssss+:
.-/+oossssoo+/-.
root@asdf:~# free -h
total used free shared buff/cache available
Mem: 15Gi 593Mi 11Gi 1.0Mi 3.0Gi 14Gi
Swap: 4.0Gi 0B 4.0Gi
root@asdf:~# jellyfin --version
Out of memory.
Aborted (core dumped)
root@asdf:~# apt info jellyfin
Package: jellyfin
Version: 10.8.13-1
Priority: optional
Section: misc
Maintainer: Jellyfin Packaging Team <packaging@jellyfin.org>
Installed-Size: 9216 B
Depends: jellyfin-server (>= 10.8.13-1), jellyfin-web (>= 10.8.13-1), jellyfin-ffmpeg5 (>= 5.0.0)
Homepage: https://jellyfin.org
Download-Size: 2284 B
APT-Manual-Installed: yes
APT-Sources: https://repo.jellyfin.org/ubuntu jammy/main amd64 Packages
Description: Provides the Jellyfin Free Software Media System
Provides the full Jellyfin experience, including both the server and web interface.
root@asdf:~# tail -n20 /var/log/syslog
Feb 16 21:58:21 asdf jellyfin[9126]: Out of memory.
Feb 16 21:58:21 asdf systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
Feb 16 21:58:21 asdf systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Feb 16 21:58:21 asdf systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
Feb 16 21:58:21 asdf systemd[1]: Stopped Jellyfin Media Server.
Feb 16 21:58:21 asdf systemd[1]: Started Jellyfin Media Server.
Feb 16 21:58:21 asdf jellyfin[9134]: Out of memory.
Feb 16 21:58:21 asdf systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
Feb 16 21:58:21 asdf systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Feb 16 21:58:22 asdf systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
Feb 16 21:58:22 asdf systemd[1]: Stopped Jellyfin Media Server.
Feb 16 21:58:22 asdf systemd[1]: Started Jellyfin Media Server.
Feb 16 21:58:22 asdf jellyfin[9142]: Out of memory.
Feb 16 21:58:22 asdf systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
Feb 16 21:58:22 asdf systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Feb 16 21:58:22 asdf systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Feb 16 21:58:22 asdf systemd[1]: Stopped Jellyfin Media Server.
Feb 16 21:58:22 asdf systemd[1]: jellyfin.service: Start request repeated too quickly.
Feb 16 21:58:22 asdf systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Feb 16 21:58:22 asdf systemd[1]: Failed to start Jellyfin Media Server.
root@asdf:~# systemctl status jellyfin
× jellyfin.service - Jellyfin Media Server
Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
Active: failed (Result: core-dump) since Fri 2024-02-16 22:09:50 CST; 2s ago
Process: 9961 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_RESTART_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=dumped, signal=ABRT)
Main PID: 9961 (code=dumped, signal=ABRT)
CPU: 33ms
Feb 16 22:09:50 asdf systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Feb 16 22:09:50 asdf systemd[1]: Stopped Jellyfin Media Server.
Feb 16 22:09:50 asdf systemd[1]: jellyfin.service: Start request repeated too quickly.
Feb 16 22:09:50 asdf systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Feb 16 22:09:50 asdf systemd[1]: Failed to start Jellyfin Media Server.