ERROR: Update failed please check logs

Am intermittently (once every 1-2 days) getting a popup dialog box saying “Update failed please check logs” either when Kodi/OSMC is idle or when playing a video. Ignored it the first few times, but this time managed to capture this in the kodi.log,

2021-11-17 19:55:44.706 T:14267 INFO : AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 11065 channels.
2021-11-17 19:55:47.763 T:14267 INFO : AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - Loaded ‘2209’ EPG channels.
2021-11-17 19:55:49.548 T:14267 INFO : AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEpgEntries - Loaded ‘0’ EPG entries.
2021-11-17 19:55:57.067 T:14267 INFO : AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadEPG - EPG Loaded - 12125 (ms)
2021-11-17 20:00:35.291 T:14244 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
Error Type: <class ‘OSError’>
Error Contents: [Errno 12] Cannot allocate memory
Traceback (most recent call last):
File “/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/”, line 22, in
File “/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/osmcupdates/”, line 237, in init
File “/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/osmcupdates/”, line 272, in _daemon
File “/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/osmcupdates/”, line 819, in update_now
if self.check_for_unsupported_version() == ‘alpha’:
File “/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/osmcupdates/”, line 1294, in check_for_unsupported_version
stderr=fnull, stdout=fnull)
File “/usr/lib/python3.7/”, line 323, in call
with Popen(*popenargs, **kwargs) as p:
File “/usr/lib/python3.7/”, line 775, in init
restore_signals, start_new_session)
File “/usr/lib/python3.7/”, line 1453, in _execute_child
restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory
–>End of Python script error report<–

2021-11-17 20:00:35.291 T:14244 INFO : CPythonInvoker(6, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/ waiting on thread 3458969792
2021-11-17 20:08:12.736 T:14249 INFO : ES: Client from ::ffff: timed out

Pretty obvious it caused by the osmc update scripts at "2021-11-17 20:00:35.291 T:14244 ". Any ideas on what’s wrong ?

Please post full logs.

It looks like your system doesn’t have enough memory to update.

sorry, @sam_nazarko. Was just about to paste the full logs into the posting above. They’re at hastebin - mesuzubomo (

These are also not full logs…

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device twice(!)

  • reproduce the issue

  • upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot:

i’ll try turning on DEBUG and wait for this to happen again. as mentioned, it happens about 2 days once.

Please post full system logs – not just Kodi logs.

Sounds like a memory leak, possibly caused by an add-on.