Jellyfin Forum
SOLVED: Jellyfin won't start after install, core dump - 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 won't start after install, core dump (/t-solved-jellyfin-won-t-start-after-install-core-dump)



Jellyfin won't start after install, core dump - akwusmc - 2024-09-04

All,

Just tried to install Jellyfin on my Linux Mint machine, using the instructions for Ubuntu.

Code:
anthony@anthony-desktop:~$ curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                Dload  Upload  Total  Spent    Left  Speed
100 10606  100 10606    0    0  57021      0 --:--:-- --:--:-- --:--:-- 57021
> Determining optimal repository settings.

Found the following details from '/etc/os-release':
  Real OS:            linuxmint
  Repository OS:      ubuntu
  Repository Release: focal
  CPU Architecture:  amd64
If this looks correct, press <Enter> now to continue installing Jellyfin.

> Creating APT keyring directory.

> Fetching repository signing key.

> Installing Jellyfin repository into APT.
Types: deb
URIs: https://repo.jellyfin.org/ubuntu
Suites: focal
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/jellyfin.gpg

> Updating APT repositories.
Hit:1 http://dl.google.com/linux/earth/deb stable InRelease
Ign:2 http://packages.linuxmint.com una InRelease                                                                                     
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                                 
Hit:4 http://packages.linuxmint.com una Release                                                                                       
Get:5 https://download.mono-project.com/repo/ubuntu stable-focal InRelease [4,416 B]                                                 
Hit:6 http://archive.canonical.com/ubuntu focal InRelease                                                                             
Hit:7 http://archive.ubuntu.com/ubuntu focal InRelease                                                                               
Hit:8 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                     
Get:9 https://repo.jellyfin.org/ubuntu focal InRelease [6,660 B]                                               
Hit:10 http://repository.spotify.com stable InRelease                                                                       
Hit:11 http://archive.ubuntu.com/ubuntu focal-updates InRelease                         
Hit:12 http://archive.ubuntu.com/ubuntu focal-backports InRelease 
Hit:13 https://repo.protonvpn.com/debian stable InRelease         
Get:15 https://nyc1.mirror.jellyfin.org/files/ubuntu focal/main amd64 Packages [1,918 B]
Hit:16 http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu focal InRelease
Hit:17 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu focal InRelease
Hit:18 http://ppa.launchpad.net/kiwixteam/release/ubuntu focal InRelease
Hit:19 http://ppa.launchpad.net/nrbrtx/python2-stuff/ubuntu focal InRelease
Fetched 13.0 kB in 6s (2,058 B/s)                                                                                                     
Reading package lists... Done
Building dependency tree     
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.mono-project.com/repo/ubuntu stable-focal InRelease' doesn't support architecture 'i386'

> Installing Jellyfin.
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following additional packages will be installed:
  jellyfin-ffmpeg6 jellyfin-server jellyfin-web
The following NEW packages will be installed:
  jellyfin jellyfin-ffmpeg6 jellyfin-server jellyfin-web
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 119 MB of archives.
After this operation, 405 MB of additional disk space will be used.
Get:1 https://nyc1.mirror.jellyfin.org/files/ubuntu focal/main amd64 jellyfin-server amd64 10.9.10+ubu2004 [46.3 MB]
Get:4 https://tor1.mirror.jellyfin.org/files/ubuntu focal/main amd64 jellyfin all 10.9.10+ubu2004 [2,442 B]
Get:2 https://nyc1.mirror.jellyfin.org/files/ubuntu focal/main amd64 jellyfin-web all 10.9.10+ubu2004 [32.5 MB]
Get:3 https://nyc1.mirror.jellyfin.org/files/ubuntu focal/main amd64 jellyfin-ffmpeg6 amd64 6.0.1-8-focal [40.3 MB]
Fetched 119 MB in 8s (14.2 MB/s)                                                                                                     
Selecting previously unselected package jellyfin-server.
(Reading database ... 581234 files and directories currently installed.)
Preparing to unpack .../jellyfin-server_10.9.10+ubu2004_amd64.deb ...
Unpacking jellyfin-server (10.9.10+ubu2004) ...
Selecting previously unselected package jellyfin-web.
Preparing to unpack .../jellyfin-web_10.9.10+ubu2004_all.deb ...
Unpacking jellyfin-web (10.9.10+ubu2004) ...
Selecting previously unselected package jellyfin-ffmpeg6.
Preparing to unpack .../jellyfin-ffmpeg6_6.0.1-8-focal_amd64.deb ...
Unpacking jellyfin-ffmpeg6 (6.0.1-8-focal) ...
Selecting previously unselected package jellyfin.
Preparing to unpack .../jellyfin_10.9.10+ubu2004_all.deb ...
Unpacking jellyfin (10.9.10+ubu2004) ...
Setting up jellyfin-web (10.9.10+ubu2004) ...
Setting up jellyfin-server (10.9.10+ubu2004) ...
Created symlink /etc/systemd/system/multi-user.target.wants/jellyfin.service → /lib/systemd/system/jellyfin.service.
Setting up jellyfin-ffmpeg6 (6.0.1-8-focal) ...
Setting up jellyfin (10.9.10+ubu2004) ...
Processing triggers for libc-bin (2.31-0ubuntu9.16) ...

