[solved] MP 1.16.0 simply won't start - Logs are empty (Literally) (1 Viewer)

Steve.Rayner61

MP Donator
  • Premium Supporter
  • December 12, 2011
    93
    53
    58
    Perth - Western Australia
    Australia Australia
    Country flag
    Man o man, this is the worst MediaPortal week I've had in years!!!

    So, upgraded from 1.15.0 to 1.16.0 yesterday. All working no problem last night.

    Tonight, double-click on MediaPortal or MediaPortal Configuration and............................Nothing!! Literally, nothing. If I delete all the log files before I try to start MediaPortal, then watch the logs folder when I double-click on MediaPortal, I see the MediaPortal.log & MediaPortal-Error.log files created. MediaPortal never starts and the log files are empty.

    I've restarted a number of times, I've re-installed 1.16.0 over the top of the existing install. Other than completely uninstalling MP, then re-installing, which I really don't want to do, I'm at a loss.

    Windows 10 system.

    I searched the forum, but couldn't find anything like this?

    Ideas anyone?

    Cheers,
    Steve.
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    648
    281
    Leeds
    United Kingdom United Kingdom
    Country flag
    Hi Steve

    Have you tried starting MePo via "Mediaportal WatchDog" - although that you can't start Config suggests this may well not work, but............. if it does generate some logs, then you have a starting point(y)


    Also IF you do get the point of needing to reinstall - recommend keeping copy of "Program Data/Team Mediaportal/Mediaportal" - you can recover various databases, thumbs, skin mods, etc etc - MePo IS very forgiving in that area and can save a heap of time:cool:

    TTFN - JCMP.
     

    Steve.Rayner61

    MP Donator
  • Premium Supporter
  • December 12, 2011
    93
    53
    58
    Perth - Western Australia
    Australia Australia
    Country flag
    Hi Jim and many thanks.

    I did not realise that you could actually start MP from the watchdog, but doh! I guess that's what it's for :)

    So, what I get is an "Unhandled exception error ......Root element is missing" with the following details:
    ===============================================================================
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Xml.XmlException: Root element is missing.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at MediaPortal.Profile.XmlSettingsProvider..ctor(String xmlFileName)
    at MediaPortal.Profile.Settings..ctor(String fileName, Boolean isCached)
    at WatchDog.MPWatchDog.CreateTemporaryConfiguration()
    at WatchDog.MPWatchDog.LaunchMediaPortalAction()
    at WatchDog.MPWatchDog.ProceedButton_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1648.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    WatchDog
    Assembly Version: 1.16.0.0
    Win32 Version: 1.16.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/WatchDog.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1647.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Utils
    Assembly Version: 1.16.0.0
    Win32 Version: 1.16.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MediaPortal/Utils.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    ===============================================================================

    ...MediaPortal still never starts, and this time, no log files were created at all.

    Any clues here?

    Thanks for the advice to keep a copy of "Program Data/Team Mediaportal/Mediaportal". Very helpful :)

    Cheers,
    Steve.
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    648
    281
    Leeds
    United Kingdom United Kingdom
    Country flag
    Ok - what is in your "gentle.config" file, in "Program Data/Team Mediaportal/Mediaportal" , corruption of that could be your problemo_O

    If not, then don't despair, good chance one or more forum bods who really know their stuff will pitch in and try and help further(y)

    Cheers - JCMP
     

    Steve.Rayner61

    MP Donator
  • Premium Supporter
  • December 12, 2011
    93
    53
    58
    Perth - Western Australia
    Australia Australia
    Country flag
    Thanks again JCMP.

    Here are the contents of C:\ProgramData\Team MediaPortal\MediaPortal\Gentle.config:

    ===============================================================================
    <?xml version="1.0" encoding="utf-8"?>
    <Gentle.Framework>
    <!-- See the API documentation for the Gentle.Framework.GentleSettings class for
    detailed information on the keys available in the Options section -->
    <Options>
    <!-- the default timeout value in seconds for IDbCommand instances created by Gentle -->
    <CommandTimeout>30</CommandTimeout>
    <!-- whether to enable support for Gentle-managed concurrency control columns -->
    <ConcurrencyControl>false</ConcurrencyControl>
    <!-- options: Attributes or XML (XML currently unused) -->
    <MasterDefinition>Attributes</MasterDefinition>
    <Analyzer>
    <!-- options: None, OnDemand (the default), Full -->
    <Level>OnDemand</Level>
    <!-- whether to warn about unmapped columns and other non-fatal errors -->
    <Silent>false</Silent>
    </Analyzer>
    <Cache>
    <!-- default cache strategy (use only Never or Temporary) -->
    <DefaultStrategy>Temporary</DefaultStrategy>
    <CacheStatements>true</CacheStatements>
    <CacheObjects>true</CacheObjects>
    <!-- when true Gentle will try to bypass query execution and compose
    the result from cached data alone -->
    <SkipQueryExecution>true</SkipQueryExecution>
    <!-- the scope within which to ensure uniqing
    options: Thread (default), Application or WebSession -->
    <UniqingScope>Application</UniqingScope>
    </Cache>
    <Logging>
    <!-- This setting controls the lowest log level emitted. See the
    Verbosity enum for details on the available values. -->
    <Verbosity>Warning</Verbosity>
    <!-- Do not edit this unless you know what you're doing. This setting
    controls at what level error conditions are considered fatal. -->
    <Frailty>Warning</Frailty>
    <!-- Use values defined in the LogCategories enum to turn logging on/off
    for selected categories. The available values include:
    All (all categories)
    StatementExecutionRead (select statements)
    StatementExecutionWrite (insert/update/delete statements)
    StatementExecutionOther (any other kind of statement)
    StatementExecution (any kind of statement; same as all three groups above)
    Cache (cache accesses)
    Metadata (metadata updates)
    General (everything else) -->
    <!-- The following sample first disables all categories, then selectively
    turns on various subcategories -->
    <Category name="All" enabled="false" />
    <Category name="StatementExecution" enabled="false" />
    <Category name="Cache" enabled="false" />
    <Category name="Metadata" enabled="false" />
    </Logging>
    </Options>
    <!--
    <NamespaceProviders>
    <Namespace namespace="Gentle.First" provider="SQLServer" connectionstring="..." />
    <Namespace namespace="Gentle.Second" provider="SQLServer" connectionString="..." />
    </NamespaceProviders>
    -->
    <DefaultProvider name="MySQL" connectionString="Server=Media-Centre;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=30;" />
    <!--
    <DefaultProvider name="Firebird" connectionString="User=SYSDBA;Password=masterkey;Data Source=TvLibrary.fdb;ServerType=1;Charset=UNICODE_FSS;" />
    <DefaultProvider name="Jet" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Code\Gentle.NET\Source\Gentle.Framework.Tests\Database Files\Gentle_MSAccess.mdb;OLE DB Services=-1;" />
    <DefaultProvider name="MySQL" connectionString="Server=10.0.0.2;Database=test;User ID=xxx;Password=xxx" />
    <DefaultProvider name="PostgreSQL" connectionString="Server=10.0.0.2;Database=Test;User ID=xxx;Password=xxx" />
    <DefaultProvider name="Oracle" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" />
    <DefaultProvider name="OracleODP" connectionString="Data Source=kermit.symbiote.sporadicism.com,1521;User ID=gentle;password=xxx" />
    <DefaultProvider name="SQLite" connectionString="URI=file:c:/Code/Gentle.NET/Source/Gentle.Framework.Tests/Database Files/Gentle_SQLite.db" />
    <DefaultProvider name="SQLServer" connectionString="data source=127.0.0.1;initial catalog=Test;user id=xxx;password=xxx;packet size=4096" />
    -->
    <!-- IMPORTANT: You must uncomment ONLY the providers that you will be using. If a provider
    is defined below, but Gentle cannot find or load the associated library, an exception
    will most likely be raised! -->
    <Providers>
    <!-- list known provider assemblies; the assembly .dll suffix is optional -->
    <!-- Provider name="CE" assembly="Gentle.Provider.CE" /-->
    <!-- Provider name="Firebird" assembly="Gentle.Provider.Firebird" /-->
    <!-- Provider name="Jet" assembly="Gentle.Provider.Jet" /-->
    <Provider name="MySQL" assembly="Gentle.Provider.MySQL.dll" />
    <!-- Provider name="Oracle" assembly="Gentle.Provider.Oracle" /-->
    <!-- Provider name="OracleODP" assembly="Gentle.Provider.OracleODP" /-->
    <!-- Provider name="PostgreSQL" assembly="Gentle.Provider.PostgreSQL" /-->
    <!-- Provider name="SQLite" assembly="Gentle.Provider.SQLite" / -->
    <Provider name="SQLServer" assembly="Gentle.Provider.SQLServer" />
    <!-- Provider name="Sybase" assembly="Gentle.Provider.Sybase" / -->
    <!-- Provider name="SybaseASA" assembly="Gentle.Provider.SybaseASA" / -->
    </Providers>
    </Gentle.Framework>
    ===============================================================================

    Cheers,
    Steve.
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    648
    281
    Leeds
    United Kingdom United Kingdom
    Country flag
    Ok - so not that - bugger:(

    Sorry but your going to need more help than I can furnish:sick: but with a bit of luck, one of the chaps will be able to help PDQ.

    TTFN - JCMP

    PS - specs, easy to forgeto_O
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    @JimCatMP
    I think you're on the right track... ;)

    @Steve.Rayner61
    Please attach your c:\ProgramData\Team MediaPortal\MediaPortal\MediaPortal.xml file.
    I'm 90+% sure that file is corrupted.

    If one file has been corrupted, there may be more.
    Possible causes:
    • an unexpected power cut
    • force-powering-off your system
    • force-killing MediaPortal or MediaPortal Configuration
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    648
    281
    Leeds
    United Kingdom United Kingdom
    Country flag
    Cool - and could indeed be the issue here - my TVServer being a case in point, brown outs here are tedious and come in batches, TVServer has had to be rebuilt several times after Win7 lost the plot - so far so good on Win10, but not had a lot of brown in the last 6 months [touches wood, avoids ladders, walks under black cat {well, lists black cat over head:-}] etc etc......

    TTFN - JCMP
     

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,563
    1,288
    Germany Germany
    Country flag
    Man o man, this is the worst MediaPortal week I've had in years!!!
    Sorry you are having problems. As the guys mentioned your symptoms point to some corrupted files.
    You could try investigating that issue or you could try a clean re-install which ever works best for you.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    D Getting Started General Support 30
    horned_reaper [Music] 5012: Start current music track from the beginning Improvement Suggestions 21
    T [solved] Green Button start MP not working....but box ticked in config. General Support 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    ajs Trakt error when start with MP crash Trakt 1
    F Recording starts at second time only MediaPortal 1 Talk 6
    tano_grasa Movie cover not showing when starting a movie aMPed 0
    ajs [solved] 4982: Why this error hard stop when Mediaportal start? MediaPortal 1 3
    joecrow AMD Radeon Settings app. won't start after hibernation. General Support 0
    Icaro Close MP when the external player is started General Support 13
    M MP1 stops responding after Starting Plugins General Support 14
    joecool70 Fehlermeldung Error invoking action "Start Timeshift" Allgemeines Support- und Diskussionsforum 1
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    P [solved] MP2 fails to install: "Insufficient privileges to start services" General 11
    T MP bricht Videos und Serien beim Start ab. Allgemeines Supportforum 4
    D Enhance "wake on lan" feature (on demand, not on start) Feature Requests 6
    joecrow No Audio after MP Start/Resume from Sleep General Support 0
    K How to start Chrome or other programs MediaPortal 1 Talk 41
    R How to I get started with MP2? General 1
    squidina [solved] - MediaPortal 1.22 won't start even with new install General Support 4
    M App Icon starts Configuration Installation, configuration support 3
    O [solved] MP2.2.1 TV-Server Configuration wont start after initial installation General 10
    Terra Videos do not start playing on first attempt, always have to press play twice General Support 9
    Similar threads

























    Top Bottom