1.32 MP randomly crash (2 Viewers)

cerberus

Portal Pro
October 18, 2008
400
15
BW
Home Country
Germany Germany
Good Morning

I tried with version 1.34 and even with that the TV configuration can no longer be started. Apparently I'm not the only one with this problem either. Is there still any solution that allows MP to continue to operate?

[ INFO] MediaPortal TV Server / Client x86 installation
[ INFO] Logging started: 24.06.2024 08:23:09
[ INFO] installer version: 1.34.000.0
[ INFO] ============================================================================================
[ DEBUG ] FUNCTION .onInit
[ INFO] .: Microsoft .Net Framework Check :.
[ INFO] .Net 3.5 installed? 1
[ INFO] .Net 3.5 ServicePack: 1
[ INFO] ============================
[ INFO] .: Microsoft .Net Framework Check :.
[ INFO] ============================
[ DEBUG ] commandline parameters: /S /noServer /DeployMode --DeployMode /UpdateMode
[ INFO] TVServer/Client installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server
[ INFO] MediaPortal installation dir found: C:\Program Files (x86)\Team MediaPortal\MediaPortal
[ERROR !!!] Loading MediaPortalDirectories from MyDocs failed. ('C:\Users\cyberdok\Documents\Team MediaPortal\MediaPortalDirs.xml')
[ INFO] Trying to load from installation directory now.
[ INFO] Loaded MediaPortalDirectories from InstallDir successfully. ('C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortalDirs.xml')
[ INFO] Installer will use the following directories:
[ INFO] Base: C:\Program Files (x86)\Team MediaPortal\MediaPortal
[ INFO] Config: C:\ProgramData\Team MediaPortal\MediaPortal
[ INFO] Plugins: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins
[ INFO] Log: C:\ProgramData\Team MediaPortal\MediaPortal\Log
[ INFO] Skin: C:\ProgramData\Team MediaPortal\MediaPortal\Skin
[ INFO] Language: C:\ProgramData\Team MediaPortal\MediaPortal\Language
[ INFO] Database: C:\ProgramData\Team MediaPortal\MediaPortal\Database
[ INFO] Thumbs: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs
[ INFO] Cache: C:\ProgramData\Team MediaPortal\MediaPortal\Cache
[ DEBUG ] FUNCTION .onSelChange
[ INFO] Prepare installation...
[ INFO] Backup Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)
[ INFO] Backup Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal\Gentle.config)
[ DEBUG ] SecPrepare: DeployMode = 1 | UpdateMode = 1
[ INFO] TVClient component will be installed soon. (/noServer was used)
[ INFO] TVServer component is already installed.
[ INFO] --> Means it is a SingleSeat installation.
[ INFO] --> Means TVServer was already updated.
[ INFO] ==> TVServer/Client won't be uninstalled.
[ INFO] Installing MediaPortal TV Client plugin...
[ INFO] Terminating processes ...
[ INFO] KillProcess: MediaPortal.exe
[ INFO] KillProcess: MediaPortal.exe is not running.
[ INFO] KillProcess: configuration.exe
[ INFO] KillProcess: configuration.exe is not running.
[ INFO] MediaPortal Installed at: C:\Program Files (x86)\Team MediaPortal\MediaPortal
[ INFO] MediaPortalPlugins are at: C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins
[ INFO] Doing post installation stuff...
[ INFO] Setting AccessRights to ProgramData dir and reg keys
[ INFO] Restore Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal TV Server\Gentle.config)
[ INFO] Restore Gentle.Config (C:\ProgramData\Team MediaPortal\MediaPortal\Gentle.config)
[ DEBUG ] FUNCTION .onInstSuccess
[ INFO] ============================================================================================
[ INFO] Logging stopped: 24.06.2024 08:23:15
[ INFO] installer version: 1.34.000.0
[ INFO] MediaPortal TV Server / Client x86 installation

