Pockenfresse 3 Posted October 14, 2022 Share 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 Link to comment Share on other sites More sharing options...
Solution Luke 37064 Posted October 14, 2022 Solution Share Posted October 14, 2022 Hi, that's correct. The built in restart is not supported right now when running as a windows service. Link to comment Share on other sites More sharing options...
Pockenfresse 3 Posted October 14, 2022 Author Share Posted October 14, 2022 Hi, thank you, is this planned for the future? Link to comment Share on other sites More sharing options...
Luke 37064 Posted October 14, 2022 Share 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. Link to comment Share on other sites More sharing options...
Pockenfresse 3 Posted October 14, 2022 Author Share Posted October 14, 2022 OK, thanks. Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted October 14, 2022 Share 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 Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted October 14, 2022 Share 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 Link to comment Share on other sites More sharing options...
Pockenfresse 3 Posted October 20, 2022 Author Share Posted October 20, 2022 Thank you for your solutions. For me the best solution at the moment is to set the service to restart. Link to comment Share on other sites More sharing options...
Pockenfresse 3 Posted November 3, 2022 Author Share 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. Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted November 3, 2022 Share 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 Link to comment Share on other sites More sharing options...
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