Thanks for pointing me there, blueribb. According to the rules there I prepared kodi.log and just noticed a SQLite error saying "database disk image is malformed" - see the tail of the log fragment below. I believe this can be the cause of my troubles.
I was wondering if there is any recovery tool available to fix such a thing?
Thanks.
UPDATE
Finally, I found that it is quite easy to delete the malformed DB and have Kodi to recreate it and it works now! The culprit is apparently failing SD card, it needs to be replaced soon.
Anyway, thank you for your support!
Code
2019-04-11 16:28:42.525 T:1937498128 NOTICE: -----------------------------------------------------------------------
2019-04-11 16:28:42.526 T:1937498128 NOTICE: Starting Kodi (18.5 Git:newclock5_18.5-Leia). Platform: Linux ARM 32-bit
2019-04-11 16:28:42.526 T:1937498128 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
2019-04-11 16:28:42.526 T:1937498128 NOTICE: Kodi compiled 2019-11-23 by GCC 8.3.0 for Linux ARM 32-bit version 4.19.83 (267091)
2019-04-11 16:28:42.526 T:1937498128 NOTICE: Running on LibreELEC (official): 9.2.0, kernel: Linux ARM 32-bit version 4.19.83
2019-04-11 16:28:42.526 T:1937498128 NOTICE: FFmpeg version/source: 4.0.4-Kodi
2019-04-11 16:28:42.526 T:1937498128 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
2019-04-11 16:28:42.526 T:1937498128 NOTICE: ARM Features: Neon enabled
2019-04-11 16:28:42.526 T:1937498128 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi/
2019-04-11 16:28:42.527 T:1937498128 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
2019-04-11 16:28:42.527 T:1937498128 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
2019-04-11 16:28:42.527 T:1937498128 NOTICE: special://masterprofile/ is mapped to: /storage/.kodi/userdata
2019-04-11 16:28:42.527 T:1937498128 NOTICE: special://envhome/ is mapped to: /storage
2019-04-11 16:28:42.527 T:1937498128 NOTICE: special://home/ is mapped to: /storage/.kodi
2019-04-11 16:28:42.527 T:1937498128 NOTICE: special://temp/ is mapped to: /storage/.kodi/temp
2019-04-11 16:28:42.527 T:1937498128 NOTICE: special://logpath/ is mapped to: /storage/.kodi/temp
2019-04-11 16:28:42.527 T:1937498128 NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
2019-04-11 16:28:42.527 T:1937498128 NOTICE: Local hostname: GuestRoomMMC
2019-04-11 16:28:42.527 T:1937498128 NOTICE: Log File is located: /storage/.kodi/temp/kodi.log
2019-04-11 16:28:42.528 T:1937498128 NOTICE: -----------------------------------------------------------------------
2019-04-11 16:28:42.559 T:1937498128 INFO: loading settings
2019-04-11 16:28:42.563 T:1937498128 NOTICE: special://profile/ is mapped to: special://masterprofile/
2019-04-11 16:28:42.628 T:1937498128 DEBUG: CSkinSettings: no tag found
2019-04-11 16:28:42.630 T:1937498128 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
2019-04-11 16:28:42.630 T:1937498128 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
/usr/bin/cputemp
/usr/bin/gputemp
false
1
30
720
540
2019-04-11 16:28:42.630 T:1937498128 WARNING: CSettingsManager: missing version attribute
2019-04-11 16:28:42.634 T:1937498128 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
2019-04-11 16:28:42.634 T:1937498128 NOTICE: Default Video Player: VideoPlayer
2019-04-11 16:28:42.634 T:1937498128 NOTICE: Default Audio Player: paplayer
2019-04-11 16:28:42.634 T:1937498128 NOTICE: Disabled debug logging due to GUI setting. Level 0.
2019-04-11 16:28:42.634 T:1937498128 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
2019-04-11 16:28:42.635 T:1937498128 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
2020-04-06 21:17:59.919 T:1937498128 NOTICE: PulseAudio: Server found running - will try to use Pulse
2020-04-06 21:18:00.021 T:1937498128 NOTICE: Running database version Addons27
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: driver.dvb.crazycat v9.2.0.0 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: driver.dvb.dvb-latest v9.2.0.0 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: game.controller.default v1.0.8 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: game.controller.snes v1.0.8 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: inputstream.adaptive v2.4.3.1 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: inputstream.rtmp v2.0.9.1 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed
2020-04-06 21:18:00.437 T:1937498128 NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: kodi.resource v1.0.0 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: metadata.album.universal v3.1.2 installed
2020-04-06 21:18:00.438 T:1937498128 NOTICE: ADDON: metadata.artists.universal v4.3.2 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.common.allmusic.com v3.2.1 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.common.fanart.tv v3.6.2 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.common.themoviedb.org v3.1.10 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.local v1.0.0 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.themoviedb.org v5.1.10 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.5.0 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: os.libreelec.tv v9.2 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: os.openelec.tv v9.2 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: peripheral.joystick v1.4.8 installed
2020-04-06 21:18:00.439 T:1937498128 NOTICE: ADDON: repository.castagnait v1.0.1 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: repository.kodi.game v1.0.0 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: repository.libreelec.tv v9.2.0 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: repository.xbmc.org v3.1.6 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: resource.language.en_gb v2.0.1 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.33 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.58 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: script.module.certifi v2019.9.11 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: script.module.chardet v3.0.4 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: script.module.idna v2.8 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: script.module.pil v1.1.7 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed
2020-04-06 21:18:00.440 T:1937498128 NOTICE: ADDON: script.module.requests v2.22.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: script.module.urllib3 v1.25.6 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: script.openweathermap.maps v0.3.1 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: script.program.driverselect v0.1.6 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: service.libreelec.settings v9.0.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: skin.estuary v2.0.26 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: weather.openweathermap.extended v5.0.2 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: xbmc.addon v18.5.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: xbmc.core v0.1.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: xbmc.gui v5.14.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: xbmc.json v10.3.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: xbmc.metadata v2.1.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: xbmc.python v2.26.0 installed
2020-04-06 21:18:00.441 T:1937498128 NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2020-04-06 21:18:00.446 T:1937498128 ERROR: SQL: [Addons27.db] SQLite error SQLITE_CORRUPT (database disk image is malformed)
Query: UPDATE installed SET enabled=1 WHERE addonID='audioencoder.kodi.builtin.aac' (database disk image is malformed)
2020-04-06 21:18:00.477 T:1937498128 ERROR: SyncInstalled failed
2020-04-06 21:18:00.479 T:1937498128 ERROR: SQL: [Addons27.db] SQLite error SQLITE_CORRUPT (database disk image is malformed)
Query: SELECT addonID FROM installed WHERE enabled=0
2020-04-06 21:18:00.479 T:1937498128 ERROR: GetDisabled failed
2020-04-06 21:18:00.506 T:1937498128 ERROR: SQL: [Addons27.db] SQLite error SQLITE_CORRUPT (database disk image is malformed)
Query: SELECT * FROM installed
Display More