Jump to content

Log stops working


raptorjr

Recommended Posts

raptorjr

I'm having so many problems now with EMby that it isn't fun anymore. Things that should be basic and just be working.

 

But I like the community. Even though I poorly written questions, probably in pretty bad english, I still get answers and people that try to help. I'm just itching to be a lifetime member of the Emby community, but first I need all the basic things working. Automatic metadata, automatic collections to name a few. But the first thing, to be able to find out what is wrong i need a working log, so I can see what the problem is. Maybe I have permission issues?

 

Since the community have had patience with my questions I will try to have patience with Emby and figure out these problems.

 

So we start with the log problem. After som help I've found the logs in the Help section, and I have the same logs in mediabrowser/logs. The problem is this:

 

The last time I started Emby was:

2015-05-13 14:21:34.3605 Info - Main: Emby	Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /media/multimedia/mediabrowser	Operating system: Unix 3.13.0.49	Processor count: 2	64-Bit OS: True	64-Bit Process: True	Program data path: /media/multimedia/mediabrowser	Mono: 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1.1)	Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe2015-05-13 14:21:34.6862 Info - App: Application version: 3.0.5610.31876

5 minutes later:

2015-05-13 14:26:17.0043 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 6.303 ms.	Url: http://127.0.0.1:8096/web/support.html

And that is all she wrote, nothing more in the logs. And Emby has been running since. I still have debug logging enabled. It is hard to see why other things fail when I dont get any log output. Is there some kind of log limit that I should be aware of? Do I have to restart Emby regularly to have logs?

 

This is so basic that it should just work. I'm thinking that I'm doing something wrong.

Link to comment
Share on other sites

raptorjr

Since I can't get anything to work I thought I would try the beta ppa. (And I thought I would get the latest Emby also, 3.0.5621, but i didn't?)

 

Anyway, even though I haven't made any changes, my whole library is gone from Emby. The folder is still present in the library section, but a scan of the library takes less than a second.

I thought I would be smart this time and start Emby manually so I could see everything that was happening, to try to find the error.

 

Started Emby with:

sudo -u emby mono /opt/emby/MediaBrowser.Server.Mono.exe -programdata /media/multimedia/emby/

 

Got the output below, and then nothing more. No matter what I do in Emby i can't get more log output. And I have debug logging enabled.

What am I doing wrong? It is so hard to try to find the problems, and maybe bugs, when there is no output to tell me what went wrong.

Info, Main, Emby
        Command line: /opt/emby/MediaBrowser.Server.Mono.exe -programdata /media/multimedia/emby/
        Operating system: Unix 3.13.0.52
        Processor count: 2
        64-Bit OS: True
        64-Bit Process: True
        Program data path: /media/multimedia/emby/
        Mono: 4.0.1 (tarball Tue May 12 18:04:15 UTC 2015)
        Application Path: /opt/emby/MediaBrowser.Server.Mono.exe
