Database: Refactor MP1 database for multi seat usage (3 Viewers)

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    2,465
    1,488
    Southampton
    Home Country
    United Kingdom United Kingdom
    unzipped all files to a folder "Refactory", opened that folder, ran "RefactorMediaPortal.bat" as admin.
    So were you using Windows Explorer and right-clicking the BAT file to select "Run as Administrator"?

    I opened a command window with admin privileges, used CHDIR commands to navigate from the root folder to the folder containing the update files, typed in the name of the BAT file, and pressed the RETURN key.

    -- from CyberSimian in the UK
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,465
    1,488
    Southampton
    Home Country
    United Kingdom United Kingdom
    unzipped all files to a folder "Refactory", opened that folder, ran "RefactorMediaPortal.bat" as admin.
    If it fails again, I would suggest using Notepad (or your favourite editor) to modify the BAT file and change the first line to:
    @echo on
    This will display each line as it is executed, and may give a clue as to the cause of the problem.

    -- from CyberSimian in the UK
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    13,660
    9,861
    Königstein (Taunus)
    Home Country
    Germany Germany
    Well, here we go:
    Finally the refactor bat copied all files correct (y)
    I see the new databases (Y)
    BUT: In MP GUI, there is the spinning wait cursor, and the new databases aren´t filled at all:
    VideoDatabaseV6.db3 stays at 376 KB,
    MusicDatabaseV15.db3 stays at 292 KB
    So the same issue that @CyberSimian experiences :oops:
     

    Attachments

    • MediaPortal.log
      2.1 MB

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    516
    281
    Home Country
    United Kingdom United Kingdom
    So the same issue that @CyberSimian experiences :oops:
    So, we know that it's not anything to do with CyberSimian's set-up - which is good news to me because that would have been weird.

    But I am stumped as to why Entity Framework is not working properly. I'll continue looking for an answer to that but I think it best that we abandon the refactoring option until that is sorted.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    516
    281
    Home Country
    United Kingdom United Kingdom
    I opened a command window with admin privileges, used CHDIR commands to navigate from the root folder to the folder containing the update files, typed in the name of the BAT file, and pressed the RETURN key.
    Would you please try copying the attached files to the folder containing the refactor update files - overwriting the existing files. Then run the BAT file.

    Please let me know if it makes any difference? I've added an Entity Framework section to the config files that I don't appear to need but may help at your end.
     

    Attachments

    • Configs.zip
      2.3 KB

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,465
    1,488
    Southampton
    Home Country
    United Kingdom United Kingdom
    Would you please try copying the attached files to the folder containing the refactor update files - overwriting the existing files. Then run the BAT file.
    Umm. Well it does make a difference -- Windows displays the "MediaPortal has stopped working" pop-up when I click on the MP shortcut on the desktop (screen shots included in the zip file).

    I deleted the existing databases before starting MP, and checked after exiting the pop-up. The folder was empty, so the new default databases had not been created.

    Looking in the MP log file there are various lines claiming that the Music, Picture, and Video databases have been created, but later on in the log the error that we had before occurs.

    -- from CyberSimian in the UK
     

    Attachments

    • dblog4.zip
      198.1 KB

    Users who are viewing this thread

    Similar threads

    Hi, must be really a while, cuz I can not remember any post from you ;) But might be also that I joined the team too late. Yes, there will be many things. Main reason is simply, that MP2 is not developed based on MP1. I for example never used MP1. I tried it lately to test voice control and was shocked about many inconsistancies in...
    Hi, must be really a while, cuz I can not remember any post from you ;) But might be also that I joined the team too late. Yes...
    It´s been a while... :) Well, simply the reason is cause MP1 was working so well... :) Now I decided to upgrade my old servers and...
    Replies
    1
    Views
    976
    MP1 MP2 To NAS or not? DE
    What would the best alternative be if this doesn't work fluidly?
    What would the best alternative be if this doesn't work fluidly?
    Recently my main SSD on my HTPC died, taking away the main OS and MP along with it. How I was using it was to store the media...
    Replies
    17
    Views
    930
    Then you didn’t use Nereus Skin in MP2. tMM does a great job in combination with MP2 it’s the best, if you ask me.
    Then you didn’t use Nereus Skin in MP2. tMM does a great job in combination with MP2 it’s the best, if you ask me.
    I have been a relatively happy user of MP1 for quite a while. My setup is a dedicated HTPC connected to my TV, a TV capture device...
    Replies
    8
    Views
    1K
    Ok, the importer also remembers the queue of items that are still needed to be processed in settings file. If there is something stuck, it will try again on next server start and probably stuck again. But removing the media source also removes the associated queue. The server's TV plugin automatically creates the media sources for...
    Ok, the importer also remembers the queue of items that are still needed to be processed in settings file. If there is something...
    Hi, I’ve been struggling with MP 2 now for several weeks. Initially all was fine. Then in the client, the listings of recorded TV...
    Replies
    8
    Views
    1K
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
    We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
    Replies
    4
    Views
    4K
    Top Bottom