MP2 Custom Install - Take 2 (1 Viewer)

breese

Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I cleaned up as much of the previous install as possible (I did save the 3+ Gig SQLite database file).
    Following the Wiki on how to do a custom install (Thank you chefkoch), I did a fresh install with everything pointing to f:\Applications\Team Mediaportal\
    The install went as expected but I have questions:

    I have my Windows 7 set to use r:\Windows\Temp for both c:\tmp and c:\temp
    In the MP2 install log is what appears to be a hard coded temp..
    Just to cover myself, I also have the temp directories for my user to r:\users
    SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSIF67E.tmp-\
    Is this because I have not installed the TV Card yet?
    PluginManager: Error building plugin item 'SeriesTvDbMatcher' at location '/Services'
    Just thought i would point this out because it did not showup as an error durring the install
    Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MediaPortal.Common.Exceptions.ServiceNotFoundException: Could not find the MediaPortal.Common.Threading.IThreadPool service
    Just so you know, these errored because I have firewall turned off. I have a seperate Nat/Proxy/Firewall server installed between my DSL and local WAN.
    ExecFirewallExceptions: Installing firewall exception2 MP2-Client TCP Domain (F:\Applications\Team MediaPortal\MP2-Client\MP2-Client.exe)

    I am going to hold of on any more changes until you all tell me if I can move forward with the rest of the Custom Install part of the Wike.
    Eventually I want to clean it all up again, do a standard install After I have done a seperate MySQL install. I have a web server that requires MySQL and I might as well see if the MP2 installer sees and uses it

    Questions, suggestions, anything else you want to test? just ask. (y)
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    MySQL and I might as well see if the MP2 installer sees and uses it
    The MP2 installer can not "see" MySQL. As Database provider SQLCE is always installed up to now. You manually have to change the provider to what you want to use after installation.
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    After looking at the Wki again for the Custom Install, I see the following
    [Could someone please check whether the following is true for ServiceMonitor? Idon't use it...]
    Does this answer the question?
    Service Monitor.jpg

    Server.jpg
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    I have a web server that requires MySQL and I might as well see if the MP2 installer sees and uses it
    I (and I expect the other team members as well) really appreciate all your testing efforts and it sends the focus to the installer, which means there are users caring about it. (y)
    Nevertheless, some things are known and as an example you don't need to to test the MySql detection or plugin installation. It won't be detected and the plugin won't be installed. This is just not implemented, yet. Sorry for this, but it's just not done yet. Seems I really should switch back my focus in the installer when I'll have the time to work on new things.
    In case there is anybody with WiX experience and interested to work on it, he/she is welcome to contact us :)

    But again, thanks for all your efforts and testing. Keep up tha good work (y)


    BTW: Does anybody know which file formats (audio/video) are supported by MP2 for playback, import and even detailed meta data detection ;) *wink*wink*

    Dammit, two Mass too much: did not noticed Lehmden's reply ;)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Ok, Help!
    Updated the client and server Paths.xml files
    I added the SQLite update (ever before starting the client).
    Went into the Client, connected to the server, added the Global share, Import started all byt itself
    Nothing in resource manger or the client logs indicated any thing happening.

    What did I do or not do?
    Yes, I only added the one line in Paths.xml for the global change
     

    Attachments

    • Client Paths.xml
      352 bytes
    • Server Paths.xml
      401 bytes

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    This is interesting. The database is working as expected, the share is registered, but the import doesn't start...
    I have no real idea, yet, where this comes from, but there is one thing I noticed:

    in the paths.xml of your server, you set your data path to:
    <Path value="F:\Applications\Team MediaPortal\MP2-Server" name="DATA"/>

    From your server log it seems that your application path is the same:
    [2013-10-07 17:54:36,756] [1470 ] [Main ] [DEBUG] - StringManager: Adding language directory 'F:\Applications\Team MediaPortal\MP2-Server\Plugins\AudioCDResourceProvider\Language'
    I don't know whether it is a good idea to have the executables in the same directory as the data. Could you try changing the data path slightly?

    e.g.
    <Path value="F:\Applications\Team MediaPortal\MP2-Server_Data" name="DATA"/>
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Well that got it started but it created new folders
    MP2-Client_Data
    MP2-Server_Data

    There is also a Pathxml for MP2-ServiceMonitor, should I have changed it also?

    Edit:
    I got it going.... Inside the Path.xml there are references with Application_Data I changed to DATA
    The scan started and it went back to updating the Client logs with music found.

    Problem (or not) instead of seeing the files being accessed in Resource Manager, I see multile DB -wal access. Good news, so far this configuration on my server appears to be Much Faster than on the c: SSD
     
    Last edited:

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    While the import did stop, I left it alone for awhile and it appears to have stopped on its own. Could not see any access to the music directory in the client logs or resource manager.
    A check with the shares screen in MP2 Client still had a status of Importing....
    All logs and path files are included and I checked the folders on c: from the install, there was no modifications to any of the log files/folders

    I am going to look around a bit more but am moving towards a uninstall, clean-up, reinstall custom.
    Suggestions?
     

    Attachments

    • Client Paths.zip
      336 bytes
    • Server Paths.zip
      346 bytes
    • ServiceMonitor Paths.zip
      383 bytes

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    Hi breese,

    I would not recommend to put data and executables into the same directory. This is not intended by MP2 nor by Windows itself. There should always be a certain distinction between data and executables. Usually executables are somwhere under "C:\Program Files (x86)" and data is somwhere under "C:\ProgramData". Your path.xml for MP2 Server now looks like:

    <Path value="F:\Applications\Team MediaPortal\MP2-Server" name="DATA"/>
    <Path value="<DATA>\Config" name="CONFIG"/>
    <Path value="<DATA>\Log" name="LOG"/>
    <Path value="<DATA>\Plugins" name="PLUGINS"/>
    <Path value="<DATA>" name="DATABASE"/>

    This means that MP2 Server looks for its plugins under "F:\Applications\Team MediaPortal\MP2-Server\Plugins". I assume that you also installed the main executables of MP2 Server to F:\Applications\Team MediaPortal\MP2-Server. Because this is also your data directory, you effectively mix up data with executables.

    Nevertheless, I am not sure why you think there is an error. Didn't you say that you made a backup of your 3GB database file? Is this database file now in F:\Applications\Team MediaPortal\MP2-Server? If so, all your data is already in the database - no need for an import anymore. But maybe I'm getting you wrong there...
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I am attempting to test the Custom install. Using my old database folder does not accomplish the test.
    I still do not understand why the scan for music did start but stoppe yet everything else indicated it was running.
     

    Users who are viewing this thread

    Top Bottom