mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[Issue]: Jellyfin does't start #4651
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rushirufu on GitHub (Feb 19, 2023).
Please describe your bug
[root@localhost downloads]# systemctl status jellyfin
× jellyfin.service - Jellyfin Media Server
Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; disabled; preset: disabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─override.conf
Active: failed (Result: exit-code) since Sun 2023-02-19 15:45:36 EST; 6s ago
Duration: 47ms
Process: 1679 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_RESTART_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JE> Main PID: 1679 (code=exited, status=137)
CPU: 28ms
Feb 19 15:45:36 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Feb 19 15:45:36 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:45:36 localhost.localdomain systemd[1]: jellyfin.service: Start request repeated too quickly.
Feb 19 15:45:36 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:45:36 localhost.localdomain systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
[root@localhost downloads]# journalctl -u jellyfin
Feb 19 15:06:02 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:02 localhost.localdomain jellyfin[2942]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:02 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:02 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 1.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2944]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 2.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2946]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2948]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
lines 1-24...skipping...
Feb 19 15:06:02 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:02 localhost.localdomain jellyfin[2942]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:02 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:02 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 1.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2944]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 2.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2946]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2948]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:04 localhost.localdomain jellyfin[2950]: Failed to create CoreCLR, HRESULT: 0x80004005
lines 1-26...skipping...
Feb 19 15:06:02 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:02 localhost.localdomain jellyfin[2942]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:02 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:02 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 1.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2944]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 2.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2946]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 3.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain jellyfin[2948]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:03 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:03 localhost.localdomain systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:04 localhost.localdomain jellyfin[2950]: Failed to create CoreCLR, HRESULT: 0x80004005
Feb 19 15:06:04 localhost.localdomain systemd[1]: jellyfin.service: Main process exited, code=exited, status=137/n/a
Feb 19 15:06:04 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:04 localhost.localdomain systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Feb 19 15:06:04 localhost.localdomain systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Feb 19 15:06:04 localhost.localdomain systemd[1]: jellyfin.service: Start request repeated too quickly.
Feb 19 15:06:04 localhost.localdomain systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Feb 19 15:06:04 localhost.localdomain systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
Jellyfin Version
10.8.0
if other:
No response
Environment
Jellyfin logs
No response
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@certainlysylvia commented on GitHub (Mar 21, 2023):
***** SEE last post below - this and others maybe be redundant. !!!!!
Had the same issue - if I turn Selinux off - issue goes away. Of course, having Selinux off is not an option.
Oh - just tried to restart with Selinux off and runs, then waiting a min, turned Selinux back on and seems okay. So narrows to maybe only breaks in Selinix is active during Jellyfin startup. Heh.
And no - a few mins later it crashes again. Oddly it worked with Jellyfin fine for a day - suspect is related to Selinux issues in prior versions. Blarg!
@Shadowghost commented on GitHub (Mar 21, 2023):
Please fill in the issue template.
@certainlysylvia commented on GitHub (Mar 21, 2023):
go to home or wherever you keep self generated selinux modules and do this
ausearch -c 'jellyfin' --raw | audit2allow -M my-jellyfinsemodule -X 300 -i my-jellyfin.ppmy-jellyfin.pp can be named whatever you want.
cheers - is working so far. Will update tomorrow :D
@certainlysylvia commented on GitHub (Mar 21, 2023):
Ok faster than tomorrow.
I got another issue re nis so do this if you get that alert ( PS: Cockpit is very useful - use it!)
setsebool -P nis_enabled 1typed in bash or whatever you use.
I will wait on further issues until tomorrow and report all at once.
@certainlysylvia commented on GitHub (Mar 21, 2023):
Okay - still had some issue and I could tell this was going to become a long long list of mods - so went back to an old solution ( I thought this issue had been fixed, since my install worked for a day)
https://www.reddit.com/r/jellyfin/comments/xz4x0u/issues_starting_under_systemd/
that ABOLUTELY solves it - nice catch and kudos to the poster
@jellyfin-bot commented on GitHub (Jul 19, 2023):
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.