[2024-06-24 08:23:40,926] [Log ] [SetupTv ] [INFO ] - ---- SetupTv x86 v1.34.000.0 is starting up on Windows 7 Professional (Service Pack 1) x64 [6.1.7601.65536]
[2024-06-24 08:23:40,926] [Log ] [SetupTv ] [INFO ] - Windows Media Player: [12.0.7601.24499]
[2024-06-24 08:23:40,926] [Log ] [SetupTv ] [INFO ] - ---- check connection with database ----
[2024-06-24 08:23:40,973] [Log ] [SetupTv ] [DEBUG] - ServiceHelper: TVServer - Dependencies: RpcLocator
[2024-06-24 08:23:40,973] [Log ] [SetupTv ] [INFO ] - MySQL: Use the old connection string.
[2024-06-24 08:23:41,098] [Log ] [SetupTv ] [INFO ] - SetupDatabaseForm: DB service name not recognized - using defaults [MariaDB]
[2024-06-24 08:23:41,098] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----
[2024-06-24 08:23:41,098] [Log ] [SetupTv ] [INFO ] - MySQL: Use the old connection string.
[2024-06-24 08:23:41,129] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----
[2024-06-24 08:23:41,129] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----
[2024-06-24 08:23:41,254] [Log ] [SetupTv ] [DEBUG] - RemoteControl: RegisterChannel first called in Domain SetupTv.exe for thread SetupTv with id 1
[2024-06-24 08:23:42,299] [Log ] [SetupTv ] [INFO ] - Set loglevel to: Error
 

cerberus

