mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
linux web ui restart button fails #6883
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#6883
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @binarygeek119 on GitHub (Apr 7, 2025).
Description of the bug
on linux non docker (ubuntu server 20.04.2 lts) install when click restart in web ui the sever is killed and needs to be restarted with command "sudo systemctl start jellyfin.service"
Reproduction steps
happens every time
start up jellyfin
click restart in web ui
never come back up
What is the current bug behavior?
never come back up
What is the expected correct behavior?
should restart. i did find the fix for this. at least on ubuntu.
in /etc/systemd/system/jellyfin.service.d/
its listed as jellyfin.service.conf
but it doesnt work as that name by droping the .conf "jellyfin.service"
running sudo systemctl enable jellyfin.service
and sudo systemctl start jellyfin.service
this fixes the issue and allows for jellyfin to restart with the web ui button.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
c335a3024
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@binarygeek119 commented on GitHub (Apr 7, 2025):
ok i dug a bit more into this its not that i renamed that file as after looking at the file its just full of comments.
its the act of starting the service myself that fixes it. the command "sudo systemctl start jellyfin.service" allows the restart to work. but if the system starts the service on its own it doesnt work. it has to be the user that starts it.
i have comeup with a simple work around for now.
by editing the .backrc file in /root
adding this "systemctl start jellyfin.service"
to the end of it
fixes the restart bug. i can now start the server from cold boot get jellyfin to auto start and beable to click restart in web ui and for it to actually restart jellyfin.
@joshuaboniface commented on GitHub (Apr 7, 2025):
Exactly how did you install Jellyfin here? The
.debpackages handle this all as expected - they run everything as ajellyfinuser, put the right service units in the right places for this to work by default, etc. Something seems very off about your setup based on that last comment.@joshuaboniface commented on GitHub (Apr 7, 2025):
And also exactly what version, are you running an unstable or stable build?
@binarygeek119 commented on GitHub (Apr 8, 2025):
stable and i ran the command on website. "curl -s https://repo.jellyfin.org/install-debuntu.sh | sudo bash"
thats the only thing i did on a freash install of ubuntu server 24.04.2 lts.
@joshuaboniface commented on GitHub (Apr 8, 2025):
OK that's good to know. The Restart button is implemented with in-code logic to restart the program without actually existing the main process, so it should never get to a point where systemd takes over, unless something else is going wrong. I do see errors in your log but nothing that jumps out as suspicious regarding this.
Can you try to reproduce this again, and collect the following:
What
sudo systemctl status jellyfinsays after it fails.All the logs, from just before you pressed the button, until it either fails or finishes booting up again. This might be long so please upload as a text file.
@binarygeek119 commented on GitHub (Apr 8, 2025):
jellyfin log.txt
@klueman commented on GitHub (Apr 11, 2025):
I'm having the same issue on Ubuntu 20.04.2 LTS, not using Docker. Restart from the web UI always fails.
I can't remember exactly what steps I followed to set this up the first time in 2021/2022, but I'm sure it was the steps from the official wiki.
The results of
sudo systemctl status jellyfinlook similar to binarygeek119's:I attached the logs from the moment the reset command was sent to the point the log ends.
Jellyfin Restart Log.txt
@jellyfin-bot commented on GitHub (Aug 10, 2025):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@klueman commented on GitHub (Aug 12, 2025):
This issue has not been solved. Server still fails to start back up when "Restart" is used from any app or the webui
@jellyfin-bot commented on GitHub (Dec 11, 2025):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.