EduardoSantos 40 Posted November 24, 2017 Share Posted November 24, 2017 Followed the guide on https://emby.media/community/index.php?/topic/50992-how-to-run-emby-server-as-a-windows-service/ and it took me 30 minutes to figure out the reason why Emby service would not start. Message on service initialization was "The system cannot find the file specified". The machine is 64bit but the guide only mentions the System32 path. Though this is really, really obvious and plain simple, I thought Emby should be started by 32 bit NSSM.I would suggest editing the guide just to prevent others from stucking on the same silly issue. 1 Link to comment Share on other sites More sharing options...
Luke 37064 Posted November 24, 2017 Share Posted November 24, 2017 Thanks for the feedback. We'll take at look at that. Link to comment Share on other sites More sharing options...
Blob 7 Posted December 6, 2017 Share Posted December 6, 2017 Followed the guide on https://emby.media/community/index.php?/topic/50992-how-to-run-emby-server-as-a-windows-service/ and it took me 30 minutes to figure out the reason why Emby service would not start. Message on service initialization was "The system cannot find the file specified". The machine is 64bit but the guide only mentions the System32 path. Though this is really, really obvious and plain simple, I thought Emby should be started by 32 bit NSSM. I would suggest editing the guide just to prevent others from stucking on the same silly issue. Just for info.. Just to make it clear for others like me: On 64 bit systems... Unzip and put the 64 version of nssm.exe into the system32 1 Link to comment Share on other sites More sharing options...
FreeBSD_Lover 13 Posted December 9, 2017 Share Posted December 9, 2017 Migrate to FreeBSD where many things, including Emby (server) is a service. Link to comment Share on other sites More sharing options...
tonyp4420 0 Posted December 24, 2017 Share Posted December 24, 2017 After 30 minutes of digging around, I came across this article to resolve my issue. I'm a bit disappointed they took away the built in service and left vague article to do it manually in it's place. Thank you EduardoSantos. Followed the guide on https://emby.media/community/index.php?/topic/50992-how-to-run-emby-server-as-a-windows-service/ and it took me 30 minutes to figure out the reason why Emby service would not start.Message on service initialization was "The system cannot find the file specified". The machine is 64bit but the guide only mentions the System32 path. Though this is really, really obvious and plain simple, I thought Emby should be started by 32 bit NSSM.I would suggest editing the guide just to prevent others from stucking on the same silly issue. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 24, 2017 Share Posted December 24, 2017 hi @@tonyp4420, the article is step by step. what exactly do you feel is vague? ?thanks. Link to comment Share on other sites More sharing options...
Gronnie 8 Posted December 25, 2017 Share Posted December 25, 2017 (edited) Hi @@Luke It's vague as to which nssm.exe to use (32 bit or 64 bit?) Edited December 25, 2017 by Gronnie Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 25, 2017 Share Posted December 25, 2017 Thanks, will adjust. 1 Link to comment Share on other sites More sharing options...
Gronnie 8 Posted December 27, 2017 Share Posted December 27, 2017 One more quick tip that I found, remove Emby Server from startup applications once you start running it as a service. One question, do I lose auto update once running as a service? The Dashboard now tells me to shut down Emby and install the latest version instead of allowing me to just restart. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 27, 2017 Share Posted December 27, 2017 One more quick tip that I found, remove Emby Server from startup applications once you start running it as a service. One question, do I lose auto update once running as a service? The Dashboard now tells me to shut down Emby and install the latest version instead of allowing me to just restart. Yes, the service won't automatically update. Thanks. Link to comment Share on other sites More sharing options...
slapt0p 0 Posted December 30, 2017 Share Posted December 30, 2017 (edited) It's just an unfortunate coincidence that the new .net Core work removed the auto-service-creation feature in the same time-frame that M$ "created" the delete-non-microsoft-services issue with it's post-creator's-version-update-process. I prefer to have a service because it guarantees emby is always running regardless of who logs on the server m/c. I'm happy with NSSM because as a 63 year old fart, I used srvany from the NT ResourceKit circa 1996 (great with compiled PERL)...having previously used scarey Daemons from multiple SVR4.2 UNIX flavours (sic). But many will struggle, I predict a peak in your windoze desktop support workload. BTW the instructions don't explain HOW to work with System PATH.... Thanks for all the work you chaps put in. I really do like the EMBY platform. Edited December 30, 2017 by slapt0p Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 30, 2017 Share Posted December 30, 2017 BTW the instructions don't explain HOW to work with PATH.... I'll look at updating the instructions, thanks for the feedback. I'm also not opposed to forking NSSM and rebranding it as Emby Service Manager, if that would make people feel more comfortable. Link to comment Share on other sites More sharing options...
wyerd 11 Posted December 31, 2017 Share Posted December 31, 2017 This removal of running Emby as a service REALLY ANNOYS ME. I have followed the NSSM instructions, but when the service attempts to start it fails with the error Failed to start service Emby Server. Program C:\Users\hcpc_user\AppData\Roaming\Emby-Server\system couldn't be launched. CreateProcess() failed: Access is denied. Why change something that was working perfectly before? It now makes the whole process frustrating......especially when it fails work. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 31, 2017 Share Posted December 31, 2017 hi @@wyerd, judging from the error message it sounds like you might be pointing NSSM to the folder path and not the .exe inside the folder. Please let us know if this helps. Thanks ! Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted December 31, 2017 Share Posted December 31, 2017 This removal of running Emby as a service REALLY ANNOYS ME. I have followed the NSSM instructions, but when the service attempts to start it fails with the error Failed to start service Emby Server. Program C:\Users\hcpc_user\AppData\Roaming\Emby-Server\system couldn't be launched. CreateProcess() failed: Access is denied. Why change something that was working perfectly before? It now makes the whole process frustrating......especially when it fails work. To me that points to a permission issue. As for worked perfectly before, well every major update from Microsoft has remove the service and Emby user would blame Emby for a Microsoft problem. I have followed the instruction in the wiki may times and have yet to have it fail. If you are having issue you will have to explain what you are doing to see if we can replicate it and update the wiki if needed. Link to comment Share on other sites More sharing options...
wyerd 11 Posted December 31, 2017 Share Posted December 31, 2017 This is how I have setup NSSM. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 31, 2017 Share Posted December 31, 2017 Is the Path pointing to the system folder, or the EmbyServer.exe file inside the system folder? it should be the exe file. Thanks ! Link to comment Share on other sites More sharing options...
wyerd 11 Posted December 31, 2017 Share Posted December 31, 2017 Yes Luke, you are quite correct. I hadn't included the EXE. Can I suggest that the Wiki has an example screen shot to make it clearer to what the configuration should look like? Apologies for my outburst earlier. Happy New Year! Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted January 1, 2018 Share Posted January 1, 2018 Application path: path to EmbyServer.exe Or accenting Embyserver.exe Link to comment Share on other sites More sharing options...
itsme_to 0 Posted January 5, 2018 Share Posted January 5, 2018 hi @@tonyp4420, the article is step by step. what exactly do you feel is vague? ?thanks. Its removed whitout a warning whatsoever. Emby is acting like a virus at this point. The more i read the more im starting to hate Emby No server services whitout any warning, Only @ amateurs Link to comment Share on other sites More sharing options...
AnomalousTech 7 Posted February 18, 2019 Share Posted February 18, 2019 How are you suppose to use NSSM if you can't download it since the page won't load. 1 Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted February 18, 2019 Share Posted February 18, 2019 Looks like they are currently returning a 503 Service Unavailable. Link to comment Share on other sites More sharing options...
kingbily 1 Posted February 18, 2019 Share Posted February 18, 2019 (edited) Download NSSM. Make sure to choose the 64-bit or 32-bit version of NSSM to match the architecture of your Windows installation. Save nssm.exe to a folder of your choice. You'll need to keep NSSM in this folder in order for the service to function. Open a command prompt as admin and "cd" to the folder containing NSSM. Type "nssm install" to open the NSSM user interface. Follow this guide to create your Windows Service, but incorporate the following changes: Application path: path to EmbyServer.exe Startup directory: folder containing the above executable Arguments: -service Service name: Emby Server (or other name of your choice) Then, on the exit actions tab, make sure to configure the exit action to not automatically restart This is important because without this, using the Shutdown button inside Emby Server will cause NSSM to automatically restart Emby Server. Bluestacks Kodi Lucky Patcher Edited February 20, 2019 by kingbily Link to comment Share on other sites More sharing options...
Luke 37064 Posted February 18, 2019 Share Posted February 18, 2019 Yes that's correct. Did you have a question? 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