LE 11.01 Suddenly started booting to safe mode

  • Hey - here's my log https://paste.kodi.tv/misevoxone.kodi

    And the crashlog from the last time it was working https://paste.kodi.tv/ohazonizaf.kodi

    I've been running some of the nightly builds and then suddenly i turn on my Intel NUC and find that its booted into safe mode, and there's no way i can get it back to the main install. I haven't changed anything so it feels quite strange as it's been working brilliantly. I downgraded back to 11.01 and i'm still getting the same error.


    If anyone can help that'd be much appreciated.

  • Once you're in safe mode you will remain in safe mode unless you manually revert back to the previous Kodi setup. That can be done by stopping Kodi and renaming folders to restore the previous Kodi instance to the right location. That will also restore the crashing though, but in 99/100 cases the reason for repeated crashes is a bad add-on, so watching the logs and seeing which add-on causes the crash; means you can then delete the add-on folder from /storage/.kodi/addons (and the packages folder) to get things running again. The fix of the problem then depends on what the problem was, but some kind of add-on update (new version, etc.) is usually the way forwards.

  • Just removed the .kodi folder - renamed the .kodi_FAILED folder back to .kodi and rebooted and it immediately goes into safe mode without going through the boot loop at all.
    When i look into .kodi_FAILED there's no crashlogs that have been created and the .kodi log's last update was from yesterday.
    At a bit of a loss as to what to do next.

  • First please read https://wiki.libreelec.tv/configuration/safe-mode (especially https://wiki.libreelec.tv/configuration/…gging-or-fixing)

    From crashlog:

    Start with:

    Code
    rm /storage/.kodi_FAILED/userdata/Database/MyVideos121.db

    If Safe Mode remains do:

    Code
    rm /storage/.kodi_FAILED/userdata/Database/MyVideos*
  • Cool, i'll try this. I was hesitant to clear out any of the DB files just because of recovery?
    It may boot but i'm guessing my corrupted DB means i'll have to rescrape in some files ?


    Ok i tried both of the above one after each other and it still seems to be booting into safe mode.

    Are my logs highlighting anything else that could be of note? It does seem that my LE boots into safe mode incredibly quickly so not sure if it's perhaps skipping checks ?
    I deleted all of the MyVideos* from the directory listed and then deleted .kodi and renamed my .kodi_FAILED and then rebooted.

    Any help is much appreciated

    Edited once, last by sunlollyking: Merged a post created by sunlollyking into this post. (April 4, 2023 at 5:02 PM).

  • Do I have any options at all or do I have to just fully reinstall?

    I've removed the files above and restarted but it doesn't feel like libreelec is trying to get out of safe mode. Happy to provide anything else if it would help

  • Mglae - Deliberately left everything this time and rebooted 2/3 times and still safe mode


    HiassofT here's my output

    ##############################################

    # LibreELEC #

    # https://libreelec.tv #

    ##############################################

    LibreELEC (community): nightly-20230403-bb4c561 (Generic.x86_64)

    LibreELEC:~ # df -h

    Filesystem Size Used Available Use% Mounted on

    devtmpfs 7.5G 4.0K 7.5G 0% /dev

    tmpfs 3.0G 13.8M 3.0G 0% /run

    /dev/nvme0n1p1 511.7M 227.0M 284.7M 44% /flash

    /dev/loop0 197.0M 197.0M 0 100% /

    /dev/nvme0n1p2 456.9G 19.7G 437.2G 4% /storage

    tmpfs 7.6G 0 7.6G 0% /dev/shm

    tmpfs 7.6G 2.6M 7.6G 0% /var

    tmpfs 7.6G 0 7.6G 0% /tmp

    /dev/sda 14.4T 9.4T 4.3T 69% /var/media/MEDIA DRIVE 2

    /dev/sdb1 14.4T 12.0T 1.7T 87% /var/media/MEDIA DRIVE

    LibreELEC:~ #