appHost.Init
Info, App, Application version: 3.0.5607.2
Info, App, Application configuration:
        {"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":false,"EnableUserSpecificUserViews":true,"EnableInternetProviders":true,"IsPortAuthorized":true,"ItemsByNamePath":"","MetadataPath":"","SeasonZeroDisplayName":"Specials","SaveLocalMeta":true,"EnableLocalizedGuids":true,"EnableLibraryMetadataSubFolder":true,"PreferredMetadataLanguage":"en","MetadataCountryCode":"SE","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeLibraryMonitorDelay":40,"EnableDashboardResponseCaching":false,"EnableDashboardResourceMinification":false,"DashboardSourcePath":"","MergeMetadataAndImagesByName":true,"EnableStandaloneMetadata":true,"ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Series","ImageOptions":[{"Type":"Backdrop","Limit":2,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableAutomaticRestart":true,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"ServerName":"MediaDator","UICulture":"en-us","PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"FindInternetTrailers":true,"InsecureApps9":["Chromecast","iOS","Unknown app","iPad","iPhone","Windows Phone"],"SaveMetadataHidden":false,"ContentTypes":[],"EnableAudioArchiveFiles":false,"EnableVideoArchiveFiles":false,"RemoteClientBitrateLimit":0,"EnableDebugLevelLogging":true,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"CachePath":"","EnableCustomPathSubFolders":true}
Info, App, Loading AutoBoxSets, Version=1.0.0.7, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Api, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Model, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Controller, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Providers, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.MediaEncoding, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Dlna, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.LocalMetadata, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.XbmcMetadata, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Mono, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, App, Loading MediaBrowser.Server.Startup.Common, Version=3.0.5607.2, Culture=neutral, PublicKeyToken=null
Info, SqliteUserRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/users.db
Info, SqliteItemRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/chapters.db
Info, SqliteItemRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/mediainfo.db
Info, SqliteFileOrganizationRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/fileorganization.db
Info, AuthenticationRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/authentication.db
Info, SyncRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/sync14.db
Info, ImageMagick, ImageMagick version: ImageMagick 6.9.0-10 Q8 x86_64 2015-03-19 http://www.imagemagick.org
Info, ImageProcessor, ImageProcessor started with 4 max concurrent image processes
Info, App, FFMpeg: /media/multimedia/emby/ffmpeg/20150331/ffmpeg
Info, App, FFProbe: /media/multimedia/emby/ffmpeg/20150331/ffprobe
Info, ActivityRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/activitylog.db
Info, SqliteDisplayPreferencesRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/displaypreferences.db
Info, SqliteItemRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/library.db
Info, SqliteProviderInfoRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/refreshinfo.db
Info, SqliteUserDataRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/userdata_v2.db
Info, SqliteNotificationsRepository, Sqlite 3.8.2 opening /media/multimedia/emby/data/notifications.db
Info, HttpServer, Calling ServiceStack AppHost.Init
Info, ServiceStackHost, Initializing Application took 4408.784ms
Info, ServerManager, Loading Http Server
Info, HttpServer, Adding HttpListener prefix http://+:8096/
Info, HttpServer, Adding HttpListener prefix https://+:8920/
Info, HttpServer, attempting to load pfx: /media/multimedia/emby/ssl/cert_9c31b7884ea5475c8687970fc5996297.pfx
Running startup tasks
Info, App, Core startup complete
Debug, PortMapper, Starting NAT discovery
Debug, PortMapper, NAT device found: 192.168.1.1
Debug, PortMapper, Creating port map on port 8096
Debug, HttpServer, HTTP SUBSCRIBE http://192.168.1.10:8096/dlna/68e3d4a98c4f85658ad9acdce1a5f721/connectionmanager/events
        Ip: 192.168.1.191:46808. Headers: HOST=192.168.1.10:8096,CALLBACK=<http://192.168.1.191:48373/>,NT=upnp:event,TIMEOUT=Second-1800
Debug, UpnpConnectionManager, Creating event subscription for upnp:event with timeout of 1800 to <http://192.168.1.191:48373/>
Debug, HttpServer, HTTP Response 200 to 192.168.1.191. Response time: 99.095 ms.
        Url: http://192.168.1.10:8096/dlna/68e3d4a98c4f85658ad9acdce1a5f721/connectionmanager/events
Debug, HttpServer, Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: db249349bb044c3ba1c29147d1347fb6
Info, App, HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3ServerNotifications.json
Debug, HttpServer, HTTP SUBSCRIBE http://192.168.1.10:8096/dlna/68e3d4a98c4f85658ad9acdce1a5f721/contentdirectory/events
        Ip: 192.168.1.191:46809. Headers: HOST=192.168.1.10:8096,CALLBACK=<http://192.168.1.191:48373/>,NT=upnp:event,TIMEOUT=Second-1800
Debug, UpnpContentDirectory, Creating event subscription for upnp:event with timeout of 1800 to <http://192.168.1.191:48373/>
Debug, HttpServer, HTTP Response 200 to 192.168.1.191. Response time: 2.667 ms.
        Url: http://192.168.1.10:8096/dlna/68e3d4a98c4f85658ad9acdce1a5f721/contentdirectory/events
Info, App, HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate
Info, App, HttpClientManager POST: https://connect.mediabrowser.tv/service/Servers?id=3eef7c37bc4191a42bae06aeef139650
Info, SsdpHandler, MultiCast socket created
Debug, SsdpHandler, Starting alive notifier
Debug, Dlna, Found interface: lo. Type: Loopback. Status: Unknown
Debug, Dlna, Found interface: eth0. Type: Ethernet. Status: Up
Debug, SsdpHandler, Registered mount 68e3d4a9-8c4f-8565-8ad9-acdce1a5f721 at http://192.168.1.10:8096/dlna/68e3d4a98c4f85658ad9acdce1a5f721/description.xml

Link to comment
Share on other sites

are you sure it's still running? it sounds like the whole server might be stopping for whatever reason.

Link to comment
Share on other sites

raptorjr

I can navigate the Emby interface in my browser, but I see nothing in the logs or console output. But when I started manually I got to think that maybe all output is redirected to the logs after the few first initializations?

 

When starting manually the console output stopped at different lines almost every time. The test before the one above it stopped at "Running startup tasks".

 

Tonight it had crashed, so I restarted it recently. Will see how long it works.

 

But I must say that it is working sometimes. But obviously not when I want to take a look to try to find the reason to some problem I have. =\

 

I appreciate the help I get even though I understand that it is hard with so little information.

Link to comment
Share on other sites

raptorjr

Well I dont know if I should give up on Emby, or maybe give up on Mono? Dont know where the problem is. But i'm guessing that Mono on Linux is the problem, because if Emby was this bad no one would use it.

 

Yesterday everything looked fine. Now my Movies and Collections is missing on the Home screen, and I only have Latest Media. So I thought maybe there was something wrong in the preferences for the user, but all I get there is a spinning wheel. I have no problem navigating the page, or going to the dashboard.

It also seems that a Refresh people task have stalled.

 

What is wrong? I don't know since the log stopped working 3am this night. The last rows in the log is about searching for people.

 

Where is the log for Mono? To see if there is any indication to what is wrong there.

 

If I only knew what to test I would gladly help to figure out if there is a bug somewhere. But I dont even know where to start to pinpoint the problem?

Link to comment
Share on other sites

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