Jump to content

MBS 3.0.5167.42090 running as a service.


Recommended Posts

Posted (edited)

When I run the latest build as a service it doesn't seem to want to load.  Here is the log file.

 

2014-02-24 00:16:33.1552 Info - Main: Media Browser Server started
2014-02-24 00:16:33.1931 Info - Main: Command line: C:\Users\aaron\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe -service
2014-02-24 00:16:33.1931 Info - Main: Server: SERVER-1
2014-02-24 00:16:33.1931 Info - Main: Operating system: Microsoft Windows NT 6.2.9200.0
2014-02-24 00:16:33.1931 Info - Main: Program data path: C:\Users\aaron\AppData\Roaming\MediaBrowser-Server
2014-02-24 00:16:33.1931 Info - Main: Application Path: C:\Users\aaron\AppData\Roaming\MediaBrowser-Server\system\MediaBrowser.ServerApplication.exe

 

 

I do get this in a file called unhandled_(Long string of numbers)Object reference not set to an instance of an object.

System.NullReferenceException
   at MediaBrowser.Common.Implementations.BaseApplicationHost`1.Dispose(Boolean dispose)
   at MediaBrowser.ServerApplication.MainStartup.OnServiceShutdown()
   at MediaBrowser.ServerApplication.MainStartup.service_Disposed(Object sender, EventArgs e)
   at System.ComponentModel.Component.Dispose(Boolean disposing)
   at System.ServiceProcess.ServiceBase.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at System.ServiceProcess.ServiceBase.Run(ServiceBase[] services)
   at System.ServiceProcess.ServiceBase.Run(ServiceBase service)
   at MediaBrowser.ServerApplication.MainStartup.StartService(ILogManager logManager)
   at MediaBrowser.ServerApplication.MainStartup.RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, Boolean runService)
   at MediaBrowser.ServerApplication.MainStartup.Main()

 

If I just start it from the icon it seems to load just fine.  For now I have just loaded from the icon to allow it to complete the First Scan and I'll see what happens after.

Edited by Logos302
Posted

I am experiencing the exact same behaviour!

 

As additional information:

 

- the "unhandled_(Long string of numbers).log" file is created when you stop the service

- when the service seems to be in a running state the http port is not "listening"

- sometimes when you stop the service the .exe doesn´t really close and you have to kill it manually via task manager

 

Cheers

Posted

Thanks. Will look into this. Just use the tray for now.

Posted

I´m a happy camper! Seems to be fixed with V3.0.5168.16132  :)

 

Thanks Luke!

 

Cheers

/Jens

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...