Jump to content

Can not start as Windows Service


Go to solution Solved by ebr,

Recommended Posts

Posted

Hello,

 

Today I upgraded to 3.2.50.0.  It upgraded successfully and started the emby server.  

 

My normal steps at this point is to exit the system tray and start the service.  However, today, it won't start.

 

Then I tried to start the server from the start menu, but it won't start from there either.  I re-ran the installer, and it starts fine.  I am currently running the server logged in, but if the system reboots for some reason, then emby will not restart.

 

Here is the log file from failed starts.

 

2017-12-10 08:30:00.538 Info Main: Application path: C:\Users\Patrick\AppData\Roaming\Emby-Server\system\EmbyServer.dll
2017-12-10 08:30:00.548 Info Main: Emby
    Command line: C:\Users\Patrick\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Patrick\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 8
    Program data path: C:\Users\Patrick\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Patrick\AppData\Roaming\Emby-Server\system
2017-12-10 08:30:05.558 Info Main: Exiting because another instance is already running.
2017-12-10 08:30:05.558 Info Main: Exiting because another instance is already running.

 

But where?  I looked at the processes, and the process called Electron does go away.

Posted

Hi.  The process for how to run as a service has changed.

 

Please see: How to run Emby as a Windows Service

 

To remove the old service (to remove the obsolete one), I did this in an admin command prompt :

"sc delete emby", and then the new procedure could be added

Posted

@pt1xzoom, in addition to the above advice, you seem to be starting it in multiple ways at the same time, and only one is allowed at a time.

Posted

Thank you everyone.  I'm sorry I missed new procedure.

 

Everything is working.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...