LE 9.95.1 - Backup Reboot LibreElec on RP4

  • Unfortunately there is no useful information in the old log.

    Ssh into your device and do

    Code
    echo DEBUG=1 >>/storage/.config/kodi.conf

    Enable debugging in Settings>System Settings>Logging of kodi GUI, reboot, reproduce the crash and upload the crash log again.

  • Hi mglae

    I executed the SSH command.

    under Settings>System>Logging i don't have an option of "Kodi GUI" so I enabled the "Enable debug logging" (i hope that this is what the meant) then I rebooted and reproduced the crash
    and uploaded the crash report to http://ix.io/3yAv

    Thanks for all your help

  • Code
    Feb 02 17:30:58.586444 LibreELEC-PI4 kodi.sh[988]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20210202173055.log

    Surprisingly crash log is generated but not included in the paste.

    Please do

    Code
    paste /storage/.kodi/temp/kodi_crashlog_20210202173055.log

    and post the URL.

  • Last directory acceessed is logged with /storage/.kodi/userdata/peripheral_data. Please post the output of:

    Code
    ls -la /storage/.kodi/userdata/peripheral_data

    And while you are on it for the log naming issue:

    Code
    ls -la /storage/.kodi/temp
  • here we go:

    Code
     ls -la /storage/.kodi/userdata/peripheral_data
    total 8
    drwxr-xr-x    2 root     root          1024 Apr  1 00:44 .
    drwxr-xr-x   10 root     root          1024 Mar 29 14:31 ..
    -rw-r--r--    1 root     root            13 Sep 12 21:01 application_Keyboard.xml
    -rw-r--r--    1 root     root            13 Sep 12 21:01 application_Mouse.xml
    -rw-r--r--    1 root     root            13 Sep  9 22:05 application_מקלדת.xml
    -rw-r--r--    1 root     root            13 Sep  9 22:05 application_עכבר.xml
    -rw-r--r--    1 root     root          1259 Sep 12 21:01 cec_CEC_Adapter.xml

    *I can see 2 files with Hebrew names one related to the keyboard an the second to the mouse

  • Good news :)

    I located the Zip file service.libreelec.settings-10.0-20210914.zip in the /storage/.kodi/addons/ folder
    run the commands

    Code
    systemctl stop kodi
    rm -rf /storage/.kodi/addons/service.libreelec.settings
    unzip -q service.libreelec.settings-10.0-20210914.zip -d /storage/.kodi/addons/
    systemctl start kodi

    rebooted the RPI4

    and run a backup (Settings > LibreELEC> System > Backup)

    and it completed with no crash
    i didn't tested the backup (restore from backup) yet
    do i need to do anything else before I'll test the restore?

  • Restore worked like charm :)

    Thank you very match !!!

    Should i keep this version of service.libreelec.settings ?

    What will happen in the next version update of LibreELEC ?

  • Should i keep this version of service.libreelec.settings ?

    Yes, if further backups are desired ;)

    What will happen in the next version update of LibreELEC ?

    This version is continued to be executed a long the addon version of the update is still 10.0. Keep in mind to delete the installed addon.

    If mglae can do a PR and it ticks all the correct boxes, then it could be in the next release.

    It's almost done.