Pockenfresse 3 Posted October 14, 2022 Posted October 14, 2022 Hello all, I am using the portable version for Windows x64 in the current stable version 4.7.8.0. I run the emby server as a Windows service, as it is described here . This works very well. What I am missing is the possibility to restart the server via web interface. There is only the entry for shutting down the server. I already tried to install the service without NSSM (Powershell New-Service, cmd sc.exe create) but unfortunately these services did not start at all. Does anyone have an idea about this problem? Olf embyserver.txt hardware_detection-63801269408.txt
Solution Luke 40086 Posted October 14, 2022 Solution Posted October 14, 2022 Hi, that's correct. The built in restart is not supported right now when running as a windows service.
Pockenfresse 3 Posted October 14, 2022 Author Posted October 14, 2022 Hi, thank you, is this planned for the future?
Luke 40086 Posted October 14, 2022 Posted October 14, 2022 Its one of those things that would be nice although I can't say when it will make it to the top of the priority list.
rbjtech 4997 Posted October 14, 2022 Posted October 14, 2022 Just set the service to restart on shutdown (in the service/nssm config) Then when you shutdown via the web app - it actually just restarts it. To shut it down properly - you need to actually stop the service via services.msc
Happy2Play 9444 Posted October 14, 2022 Posted October 14, 2022 Or create a bat file to restart Emby with the API call curl -X POST "http://localhost:8096/emby/System/Restart?api_key={YOURAPIKEY}" -d "" 1
Pockenfresse 3 Posted October 20, 2022 Author Posted October 20, 2022 Thank you for your solutions. For me the best solution at the moment is to set the service to restart.
Pockenfresse 3 Posted November 3, 2022 Author Posted November 3, 2022 On 10/14/2022 at 11:42 PM, Happy2Play said: Or create a bat file to restart Emby with the API call curl -X POST "http://localhost:8096/emby/System/Restart?api_key={YOURAPIKEY}" -d "" Unfortunately, this does not work for me. I get the message: The server is unable to self-restart. Please restart manually.
rbjtech 4997 Posted November 3, 2022 Posted November 3, 2022 13 minutes ago, Pockenfresse said: Unfortunately, this does not work for me. I get the message: The server is unable to self-restart. Please restart manually. If you are running as a service - then yes, you cannot restart via the API, maybe try shutdown instead - and if your service is configured to restart, then it will do so - the same as if you shutdown the service in a browser (it will restart). ie curl -X POST "http://localhost:8096/emby/System/Shutdown?api_key={YOURAPIKEY}" -d "" 1
jpaddle 1 Posted May 22, 2024 Posted May 22, 2024 Just landed here looking for a solution to this b/c there was an update and I needed to do the same thing. Went back to my server admin, did a shutdown & restarted the system thinking it wasn't going to be an option and BOOM, after it fired back up, the restart button appeared in the admin. Just wanted to say thanks to the devs for all you do! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now