Portal Pro
October 18, 2008
400
15
BW
Home Country
Germany Germany
Anwendung: SetupTv.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: Gentle.Common.GentleException
bei Gentle.Common.Check.FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String)
bei Gentle.Common.Check.Fail(System.Exception, Gentle.Common.Error, System.Object[])
bei Gentle.Framework.GentleAnalyzer.UpdateObjectMap(Gentle.Framework.ObjectMap)
bei Gentle.Framework.ObjectFactory.ConstructMap(Gentle.Framework.PersistenceBroker, System.Type)
bei Gentle.Framework.ObjectFactory.GetMap(Gentle.Framework.PersistenceBroker, System.Type)
bei Gentle.Framework.SqlBuilder..ctor(Gentle.Framework.IGentleProvider, Gentle.Framework.StatementType, System.Type, Gentle.Framework.LogicalOperator)
bei Gentle.Framework.PersistenceBroker.GetRetrieveListStatement(System.Type, Gentle.Framework.Key)
bei Gentle.Framework.PersistenceBroker.RetrieveList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Gentle.Framework.Key, System.Collections.Generic.IList`1<System.__Canon>, System.Data.IDbConnection, System.Data.IDbTransaction)
bei Gentle.Framework.PersistenceBroker.RetrieveList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Gentle.Framework.Key, System.Collections.Generic.IList`1<System.__Canon>)
bei Gentle.Framework.Broker.RetrieveList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Gentle.Framework.Key, System.Collections.Generic.IList`1<System.__Canon>)
bei TvDatabase.Card.ListAll()
bei SetupTv.Startup.Main(System.String[])
 

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,913
    10,950
    Kyiv
    Home Country
    Ukraine Ukraine
    @cerberus Some strange behavior... If I run SetupTV now and configure it, it still doesn't work?
     

    cerberus

    Portal Pro
    October 18, 2008
    400
    15
    BW
    Home Country
    Germany Germany
    Very unfortunate. It looks like the time has come to say goodbye. Too sad.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,913
    10,950
    Kyiv
    Home Country
    Ukraine Ukraine
    Very unfortunate. It looks like the time has come to say goodbye. Too sad.
    Why say goodbye right away? You have an outdated operating system, 1.34 Final, it should work completely like 1.33 and earlier, i.e. without a single change in terms of interaction between TV Server and SQL Server.
    Judging by the log, this is the case, but there is also an error that only occurred when switching to MariaDB (but this transition is not possible for you on Windows 7).
    Therefore, you need to find the cause and fix it.
    Is TV Server installed?
    Which SQL Server do you have?
    What happens when you run SetupTV?
     

    cerberus

    Portal Pro
    October 18, 2008
    400
    15
    BW
    Home Country
    Germany Germany
    Windows 7 is still officially supported by MP. There are no drivers for the TV cards used that work under Windows 10.

    And from version 1.32 there must have been a change. In any case, TV setup no longer starts, see Windows log entry from my previous post. There are others in the German forum who have this problem.

    I've already tried a few things. The MySQL 5.6 DB is fine and can also be used via shell. According to the MP Wiki, this should also be supported. I also checked my login.
     

    Pablik

    Development Group
  • Team MediaPortal
  • August 19, 2010
    686
    1,108
    Home Country
    Czech Republic Czech Republic
    Hi,
    in v1.33 there is a database upgrade by adding 'symbolRateMultiplier' column to the table name 'card' of the 'mptvdb' database.
    It seems, that under certain condition the upgrade somehow doesn't alter the table. I couldn't reproduce this behaviour by myself.
    Please, try to install MySQL Workbench 8.0 (mysql-workbench-community-8.0.34-winx64.msi). This is a MySQL GUI database manager. After installing:
    • stop the service 'TVservice' if running
    • connect to the local database from MySQL Workbench
    • under schemas there will be 'mptvdb'
    • check the table 'card' for columns and for presence of 'symbolRateMultiplier' (int(11))
    • if the column is missing, then check the table 'version': right click and select 'Select Rows - Limit 1000'
    • in the result window there will be one row with value 'versionNumber' set to 62
    • you have to modify the value back to 61: this will trigger the database upgrade to 62 again when you start the TVSetup
    PS: if you have trouble with running the Workbench by missing 'api-ms-win-core-path-l1-1-0.dll', you can use the dll from the attached file
     

    Attachments

    • api-ms-win-core-path-blender-0.3.1.zip
      92.7 KB
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,913
    10,950
    Kyiv
    Home Country
    Ukraine Ukraine
    Windows 7 is still officially supported by MP.
    Yes
    And from version 1.32 there must have been a change. In any case, TV setup no longer starts, see Windows log entry from my previous post.
    I see, but this information does not give me an understanding of why the TV Server does not start.
    I've already tried a few things. The MySQL 5.6 DB is fine and can also be used via shell. According to the MP Wiki, this should also be supported.
    Yes, supported ...

    What happens when you launch Setup TV?
     

    cerberus

    Portal Pro
    October 18, 2008
    400
    15
    BW
    Home Country
    Germany Germany
    @ajs thanks for the motivation
    @Pablik That was the error. After resetting the version number and starting the TV service, the TV config started again immediately. Thx alot!
     

    Attachments

    • Screenshot 2024-06-24 131536.jpg
      Screenshot 2024-06-24 131536.jpg
      139 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,913
    10,950
    Kyiv
    Home Country
    Ukraine Ukraine
    After resetting the version number and starting the TV service, the TV config started again immediately
    It's very strange, the log says that the upgrade is not needed, but in the end it turned out that it is needed, at some point the database upgrade did not go through. But this is not in the information above (only that everything is fine).
    Code:
    [2024-06-24 08:23:41,098] [Log ] [SetupTv ] [INFO ] - ---- check if database needs to be updated/created ----
    [2024-06-24 08:23:41,098] [Log ] [SetupTv ] [INFO ] - MySQL: Use the old connection string.
    [2024-06-24 08:23:41,129] [Log ] [SetupTv ] [INFO ] - ---- upgrade database schema ----
    [2024-06-24 08:23:41,129] [Log ] [SetupTv ] [INFO ] - ---- check if tvservice is running ----
     

    Users who are viewing this thread

    Top Bottom