Posts by praaattee

    Hi,

    I've struggling to reliably disable LIRC. There is no config option in libreelect settings, and when I remove ~/.config/lircd.conf it comes back after a second reboot. I've also tried doing systemctl disable --now lircd.service lircd-uinput.service lircd.socket but it also comes back after a reboot.


    What is the right way of disabling LIRC here?

    Thanks

    Post a full log - it could also be some compatibility issue with your USB SSD adapter, power supply issues or anything else

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link

    Unfortunately, I am unable to get full debug logs because Kodi does not start.

    It's not clear what kind of hardware you're using, but I would deliberately unplug the SSD and boot from an LE image on SD/USB media to rule out RAM or boot media issues. Also, boot logs (dmesg) would be informative.

    So I'm running this on a Raspberry Pi 4 4GB.

    And well, while trying to get the dmesg this time, I got a message on the screen saying "filesystem corruption detected" and I should shut down for an automated fix. Not sure why this wouldn't have come up the countless other times that I've restarted it. Anyway, I shut it down, started it back up, and it's working again. Didn't change anything.

    Is there anything I should consider now that I'm back up and running. I've already made a backup of /storage. If anyone has any thoughts on preventative things to do here, that would be great.

    So I did a scan using badblocks, and did a SMART scan, which returned nothing:

    Code
    $ sudo badblocks -v /dev/sda
    Checking blocks 0 to 234438655
    Checking for bad blocks (read-only test):
    done
    Pass completed, 0 bad blocks found. (0/0/0 errors)
    Code
    $ sudo smartctl -H /dev/sda
    smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.19.0-76051900-generic] (local build)
    Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-he alth self-assessment test result: PASSED

    Side note: apparently "he alth" is a censored word, so had to add a space to it in the last line of smartctl.

    Thanks for your response. The SSD is relatively new. Like less than 6 months. In addition, that's the only file that has failed, so was kind of hoping for a way to simply replace that file, and it would work. I dunno. I've already backed up /storage. If there is no way of salvaging, I'll try to re-install it and if it happens again I'll have to replace the SSD.

    Is it all possible to force an update to replace that file? Or perhaps I can mount the disk rw, replace it, and then try?

    My libreelec has suddenly broken down. Kodi won't start up. It seems the system is mostly working correctly except for Kodi. Looking at its journal it gives:

    Code
    Nov 30 14:36:30 LibreELEC systemd[1]: Stopped Kodi Media Center.
    Nov 30 14:36:30 LibreELEC systemd[1]: Starting Kodi Media Center...
    Nov 30 14:36:30 LibreELEC systemd[1]: Started Kodi Media Center.
    Nov 30 14:36:30 LibreELEC kodi.sh[8232]: /usr/lib/kodi/kodi.bin: error while loading shared libraries: /usr/lib/libsqlite3.so.0: cannot read file data: Input/output error

    I had a look at all the files and it seems that file is the only one causing I/O errors:

    Code
    # head -n1 /usr/lib/libsqlite3.so.0.8.6
    head: /usr/lib/libsqlite3.so.0.8.6: Input/output error

    Any ideas how I might be able to fix this? I tried updating libreelec, but that didn't work.