Boot fail: hangs at LibreELEC beta splash screen [LE 7.95.2]

  • Kodi splash screen never appears
    gdb terminates & restarts every few seconds in endless loop
    issue was seen on Pi v3 and Play v1

    some possibly relevant dmesg excerpts...

    note: last 3 lines in code box above repeat continuously


  • Do a clean install?

    oh I see, its an in-Kodi issue then, not a shell script error

    kodi.log says

    Code
    21:51:08.843 T:3036082176  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
    21:51:08.844 T:3036082176  NOTICE: Loaded playercorefactory configuration
    21:51:08.844 T:3036082176  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
    21:51:08.844 T:3036082176  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
    21:51:08.878 T:3036082176   ERROR: SQL: [Addons27.db] SQL error or missing database
                                                Query: SELECT idVersion FROM version

    so here is the problem:
    /storage/.kodi/userdata/Database/Addons27.db was zero length

    deleted it via SCP and Kodi recreated it immediately by copying Addons26.db to Addons27.db like it should

    then Kodi finished loading right away
    so... database migration error then. whys it only fail on some systems and not others though?

    in any case you can trap this, right?

    If Addons27.db = 0 bytes at launch -and- Addons26.db = nonzero, delete/recreate Addons27.db

    Edited once, last by LE23 (February 10, 2017 at 9:56 PM).


  • Like it should? I'm guessing Addons27.db will have changes compared to its previous version.

    yeah, I meant to say "migrate" like it should rather than copy, cause YES, it's not necessarily gonna be an exact copy -- I got that, okay?

    Quote


    just delete Addons27.db so Kodi can upgrade via the normal upgrade procedure.

    That is exactly what happened. I do believe I said that clearly enough:

    "deleted it via SCP and Kodi recreated it"

    If Kodi recreated it, and that can only occur through auto-migration, it should be obvious the upgrade took place as designed. My question is why did it fail in the first place. If you don't know, consider it a rhetorical question - just something for devs to be aware of. I really did not need to post my solution at all, just trying to help the other guys with the same problem.

  • Posting Kodi crash log regarding original update failure

    Edited once, last by LE23 (February 11, 2017 at 11:10 AM).