> Waiting 15 seconds for Jellyfin to fully start up.

-------------------------------------------------------------------------------
● 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 Wed 2024-09-04 13:02:42 EDT; 17s ago
    Process: 57725 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=dumped, signal=ABRT)
  Main PID: 57725 (code=dumped, signal=ABRT)

Sep 04 13:02:43 anthony-desktop jellyfin[57725]:    at Jellyfin.Server.Helpers.StartupHelpers.InitLoggingConfigFile(IApplicati…appPaths)
Sep 04 13:02:43 anthony-desktop jellyfin[57725]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
Sep 04 13:02:43 anthony-desktop jellyfin[57725]:    at Jellyfin.Server.Program.<Main>(String[] args)
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Sep 04 13:02:42 anthony-desktop systemd[1]: Stopped Jellyfin Media Server.
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Start request repeated too quickly.
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Sep 04 13:02:42 anthony-desktop systemd[1]: Failed to start Jellyfin Media Server.
Hint: Some lines were ellipsized, use -l to show in full.
● 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 Wed 2024-09-04 13:02:42 EDT; 27s ago
    Process: 57725 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=dumped, signal=ABRT)
  Main PID: 57725 (code=dumped, signal=ABRT)

Sep 04 13:02:43 anthony-desktop jellyfin[57725]:    at Jellyfin.Server.Helpers.StartupHelpers.InitLoggingConfigFile(IApplicati…appPaths)
Sep 04 13:02:43 anthony-desktop jellyfin[57725]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
Sep 04 13:02:43 anthony-desktop jellyfin[57725]:    at Jellyfin.Server.Program.<Main>(String[] args)
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Main process exited, code=dumped, status=6/ABRT
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Sep 04 13:02:42 anthony-desktop systemd[1]: Stopped Jellyfin Media Server.
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Start request repeated too quickly.
Sep 04 13:02:42 anthony-desktop systemd[1]: jellyfin.service: Failed with result 'core-dump'.
Sep 04 13:02:42 anthony-desktop systemd[1]: Failed to start Jellyfin Media Server.
Hint: Some lines were ellipsized, use -l to show in full.
-------------------------------------------------------------------------------

You should see the service as 'active (running)' above. If not, use https://jellyfin.org/contact to find us for troubleshooting.

You can access your new instance now at http://***.***.*.***:8096 in your web browser to finish setting up Jellyfin.

Thank you for installing Jellyfin, and happy watching!

The posts I've seen on the forum and in search results relate to a failure to start start after having been used successfully, not immediately after installation.

Any help is greatly appreciated!


RE: Jellyfin won't start after install, core dump - TheDreadPirate - 2024-09-04

Code:
sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin /usr/share/jellyfin
sudo systemctl restart jellyfin

There is a known bug in the deb package where permissions aren't properly set on fresh installs.


RE: Jellyfin won't start after install, core dump - akwusmc - 2024-09-04

That did the trick! Thank you!