Client crashing when entering live TV - logs attached (1 Viewer)

ben1210

MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Please advise - reset both server and client and still cant get the client to connect the TV server
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hi,

    your TVSeriesDatabase4.db3 seems to be broken. Try to make a backup and remove it to check if it helps.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    This worked.

    This database has broken a few times. Is there any way to protect against it breaking?

    Should I not use TV Series and try something else?

    Any help greatly appreciated, trying really hard with MP, but its just problem after problem, want it to work, thanks
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Hi, this has happened again on 2 clients today. Any one provide any help to prevent this happening again?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    It looks like you're not closing down MP cleanly:
    [2014-04-09 09:01:34,696] [Log ] [MPMain ] [WARN ] - tvhome:startplay. Phase 2 - 2769 ms - Done starting g_Player.Play()
    [2014-04-09 09:01:34,718] [Log ] [MPMain ] [WARN ] - TVHome.OnClicked(): Total Time - 3384 ms
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 200 (window property: lblDate)
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 201 (window property: lblTime)
    [2014-04-09 09:07:13,292] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Using Directories:

    ...and then it starts:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database: TVSeriesDatabase4.db3
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:

    Same the other day:
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - loaded 3 tv groups
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD done
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-07 19:07:42,863] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!

    You have to close stuff down cleanly, otherwise expect open files to have the possibility of being corrupted.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    It looks like you're not closing down MP cleanly:
    [2014-04-09 09:01:34,696] [Log ] [MPMain ] [WARN ] - tvhome:startplay. Phase 2 - 2769 ms - Done starting g_Player.Play()
    [2014-04-09 09:01:34,718] [Log ] [MPMain ] [WARN ] - TVHome.OnClicked(): Total Time - 3384 ms
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 200 (window property: lblDate)
    [2014-04-09 09:01:45,078] [Log ] [MPMain ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\myHome.xml' is missing control id 201 (window property: lblTime)
    [2014-04-09 09:07:13,292] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!
    [2014-04-09 09:07:13,308] [Log ] [MPMain ] [INFO ] - Main: Using Directories:

    ...and then it starts:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database: TVSeriesDatabase4.db3
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
    [2014-04-09 09:07:18,083] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:

    Same the other day:
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - loaded 3 tv groups
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD
    [2014-04-07 19:05:45,637] [Log ] [MPMain ] [INFO ] - tv home init:BBC One HD done
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: MediaPortal v1.6.0.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Build: 1.6.0.0
    [2014-04-07 19:07:42,848] [Log ] [MPMain ] [INFO ] - Main: Minimum number of worker threads to 4/2
    [2014-04-07 19:07:42,863] [Log ] [MPMain ] [INFO ] - Main: Last install from WindowsUpdate is dated NEVER !!!

    You have to close stuff down cleanly, otherwise expect open files to have the possibility of being corrupted.

    Thanks for the response.

    If you are saying that I should be stopping the TV service, going back to MP home and then pressing standby - that is what I do every time. I'm very careful to do this, I dont even Standby with TV service on. I think if you can see any examples of a reset whilst in use (non clean close), I'd only do that if if there is a screen freeze/crash.

    This happens too often to me. There must be something not right with my config. I'll re-enable TV series on both clients and monitor the situation, any re-occurance of the issue, I'll post logs.

    I'm no programmer but is there no way of having a 'fall back' DB. Why not lock the DB and having a copy DB being used as live and thus any corruption you could automatically go back to original copy. How would the likes of Sky Box deal with a sudden power off?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    If you are saying that I should be stopping the TV service, going back to MP home and then pressing standby - that is what I do every time. I'm very careful to do this, I dont even Standby with TV service on. I think if you can see any examples of a reset whilst in use (non clean close), I'd only do that if if there is a screen freeze/crash.
    I'm saying it has nothing to do with the TV service and everything to do with how you're going into standby. Maybe I'm wrong as I'm not an expert with stuff, but that is my read on it.

    This happens too often to me. There must be something not right with my config.
    I agree there... but not necessarily your MP config.

    How are you handling standby + resume?

    I'm no programmer but is there no way of having a 'fall back' DB.
    Point is that there shouldn't be a need for it.

    Why not lock the DB and having a copy DB being used as live and thus any corruption you could automatically go back to original copy. How would the likes of Sky Box deal with a sudden power off?
    I don't know how a Sky box works, but PCs are not Sky boxes and with all due respect you can't treat them that way. There is a procedure for recovering SQLite databases... but again I don't think this should be happening if you've configured power management properly.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    If I wasn't clear previously...
    The fact that you're not able to start live TV when this problem occurs is for all intents and purposes irrelevant. The problem is client side and nothing specifically to do with the TV functionality. MediaPortal gets locked up trying to open/close a corrupt database. In my opinion the database is prone to corruption because it is not closed or saved to disk before the PC enters standby.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Thanks for the responses. It makes sense what you say.

    Maybe I need to look in detail at Power Management - I have never used the PowerSchedular plugin.

    The way I go into standby is to finish any media that is playing, return to the MP home page and press standby on the remote - same process for all three clients. The screen then fades to black and PC goes into sleep mode. To wake the PCs straight into MP I press Standby or OK on the remote.
     

    ben1210

    MP Donator
  • Premium Supporter
  • September 2, 2012
    191
    25
    Home Country
    United Kingdom United Kingdom
    Just to go back on the broken TVSeriesDatabase4.db3 issue. As I was updating to 1.7.1 hotfix I just deleted all the TVSeriesDatabase4.db3 files in c drive. I had to then re-configure the file paths in My TV Series config and run the import again - all has been fine since so far
     

    Users who are viewing this thread

    Similar threads

    Strange ...
    Strange ...
    Updated MP client from 1.29 to 1.32. Kept Titan skin same as previously; very standard no Extended etc (afaik). The TV menu item...
    Replies
    5
    Views
    1K
    Nice you could resolve the issue!
    Nice you could resolve the issue!
    I have MediaPortal 2.5 Server installed on one computer and Mediaportal 2.5 client on another. The client is connected to the...
    Replies
    6
    Views
    566
    TVE 3,5 as you noticed in my other Thread.
    TVE 3,5 as you noticed in my other Thread.
    Hello Folks, Although the New MediaPortal Version 2.5 looks great so far, it seems that it still has major Bugs? I created a...
    Replies
    2
    Views
    458
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is completey broken with NET4 and NET6 :( Neither an existing profile can be selected nor a new one can be created.
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is...
    Description: Hi there. First of all, I appreciate all the effort in MediaPortal 2 release 2.5 - visible changes look great (eg...
    Replies
    1
    Views
    526
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live stream from server to MP. If anyone has a similar problem - disable all old plugins and then enable one after another :-)
    It's working after some hours search: the Auto3D plugin which I haven't used for years was corrupting the start of the TV live...
    After using MP for more than 10 years with regularly updates - this is the first time that after an update MP is not working...
    Replies
    3
    Views
    1K
    Top Bottom